Solved


Return area of square
Side of square=input=a Area=output=b

10 years ago

Solved


Calculate volume of box
Calculate the volume of box,hiven its sides

10 years ago

Solved


Box!
Given a box, find the volume of the cube. With each side = a.

10 years ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

10 years ago

Solved


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

10 years ago

Solved


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

10 years ago

Solved


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


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]

10 years ago

Solved


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

10 years ago

Solved


Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

10 years ago

Solved


Get derivarive of polynomial given as vector array.
Get derivarive of polynomial given as vector array. Example p=[ 1 2 0 5 0 3 ]; result=[ 5 8 0 10 ...

10 years 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 ; ...

10 years ago

Solved


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

10 years ago

Solved


Counting candies
In a classroom of |'n'| children, every even numbered child gets one big candy and every odd numbered child gets two small candi...

10 years ago

Solved


Calculate the centroid of a triangle
Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

10 years ago

Solved


Create cotangent function out of sine.
Please, don't use cos, tan, cot matlab functions.

10 years ago

Solved


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

10 years ago

Solved


Replicate and Tile an Array
Replicate and tile an array. Example A = [1 2 3; 4 5 6; 7 8 9] B = Epli_and_Tile(A,1,2) B = [ 1 2 3 1...

10 years ago

Solved


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

10 years ago

Solved


y=x
y=x

10 years ago

Solved


'Price of pizza!'
If you want to check pizza's price, try this! price is proportional to its volume, so you have to multiply 0.1($) to pizza's v...

10 years ago

Solved


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

10 years ago

Solved


Joules!
1J = 101.325 L/atm Write a statement that assigns fractionalMultiplier with 101.325 Write a second statement that assigns Jo...

10 years ago

Load more