Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


Basic Addition

etwa 5 Jahre vor

Gelöst


Circle : Square

etwa 5 Jahre vor

Gelöst


Round to nearest integer

etwa 5 Jahre vor

Gelöst


Find Sine Function

etwa 5 Jahre vor

Gelöst


multiply by 7

etwa 5 Jahre vor

Gelöst


Multiply by 14

etwa 5 Jahre vor

Gelöst


Determine if input is a perfect square

etwa 5 Jahre vor

Gelöst


2X MULTIPLIER

etwa 5 Jahre vor

Gelöst


Polygon in a unit circle

etwa 5 Jahre vor

Gelöst


Find the Sum of matrix A

etwa 5 Jahre vor

Gelöst


Find the area of a square

etwa 5 Jahre vor

Gelöst


number play

etwa 5 Jahre vor

Mehr laden