A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

plus d'un an il y a

A résolu


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

plus d'un an il y a

A résolu


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

plus d'un an il y a

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

plus d'un an il y a

A résolu


Find the Pattern 3

plus d'un an il y a

A résolu


Find the Pattern 2

plus d'un an il y a

A résolu


Find the Pattern 1

plus d'un an 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...

plus d'un an il y a

A résolu


Area Conversion 1

plus d'un an il y a

A résolu


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

plus d'un an il y a

A résolu


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

plus d'un an il y a

A résolu


Linear Motion 7
A robot has a maximum rate of acceleration of a m/s2. If the robot starts from rest and reaches a velocity of v2 m/s. How far ha...

plus d'un an il y a

A résolu


Linear Motion 6
An experimental vehicle traveling at v1 m/s is brought to a full stop in t seconds. How far does it travel before stopping? Roun...

plus d'un an il y a

A résolu


Linear Motion 5
A robot moving down an incline for 3 seconds undergoes a uniform acceleration of a ft/s2. If the robot has an initial velocity o...

plus d'un an il y a

A résolu


Linear Motion 4
A robot accelerates at a rate of A ft/s2. Assuming the robot starts from rest how much time is required to reach an object loca...

plus d'un an il y a

A résolu


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

plus d'un an il y a

A résolu


Linear Motion 2
During testing in the desert, a remotely operated vehicle travels D kilometers over rough terrain. The testing takes place over...

plus d'un an il y a

A résolu


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

plus d'un an 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...

plus d'un an il y a

A résolu


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

plus d'un an il y a

Charger plus