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

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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

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

5 months ago

Solved


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

5 months ago

Solved


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

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

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

5 months ago

Solved


Find Logic 1

5 months ago

Solved


Find Logic 3

5 months ago

Solved


Find Logic 4

5 months ago

Solved


Find Logic 6

5 months ago

Solved


Find Logic 7

5 months ago

Solved


Find Logic 8

5 months ago

Solved


Find Logic 9
Guess the Logic! logic(1) = 4 logic(2) = 1 logic(3) = 10 logic(4) = 2

5 months ago

Solved


Find Logic 10

5 months ago

Solved


Find Logic 11

5 months ago

Solved


Find Logic 12

5 months ago

Solved


Find Logic 13

5 months ago

Solved


Find Logic 15

5 months ago

Solved


Find Logic 14
Guess the Logic! logic(1) = 100 logic(2) = 96 logic(3) = 105 logic(4) = 89 logic(5) = 114 Make a function logic(x) which w...

5 months ago

Solved


Find Logic 16

5 months ago

Solved


Find Logic 17

5 months ago

Solved


Find Logic 18

5 months ago

Solved


Find Logic 19

5 months ago

Solved


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

5 months ago

Solved


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

5 months ago

Load more