Solved


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

9 dagar ago

Solved


to the 2 all elements
to the 2 all elements

9 dagar ago

Solved


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

9 dagar ago

Solved


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

9 dagar ago

Solved


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

9 dagar ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

9 dagar ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

9 dagar ago

Solved


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

9 dagar ago

Solved


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

9 dagar ago

Solved


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

9 dagar ago

Solved


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

9 dagar ago

Solved


calculate the length of matrix
input 1 array, calculate the length

10 dagar ago

Solved


Spherical Volume
Calculate the volume of a sphere.

11 dagar ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

11 dagar ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

11 dagar ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

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

11 dagar ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

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

11 dagar ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

11 dagar ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

12 dagar ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

12 dagar ago

Solved


Linear Motion 3
Suppose a robot is moving in a straight line and steadily increases its speed. It moves from v1 ft/s to v1+2 ft/s in the first ...

12 dagar ago

Solved


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

12 dagar ago

Solved


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

12 dagar ago

Solved


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

12 dagar ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

13 dagar ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

13 dagar ago

Solved


Simple Electrical Power Calculation
Calculate the electrical power using the formula: P=V×I where: V is the voltage (in volts) I is the current (in amperes)

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

13 dagar ago

Load more