Solved


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

8 years ago

Solved


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

8 years ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

8 years ago

Solved


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

8 years ago

Solved


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

8 years ago

Solved


true or false
if the matrix has a zero, return true. else, return false

8 years ago

Solved


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

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

8 years ago

Solved


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 ...

8 years ago

Solved


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

8 years ago

Solved


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

8 years ago

Solved


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

8 years ago

Solved


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

8 years ago

Solved


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


Radians to Degrees
Convert radians to degrees.

8 years ago

Solved


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.

8 years 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]

8 years ago

Solved


Create tangent function out of cosine only
Please don't use tangent and sine functions

8 years ago

Solved


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

8 years ago

Solved


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

8 years ago

Solved


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

8 years ago

Solved


Create sine function out of cosine
Please don't use sin(x) directly

8 years ago

Solved


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

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

8 years ago

Solved


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

8 years ago

Load more