Solved


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

9 years ago

Solved


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

9 years ago

Solved


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

9 years ago

Solved


Array of Ones
Create a 100 X 100 array of ones.

9 years ago

Solved


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

9 years ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

9 years ago

Solved


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

9 years ago

Solved


Find all of the odd integers in a vector between the intergers 1 and 10.
Given vector of integers 1:10 [1 2 3 4 5 6 7 8 9 10]

9 years ago

Solved


Perfect Square
Find a function that finds the root of a perfect number!

9 years ago

Solved


Sum all integers from 1 to 5^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=6

9 years ago

Solved


Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

9 years ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

9 years ago

Solved


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

9 years ago

Solved


Find out Harmonic mean.
Find out Harmonic mean.

9 years ago

Solved


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

9 years ago

Solved


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

9 years ago

Solved


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

9 years ago

Solved


Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

9 years ago

Solved


Increase monotonically
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

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

9 years ago

Solved


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

9 years ago

Solved


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

9 years ago

Solved


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

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

9 years ago

Solved


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

9 years ago

Solved


factorial of a number x
Factorial of a number x

9 years ago

Solved


Determine if a row vector has NaN
Determine if a row vector x has NaN

9 years ago

Solved


Calculate square and cube of number
Calculate square and cube of number x

9 years ago

Solved


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

9 years ago

Solved


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

9 years ago

Load more