MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Todaya programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta or the coffee are close to ninety degrees. A hint: sin() may be appropriate for some input, without committing any sin!!

45 correct solutions
150 incorrect solutions

Last solution submitted on Apr 18, 2016

1 player likes this problem

3 Comments

Alfonso Nieto-Castanon
on 25 Feb 2012

guessed about overloading, but I am curious, how do you get those bits of code not showing up on your test suite? (also, unrelated, it is a strange world where cos(pi/4+pi/4)=1/sqrt(2)...)

Alfonso Nieto-Castanon
on 25 Feb 2012

or perhaps there is just some issue with the cody machinery today, some of the 'valid' solutions seem rather 'invalid', and the size computation just plain strange...

@bmtran
on 25 Feb 2012

agreed

2 Comments