Solved


Palindrome String
Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

2 years ago

Solved


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

2 years ago

Solved


Box!
Given a box, find the volume of the cube. With each side = a.

2 years ago

Solved


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

2 years ago

Solved


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

2 years ago

Solved


Perimeter of a Triangle

2 years ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

2 years ago

Solved


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

2 years ago

Solved


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

2 years ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

2 years ago

Solved


F.R.I.E.N.D.S

2 years ago

Solved


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

2 years ago

Solved


Travel time
Calculate the time (in hours) it takes a car traveling at a given uniform speed of s km/hour to travel a distance of d km. For i...

2 years ago

Solved


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

2 years ago

Solved


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

2 years ago

Solved


A times B
A times B

2 years ago

Solved


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

2 years ago

Solved


Lista Ordenada
Dado um vetor V, verifique se o vetor está ordenado, retorne true ou false. Ordenado([1 2 3 4]) = true;

2 years ago

Solved


raise 1/3
Raise a number to 1/3 power.

2 years ago

Solved


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

2 years ago

Solved


Basic Quadratic Equation
Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

2 years ago

Solved


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

2 years ago

Solved


square root
Find square root of given number

2 years ago

Solved


Area of rhombus
Calculate the rhombus area

2 years ago

Solved


Calculate the base-10 logarithm of a number
Calculate the logarithm of number x

2 years ago

Solved


Calculate BMI
Given weight in kgs and height in metres, calculate body mass index

2 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

2 years ago

Solved


Divide pi
Divide pi by x!

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

2 years ago

Load more