Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

nästan 6 år ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

nästan 6 år ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

nästan 6 år ago

Solved


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

nästan 6 år ago

Solved


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

nästan 6 år ago

Solved


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

nästan 6 år ago

Solved


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

nästan 6 år ago

Solved


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

nästan 6 år ago

Solved


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

nästan 6 år ago

Solved


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

nästan 6 år ago

Solved


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

nästan 6 år ago

Solved


Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

nästan 6 år ago

Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


y equals x divided by 2
function y = x/2

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

nästan 6 år ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

nästan 6 år ago

Solved


only input
Return the output without writing any code into the function.

nästan 6 år ago

Solved


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

nästan 6 år ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

nästan 6 år ago

Load more