Community Profile

# Jay Shah

41 total contributions since 2016

View details...

Contributions in
View by

Solved

Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

environ 3 ans ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

environ 3 ans ago

Solved

Find the average
Find the average of the input vector

environ 3 ans ago

Solved

Find the volume of a cylinder
Find the volume of a cylinder. Input 'x' is is both base and height value.

environ 3 ans ago

Solved

Find the perimeter of a square
Find the perimeter of a square. Input 'x' is one side.

environ 3 ans ago

Solved

Area of a square
Find the area of a square. Input 'x' is one side of the square.

environ 3 ans ago

Solved

Fahrenheit to Celcius
Convert input of farenheit to Celcius

environ 3 ans ago

Solved

Circumference of a circle
Find the circumference of the circle. (Hint:radius=x)

environ 3 ans ago

Solved

Create a vector
Create a vector from 1 to input 'x'

environ 3 ans ago

Solved

Half of the input
The output should be half the input

environ 3 ans ago

Solved

Double the input
The output should be double the input

environ 3 ans ago

Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

environ 3 ans ago

Solved

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

environ 3 ans ago

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

environ 3 ans ago

Solved

Circumference
Find the circumference of a circle (x=diameter)

environ 3 ans ago

Solved

Area of a circle
Find the area of a circle

environ 3 ans ago

Solved

Do you hate the Fibonacci sequence?
If you hate the Fib Sequence as much as me then this is the problem for you. Just get rid of it. MAKE IT ZERO.

environ 3 ans ago

Solved

Sum of vector
Output should be sum of input vector

environ 3 ans ago

Solved

Make it zero
Output should be 0

environ 3 ans ago

Solved

Subtract 1
Output should be input minus 1

environ 3 ans ago

Solved

Output should be the input plus 1

environ 3 ans ago

Solved

Multiply number
Output should be double the input

environ 3 ans ago

Solved

Divide number by 2
The output should be the half of the input

environ 3 ans ago

Solved

the output should be the sum of 2 inputs

environ 3 ans ago

Solved

subtract 2 numbers
the output should be the difference of 2 inputs

environ 3 ans ago

Solved

multiply 2 numbers
the output should be the product of 2 inputs

environ 3 ans ago

Solved

divide 2 numbers
The output should be the quotient of the two inputs.

environ 3 ans ago

Solved

sum of everything
find the sum of all the counting numbers up to a given number n.

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

environ 3 ans ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

environ 3 ans ago