Risolto


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

circa un anno fa

Risolto


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

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

Risolto


Find the max element of the array
Find the max element of the array

circa un anno fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

circa un anno fa

Risolto


to the 2 all elements
to the 2 all elements

circa un anno fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

circa un anno fa

Risolto


calculate the length of matrix
input 1 array, calculate the length

circa un anno fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

circa un anno fa

Risolto


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

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


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


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


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

circa un anno fa

Risolto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

circa un anno fa

Risolto


Create a vector
Create a vector from 0 to n by intervals of 2.

circa un anno fa

Risolto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

circa un anno fa

Risolto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

circa un anno fa

Risolto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

circa un anno fa

Risolto


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

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


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

circa un anno fa

Risolto


Potential energy calculation

circa un anno fa

Risolto


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

circa un anno fa

Carica altro