Community Profile

Juan Moreta

Charles Stark Draper Laboratory

151 2015 年以降の合計貢献数

Juan Moreta's バッジ

Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

Potential Energy
Calculate the potential energy of a rock.

How fast will the rock go?
Calculate the kinetic energy of a free falling rock.

How fast will the rock go?
Calculate the kinetic energy of a free falling rock.

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

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

Times 32
X is given as your variable. Y is your output multiplied by 32 Example x=1 y=1x32=32

Find the square root of a value
Given the variable x as your input, find the square root and let the result be represented by y Examples: Input x = 4 O...

find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

Sum Even Numbers
Given a number x, make the summation of all the even until x. For instance, x = 7, so y = 2+4+6 = 12 * x = [3] * y = 2 * ...

times 5
Given the variable x as your input, multiply it by five and put the result in y.

Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

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

Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

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

Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

Sum all integers from 1 to 5^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=6

Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

How to make y half of x
Making y equal to x/2.

square root
Find the square root (y) of an input (x).

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

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

Multiplying Vectors 101
Make a vector from 1 to x then multiply the sum of that vector by 2.

Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

Perfect Square
Find a function that finds the root of a perfect number!

Celsius to Kelvin
Degrees Celsius = Kelvin - 273.15

Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

6年以上 前

Load more