Community Profile

photo

Jay Shah


Last seen: presque 4 ans il y a Actif depuis 2016

Statistiques

  • Commenter
  • Promoter
  • Solver

Afficher les badges

Content Feed

Afficher par

A résolu


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

plus de 7 ans il y a

A résolu


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]

plus de 7 ans il y a

A résolu


Find the average
Find the average of the input vector

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


Half of the input
The output should be half the input

plus de 7 ans il y a

A résolu


Double the input
The output should be double the input

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


Area of a circle
Find the area of a circle

plus de 7 ans il y a

A résolu


Sum of vector
Output should be sum of input vector

plus de 7 ans il y a

A résolu


Make it zero
Output should be 0

plus de 7 ans il y a

A résolu


Subtract 1
Output should be input minus 1

plus de 7 ans il y a

A résolu


Add 1
Output should be the input plus 1

plus de 7 ans il y a

A résolu


Multiply number
Output should be double the input

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


add two numbers
the output should be the sum of 2 inputs

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


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

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

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

plus de 7 ans il y a

A résolu


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

plus de 7 ans il y a

A résolu


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

plus de 7 ans il y a

A résolu


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

plus de 7 ans 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-scor...

plus de 7 ans il y a

Charger plus