Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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]

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


Find out Harmonic mean.
Find out Harmonic mean.

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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 ]

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


factorial of a number x
Factorial of a number x

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Risolto


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

quasi 11 anni fa

Carica altro