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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 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

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

circa 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]

circa 11 anni fa

Risolto


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

circa 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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

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

circa 11 anni fa

Risolto


Find out Harmonic mean.
Find out Harmonic mean.

circa 11 anni fa

Risolto


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

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

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

circa 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 ]

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

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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

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

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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


factorial of a number x
Factorial of a number x

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 11 anni fa

Risolto


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

circa 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

circa 11 anni fa

Carica altro