Solved


Find max
Find the maximum value of a given vector or matrix.

12 months ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

12 months ago

Solved


Find the max element of the array
Find the max element of the array

12 months ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

12 months ago

Solved


Double all elements in the array
Duplicate all elements in the array

12 months ago

Solved


to the 2 all elements
to the 2 all elements

12 months ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

12 months ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

12 months ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

12 months ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

12 months ago

Solved


GJam: 2013 China Event: Cannon Angle
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p1 GJam 2013 China Captain Hammer>. T...

12 months ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

12 months ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

12 months ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

12 months ago

Solved


Subtraction
Subtract a from b.

12 months ago

Solved


Squares
Find the square of x.

12 months ago

Solved


Addition
Add together the values of a and b.

12 months ago

Solved


Addition II
find a+b+c+d

12 months ago

Solved


Multiplication
Multiply a and b.

12 months ago

Solved


Division
Divide a by b.

12 months ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

12 months ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

12 months ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

12 months ago

Solved


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

12 months ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

12 months ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

12 months ago

Solved


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

12 months ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

12 months ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12 months ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

12 months ago

Load more