A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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]

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


Find out Harmonic mean.
Find out Harmonic mean.

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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 ]

presque 11 ans il y a

A résolu


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

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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


factorial of a number x
Factorial of a number x

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

Charger plus