A résolu


Highly divisible triangular number (inspired by Project Euler 12)
Triangular numbers can be calculated by the sum from 1 to n. For example, the first 10 triangular numbers are: 1, 3, 6, 10, ...

environ 5 ans il y a

A résolu


Expand 10^n to Powers of 4
Given an integer n, return the coefficients c = [c_n,c_n-1,...,c_0] Such that 10^n = c_n*4^(n) + c_n-1*4^(n-1...

environ 5 ans il y a

A résolu


Muphry's Law of MATLAB
You're running some simple multiplication problems through MATLAB for error checking purposes, but nothing seems to come up with...

environ 5 ans il y a

A résolu


Choose the best fitting dominoes
You will be given a cell array of nx2 matrices. Choose one row from each matrix. These are the ordered pairs that will be plac...

environ 5 ans il y a

A résolu


Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

environ 5 ans il y a

A résolu


Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

environ 5 ans il y a

A résolu


Fun with a compass
Each night for the past week, you have been having the same nightmare: You find yourself back in your junior high school geometr...

environ 5 ans il y a

A résolu


Angle bisectors
Given 2 direction vectors, calculate the *_two_ (2) normalized angle bisectors* (which are perpendicular between them). Input...

environ 5 ans il y a

A résolu


Wayfinding 2 - traversing
This is the second part of a series of assignments about wayfinding. The final goal is to be able to calculate the fastest route...

environ 5 ans il y a

A résolu


Wayfinding 1 - crossing
This is the first part of a series of assignments about wayfinding. The final goal is to be able to calculate the fastest route ...

environ 5 ans il y a

A résolu


Smallest distance between a point and a rectangle
Given two points *x* and *y* placed at opposite corners of a rectangle, find the minimal euclidean distance between another poin...

environ 5 ans il y a

A résolu


Points on a Sphere
Given a sphere of radius R, determine how many points on the surface of that sphere have three integer coordinates. Do not outp...

environ 5 ans il y a

A résolu


Points on a circle.
This problem is related to <url=http://www.mathworks.com/matlabcentral/cody/problems/1283-points-on-a-sphere>Problem 1283, Point...

environ 5 ans il y a

A résolu


Dots in a Diamond
Return how many <http://en.wikipedia.org/wiki/Diamond_cubic Diamond Cubic> lattice grid points there are inside a 3D sphere of r...

environ 5 ans il y a

A résolu


Find the sines of an isosceles triangle when given its area and height
Find the sines of an isosceles triangle when given its area and height. For example, when A=60 and h=5, the result is [0.3752...

environ 5 ans il y a

A résolu


find nth even fibonacci number
1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

environ 5 ans il y a

A résolu


Basic Addition

environ 5 ans il y a

A résolu


Circle : Square

environ 5 ans il y a

A résolu


Round to nearest integer

environ 5 ans il y a

A résolu


Find Sine Function

environ 5 ans il y a

A résolu


multiply by 7

environ 5 ans il y a

A résolu


Find y if y is 4 times the value of x.

environ 5 ans il y a

A résolu


Multiply by 14

environ 5 ans il y a

A résolu


Determine if input is a perfect square

environ 5 ans il y a

A résolu


2X MULTIPLIER

environ 5 ans il y a

A résolu


Polygon in a unit circle

environ 5 ans il y a

A résolu


Find the Sum of matrix A

environ 5 ans il y a

A résolu


Find the area of a square

environ 5 ans il y a

A résolu


number play

environ 5 ans il y a

Charger plus