解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

さらに読み込む