Problem 401. cos for boss?
a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 and the coffee is close to ninety degrees. A hint: sin() may be appropriate for some input, without committing any sin!!
Solution Stats
Problem Comments
-
2 Comments
Alfonso Nieto-Castanon
on 25 Feb 2012
still trying to figure it out... did you use some combination of evalin('caller','cleanCellCode',...); evalin('caller','pass',...); in your evaluation suite? otherwise, care to provide a hint?
AMITAVA BISWAS
on 25 Feb 2012
a hint: sin() may be appropriate for some input!!
Solution Comments
Show commentsProblem Recent Solvers63
Suggested Problems
-
293 Solvers
-
9734 Solvers
-
149 Solvers
-
320 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
378 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!