Solved


Maximum of ND-array
Find the maximum element of a N dimensional array. Example: A=[1 2 4 ; -20 4 10]; The maximum is 10.

1 year ago

Solved


Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

1 year ago

Solved


04 - Scalar Equations 1
Define the variable a: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x: <<http://samle.dk/STTBD...

1 year ago

Solved


Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.

1 year ago

Solved


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

1 year ago

Solved


Calculate solution of given polynomial
For example, y=function([3 -2 -4]) In here, input vector indicate 3*x^2-2*x-4, y is solution of former equation. y=[1.5...

1 year ago

Solved


imaginary

1 year ago

Solved


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

1 year ago

Solved


Find The area of the square
Given that the length of the side of a square is x, find the area.

1 year ago

Solved


Fizz
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario. Fizz(3) = 'fizz'; ...

1 year ago

Solved


imaginary results
Return the value of the imaginary number i to the power of input argument n.

1 year ago

Solved


modulus of a number
find the modulus of a given number

1 year ago

Solved


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

1 year ago

Solved


Convert from integer to binary
if true % decimalToBinaryVector(x) end

1 year ago

Solved


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

1 year ago

Solved


Output a vector which is table of 9
Output a vector which is table of 9

1 year ago

Solved


cube of number
find cube of number

1 year ago

Solved


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

1 year ago

Solved


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

1 year ago

Solved


Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...

1 year ago

Solved


sign function

1 year ago

Solved


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

1 year ago

Solved


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

1 year ago

Solved


Magnitude of a vector
Given a vector x, what is its magnitude?

1 year ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

1 year ago

Solved


Compound Interest : Future Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

1 year ago

Solved


Real

1 year ago

Load more