Resuelto


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

casi 3 años hace

Resuelto


means
Calculate the arithmetic, the geometric and the harmonic mean of a given vector (with positive elements) and return them in a ve...

casi 3 años hace

Resuelto


The rabbit problem
Suppose a newly-born pair of rabbits, one male, one female, are put in a field. Rabbits are able to mate at the age of one month...

casi 3 años hace

Resuelto


Sequence problem
find the nth term of the sequence: 790 1303 2033 ____ 4366 6095

casi 3 años hace

Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

casi 3 años hace

Resuelto


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

casi 3 años hace

Resuelto


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.

casi 3 años hace

Resuelto


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

casi 3 años hace

Resuelto


Square root of a number
Write a code that will output the square root of x.

casi 3 años hace

Resuelto


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

casi 3 años hace

Resuelto


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

alrededor de 3 años hace

Resuelto


Determine if a Given Number is a Triangle Number
*Description:* Determine if the elements of an input array are triangle numbers and return the result as an array with the sa...

alrededor de 3 años hace

Resuelto


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

alrededor de 3 años hace

Resuelto


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

alrededor de 3 años hace

Resuelto


factorial of a number x
Factorial of a number x

alrededor de 3 años hace

Resuelto


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

alrededor de 3 años hace

Resuelto


Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...

alrededor de 3 años hace

Resuelto


Matlab Basics - Logical Tests I
Write a script to test whether a year number is for a leap year or not. eg. x = 1884 output = 1 eg. x = 3 output = 0

alrededor de 3 años hace

Resuelto


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

alrededor de 3 años hace

Resuelto


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

alrededor de 3 años hace

Resuelto


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

alrededor de 3 años hace

Resuelto


Diagonal Prod

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


Efficiency of a single phase Transformer
Calculate the efficiency of a single phase transformer whose KVA rating is A KVA, loading factor x,power factor p,full load copp...

alrededor de 3 años hace

Resuelto


Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

alrededor de 3 años hace

Resuelto


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

alrededor de 3 años hace

Resuelto


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

alrededor de 3 años hace

Resuelto


Find Logic 5

alrededor de 3 años hace

Resuelto


Find Logic 2

alrededor de 3 años hace

Resuelto


Find Logic 24

alrededor de 3 años hace

Cargar más