Solved


Determine the perimeter of a three-quarter circle
If a circle has a diameter of x as an input value, then show the value of the perimeter of the three-quarter circle in output va...

bijna 4 jaar ago

Solved


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

bijna 4 jaar ago

Solved


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

bijna 4 jaar ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

bijna 4 jaar ago

Solved


Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

bijna 4 jaar ago

Solved


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

bijna 4 jaar ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

bijna 4 jaar ago

Solved


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

bijna 4 jaar ago

Solved


kmph to mph converter
Convert the speed in miles/hour to km/hour.

bijna 4 jaar ago

Solved


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

bijna 4 jaar ago

Solved


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

bijna 4 jaar ago

Solved


surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 ca...

bijna 4 jaar ago

Solved


Concatenate two strings
Its very easy. Just concatenate two strings.

bijna 4 jaar ago

Solved


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

bijna 4 jaar ago

Solved


Perimeter of a square!
Calculate the circumference of the square whose side is n

bijna 4 jaar ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

bijna 4 jaar ago

Solved


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

bijna 4 jaar ago

Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

bijna 4 jaar ago

Solved


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

bijna 4 jaar ago

Solved


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

bijna 4 jaar ago

Solved


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

bijna 4 jaar ago

Solved


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

bijna 4 jaar ago

Solved


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

bijna 4 jaar ago

Solved


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

bijna 4 jaar ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

bijna 4 jaar 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...

bijna 4 jaar ago

Solved


Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

bijna 4 jaar ago

Solved


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

bijna 4 jaar ago

Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

bijna 4 jaar ago

Solved


Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

bijna 4 jaar ago

Load more