Risolto


Laws of motion 2

circa un anno fa

Risolto


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

circa un anno fa

Risolto


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

circa un anno fa

Risolto


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

circa un anno fa

Risolto


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

circa un anno fa

Risolto


Square a Number
Given an input x, return y, which is equal to the square of x.

circa un anno fa

Risolto


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

circa un anno fa

Risolto


Product of Array
Given an array of numbers. Get the product of the array.

circa un anno fa

Risolto


Values in Array
How many values are in the array

circa un anno fa

Risolto


Negative Infinity
Round the given array a towards negative infinity.

circa un anno fa

Risolto


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

circa un anno fa

Risolto


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

circa un anno fa

Risolto


Is my wife right?
Regardless of input, output the string 'yes'.

circa un anno fa

Risolto


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

circa un anno fa

Risolto


Multiplication
Given 2 numbers a and b mulitply them

circa un anno fa

Risolto


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

circa un anno fa

Risolto


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

circa un anno fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

circa un anno fa

Risolto


Remainder
Given two number a and b find the remainder when you divide a by b

circa un anno fa

Risolto


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

circa un anno fa

Risolto


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

circa un anno fa

Risolto


Mode
Find the mode of a vector x

circa un anno fa

Risolto


Add two numbers
Given two numbers a and b add them together

circa un anno fa

Risolto


Division
Given two numbers a and b divide them a/b

circa un anno fa

Risolto


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

oltre un anno fa

Risolto


Max of a Vector
Write a function to return the max of a vector

oltre un anno fa

Risolto


Given length x find the area y of the square
Given length x find the area y of the square

oltre un anno fa

Risolto


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

oltre un anno fa

Risolto


Temperature Conversion 2

oltre un anno fa

Risolto


Temperature Conversion 1

oltre un anno fa

Carica altro