解決済み


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the second...

11ヶ月 前

解決済み


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

11ヶ月 前

解決済み


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

11ヶ月 前

解決済み


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

12ヶ月 前

解決済み


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

12ヶ月 前

解決済み


Energy Conversion 2

12ヶ月 前

解決済み


Energy Conversion 1

12ヶ月 前

解決済み


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

12ヶ月 前

解決済み


Area Conversion 2

12ヶ月 前

解決済み


Area Conversion 1

12ヶ月 前

解決済み


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

12ヶ月 前

解決済み


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

12ヶ月 前

解決済み


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

12ヶ月 前

解決済み


Mass Conversion 2

12ヶ月 前

解決済み


Return area of square
Side of square=input=a Area=output=b

12ヶ月 前

解決済み


Mass Conversion 1

12ヶ月 前

解決済み


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

約1年 前

解決済み


Temperature Conversion 2

約1年 前

解決済み


Temperature Conversion 1

約1年 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

約1年 前

解決済み


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

約1年 前

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

約1年 前