Solved


Volume of Cylinder
Find the volume of a cylinder

3 years ago

Solved


Mile to Kilometer
x is mile and y is km

3 years ago

Solved


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

3 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

3 years ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

3 years ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

3 years ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


Spherical Volume
Calculate the volume of a sphere.

3 years ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

3 years ago

Solved


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

3 years ago

Solved


Coefficient of Kinetic friction
A robot exerts a F1 lb. force horizontally on a W lb. crate across a concrete floor at a constant speed. What is the coefficien...

3 years ago

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

3 years ago

Solved


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

3 years ago

Solved


Find Logic 4

3 years ago

Solved


Find Logic 8

3 years ago

Solved


Find Logic 10

3 years ago

Solved


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...

3 years ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

3 years ago

Solved


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

3 years ago

Solved


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

3 years ago

Solved


Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

3 years ago

Solved


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

3 years ago

Solved


Array of Ones
Create a 100 X 100 array of ones.

3 years ago

Solved


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

3 years ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

3 years ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

3 years ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

3 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3 years ago

Load more