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...
5 years ago
Solved
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...
5 years ago
Solved
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...
5 years ago
Solved
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...
5 years ago
Solved
Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number>
_Please do not cheat by simply chec...
5 years ago
Solved
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...
5 years ago
Solved
Angle bisectors
Given 2 direction vectors, calculate the *_two_ (2) normalized angle bisectors* (which are perpendicular between them).
Input...
5 years ago
Solved
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...