Solved


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

3 years ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

3 years ago

Solved


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

3 years ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

3 years ago

Solved


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

3 years ago

Solved


square root
Find the square root (y) of an input (x).

3 years ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

3 years ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

3 years ago

Solved


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

3 years ago

Solved


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

3 years ago

Solved


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

3 years ago

Solved


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

3 years ago

Solved


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

3 years ago

Solved


Spherical Volume
Calculate the volume of a sphere.

3 years ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

3 years ago

Solved


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

3 years ago

Solved


cube of number
find cube of number

3 years ago

Solved


square root
Find square root of given number

3 years ago

Solved


square of a number
find square of a given number

3 years ago

Solved


Squares inside a square!

3 years ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

3 years ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

3 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

3 years ago

Solved


Flow rate in a pipe

3 years ago

Solved


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

3 years ago

Solved


Laws of motion 6

3 years ago

Solved


Laws of motion 5

3 years ago

Solved


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

3 years ago

Solved


Laws of motion 3

3 years ago

Load more