A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Calculate the volume of the football

environ 2 ans il y a

A résolu


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

environ 2 ans 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.

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Perimeter of a Triangle

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


A times B
A times B

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


square root
Find square root of given number

environ 2 ans il y a

A résolu


Area of rhombus
Calculate the rhombus area

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Divide pi
Divide pi by x!

environ 2 ans il y a

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

environ 2 ans il y a

Charger plus