Solved


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

4 years ago

Solved


Laws of motion 6

4 years ago

Solved


Laws of motion 5

4 years ago

Solved


Laws of motion 1

4 years ago

Solved


Laws of motion 2

4 years ago

Solved


Energy Conversion 1

4 years ago

Solved


length of a vector
Find twice the length of a given vector.

4 years ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

4 years ago

Solved


Log of a number
Write a script that will give the log of x as output.

4 years ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

4 years ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

4 years ago

Solved


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

4 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

4 years ago

Solved


Radians to Degrees
Convert radians to degrees.

4 years ago

Solved


Degrees to Radian
Convert degrees to radians

4 years ago

Solved


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

4 years ago

Solved


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

4 years ago

Solved


Potential energy calculation

4 years ago

Solved


Kinetic energy calculation

4 years ago

Solved


Total energy

4 years ago

Solved


Round to nearest integer

4 years ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

4 years ago

Solved


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

4 years ago

Solved


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

4 years ago

Solved


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

4 years ago

Solved


Max of a Vector
Write a function to return the max of a vector

4 years ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

4 years ago

Solved


Generate pi using logarithm
Generate pi using logarithm

4 years ago

Solved


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

4 years ago

Load more