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

1 year ago

Solved


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

1 year ago

Solved


Matrix Pattern 1

1 year ago

Solved


Find the Pattern 3

1 year ago

Solved


Find the Pattern 1

1 year ago

Solved


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

1 year ago

Solved


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

1 year ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

1 year ago

Solved


Draw a '4' in a zero matrix!

1 year ago

Solved


Draw a '6' in a zero matrix!

1 year ago

Solved


Draw a '9' in a zero matrix!

1 year ago

Solved


Draw a '7' in a zero matrix!

1 year ago

Solved


Draw a '8' in a zero matrix!

1 year ago

Solved


Draw a '3' in a zero matrix!

1 year ago

Solved


Draw a '2' in a zero matrix!

1 year ago

Solved


Draw a '5' in a zero matrix!

1 year ago

Solved


Draw a '1' in a zero matrix!

1 year ago

Solved


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

1 year ago

Solved


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

1 year ago

Solved


Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false

1 year ago

Solved


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

1 year ago

Solved


Special matrix
Make a square matrix with this shape. For n=4 M = 1 1 0 0 1 0 1 0 0 1 0 ...

1 year ago

Solved


Pascal's Matrix
Given an integer n &ge; 0, generate the ( _n_+1) &times; ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...

1 year ago

Solved


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

1 year ago

Solved


Mass Conversion 2

1 year ago

Solved


Mass Conversion 1

1 year ago

Solved


Temperature Conversion 3

1 year ago

Solved


Temperature Conversion 2

1 year ago

Solved


Temperature Conversion 1

1 year ago

Load more