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

quasi 4 anni fa

Risolto


Laws of motion 6

quasi 4 anni fa

Risolto


Laws of motion 5

quasi 4 anni fa

Risolto


Laws of motion 1

quasi 4 anni fa

Risolto


Laws of motion 2

quasi 4 anni fa

Risolto


Energy Conversion 1

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Radians to Degrees
Convert radians to degrees.

quasi 4 anni fa

Risolto


Degrees to Radian
Convert degrees to radians

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Potential energy calculation

quasi 4 anni fa

Risolto


Kinetic energy calculation

quasi 4 anni fa

Risolto


Total energy

quasi 4 anni fa

Risolto


Round to nearest integer

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Generate pi using logarithm
Generate pi using logarithm

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Carica altro