Resuelto


Rainbow matrix
Create a "rainbow matrix" as described in the following examples Input = 3 Output = [ 1 2 3 2 3 2 ...

más de 3 años hace

Resuelto


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

casi 4 años hace

Resuelto


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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.

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


Convert radians to degrees
Given input in radians, output to degrees

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


Find Logic 1

casi 4 años hace

Resuelto


Find Logic 3

casi 4 años hace

Resuelto


Find Logic 6

casi 4 años hace

Resuelto


Find Logic 7

casi 4 años hace

Resuelto


Find Logic 8

casi 4 años hace

Resuelto


Find Logic 10

casi 4 años hace

Resuelto


Find Logic 11

casi 4 años hace

Resuelto


Find Logic 12

casi 4 años hace

Resuelto


Find Logic 13

casi 4 años hace

Resuelto


Find Logic 15

casi 4 años hace

Resuelto


Find Logic 14

casi 4 años hace

Resuelto


Find Logic 16

casi 4 años hace

Resuelto


Find Logic 18

casi 4 años hace

Resuelto


Find Logic 19

casi 4 años hace

Resuelto


Find Logic 4

casi 4 años hace

Resuelto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

casi 4 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Resuelto


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

casi 4 años hace

Cargar más