Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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.

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


factorial of a number x
Factorial of a number x

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Diagonal Prod

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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]

mehr als 3 Jahre vor

Gelöst


Find Logic 5

mehr als 3 Jahre vor

Gelöst


Find Logic 2

mehr als 3 Jahre vor

Gelöst


Find Logic 24

mehr als 3 Jahre vor

Mehr laden