Resuelto


generate a matrix of Legendre polynomials
input = x - the degree of the polynomial output = matrix of Legendre polynomials

10 meses hace

Resuelto


Mesh the square with triangles
Problem statement An square is a regular polygon with 4 vertices and 4 edges. A triangulated mesh T (stands for triangles he...

12 meses hace

Resuelto


Mesh the pentagon (with the minimum number of triangles)
Problem statement An pentagon is a regular polygon with 5 vertices and 5 edges. Here below is an example of the vertex set V,...

12 meses hace

Resuelto


Mesh the tetrahedron
Problem statement An tetrahedron is a regular polyhedron with 4 vertices and 4 triangular faces. It is also one of the five w...

12 meses hace

Resuelto


Mesh the octahedron
Problem statement An octahedron is a regular polyhedron with 6 vertices and 8 triangular faces. It is also one of the five we...

12 meses hace

Resuelto


Mesh the cube
Problem statement : mesh the cube with quadranglar / squared faces An cube / regular hexahedron is a regular polyhedron with ...

12 meses hace

Resuelto


Create a New_Word
The output of the function is a new word created from the word entered into the function. The new word is created by deleting th...

12 meses hace

Resuelto


Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

12 meses hace

Resuelto


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2756

12 meses hace

Resuelto


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

12 meses hace

Resuelto


Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

12 meses hace

Resuelto


determine amount cookies left
started with 3 cookies and you never ate any how many are left

12 meses hace

Resuelto


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

12 meses hace

Resuelto


Set x value to each even index of vector y.
Set x value to each even index of vector y.

12 meses hace

Resuelto


Solve expression III
Solve expression for given vector x. Expression = (tan(2*x^2+7*x-30.25)+log(x^3-2.25))/(nthroot(sin(x^3)^2+1/5*log(x^4-2.5),3))...

12 meses hace

Resuelto


Compare two strings.
Compare two strings, whether they are equal or not.

12 meses hace

Resuelto


Display positive elements of matrix.
Display positive elements of matrix.

12 meses hace

Resuelto


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

12 meses hace

Resuelto


Select primes from the matrix.
Select primes from the matrix.

12 meses hace

Resuelto


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

12 meses hace

Resuelto


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

12 meses hace

Resuelto


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

12 meses hace

Resuelto


Pascal's triangle
<https://en.wikipedia.org/wiki/Pascal%27s_triangle> if the order is: x = 3; the output will be: output = [0 0 0 1 0 0 ...

12 meses hace

Resuelto


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

12 meses hace

Resuelto


concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

12 meses hace

Resuelto


No more zeros
Given an array with zeros at the beginning or at the end, you should get the output without these zeros: input = [zeros(5...

12 meses hace

Resuelto


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

12 meses hace

Resuelto


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

12 meses hace

Resuelto


what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example x = 70000; i=.10 y_correc...

12 meses hace

Resuelto


lb to kilogram
convert lb to kilogram units, easy

12 meses hace

Cargar más