解決済み


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

4年弱 前

解決済み


Times 3 problem
When you enter the number, it should return the number multiplied by 3

4年弱 前

解決済み


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

4年弱 前

解決済み


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

4年弱 前

解決済み


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

4年弱 前

解決済み


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

4年弱 前

解決済み


Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

4年弱 前

解決済み


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

4年弱 前

解決済み


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

4年弱 前

解決済み


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

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年弱 前

解決済み


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

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年弱 前

解決済み


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

4年弱 前

解決済み


radius of a spherical planet
You just measured its surface area, that is the input.

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


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

4年弱 前

解決済み


Calculate the volume of the cube.
Example n = 3; a = volume(n); a = 27

4年弱 前

解決済み


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

4年弱 前

解決済み


Calculate volume of box
Calculate the volume of box,hiven its sides

4年弱 前

解決済み


Box!
Given a box, find the volume of the cube. With each side = a.

4年弱 前

解決済み


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

4年弱 前

解決済み


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

4年弱 前

解決済み


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

4年弱 前

解決済み


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

4年弱 前

解決済み


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

4年弱 前

解決済み


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

4年弱 前

解決済み


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

4年弱 前

解決済み


How many solutions has this problem?
Guess, predict or calculate :-) (You will be scored by the accuracy). Update: <http://www.mathworks.co.uk/matlabcent...

4年弱 前

さらに読み込む