A résolu


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

7 mois il y a

A résolu


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

7 mois il y a

A résolu


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

7 mois il y a

A résolu


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

7 mois il y a

A résolu


easy problem
Find the last element of the array

7 mois il y a

A résolu


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

7 mois il y a

A résolu


Basic Mathematics 6
A High School is trying to build their robot to be able to reach the hanging object which is H inches from the ground. Their ro...

7 mois il y a

A résolu


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

7 mois il y a

A résolu


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

7 mois il y a

A résolu


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

7 mois il y a

A résolu


Laws of motion 6

7 mois il y a

A résolu


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

7 mois il y a

A résolu


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

7 mois il y a

A résolu


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

8 mois il y a

A résolu


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

8 mois il y a

A résolu


Basic Mathematics 4
Team #1 is in first place but only one point higher than Team #2. The sum of their two scores is N. What are each team’s scores...

8 mois il y a

A résolu


Laws of motion 2

8 mois il y a

A résolu


Laws of motion 1

8 mois il y a

A résolu


Kinetic energy calculation

8 mois il y a

A résolu


Potential energy calculation

8 mois il y a

A résolu


Total energy

8 mois il y a

A résolu


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

8 mois il y a