Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Energy Conversion 2

circa un anno fa

Risolto


Energy Conversion 1

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Area Conversion 2

circa un anno fa

Risolto


Area Conversion 1

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Mass Conversion 2

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Mass Conversion 1

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Temperature Conversion 2

circa un anno fa

Risolto


Temperature Conversion 1

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa