Risolto


calculate the length of matrix
input 1 array, calculate the length

oltre 2 anni fa

Risolto


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

oltre 2 anni fa

Risolto


Mass Conversion 1

oltre 2 anni fa

Risolto


Mass Conversion 2

oltre 2 anni fa

Risolto


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

oltre 2 anni fa

Risolto


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]

oltre 2 anni fa

Risolto


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

oltre 2 anni fa

Risolto


Square a Number
Given an input x, return y, which is equal to the square of x.

oltre 2 anni fa

Risolto


Draw a '1' in a zero matrix!

oltre 2 anni fa

Risolto


Draw a '7' in a zero matrix!

oltre 2 anni fa

Risolto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

oltre 2 anni fa

Risolto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

oltre 2 anni fa

Risolto


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

oltre 2 anni fa

Risolto


Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Input is each coefficient of polynomial. For example, a=[4 ...

oltre 2 anni fa

Risolto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

oltre 2 anni fa

Risolto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

oltre 2 anni fa

Risolto


Temperature Conversion 2

oltre 2 anni fa

Risolto


Temperature Conversion 1

oltre 2 anni fa

Risolto


Total energy

oltre 2 anni fa

Risolto


Potential energy calculation

oltre 2 anni fa

Risolto


Kinetic energy calculation

oltre 2 anni fa

Risolto


Laws of motion 1

oltre 2 anni fa

Risolto


Laws of motion 2

oltre 2 anni fa

Risolto


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

oltre 2 anni fa

Risolto


Laws of motion 5

oltre 2 anni fa

Risolto


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

oltre 2 anni fa

Risolto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

oltre 2 anni fa

Risolto


square root
Find the square root (y) of an input (x).

oltre 2 anni fa

Risolto


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

oltre 2 anni fa

Risolto


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

oltre 2 anni fa

Carica altro