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
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?
a hint: sin() may be appropriate for some input!!
Solution Comments
Show commentsProblem Recent Solvers64
Suggested Problems
-
Determine whether a vector is monotonically increasing
22765 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15764 Solvers
-
Number of 1s in the Binary Representation of a Number
476 Solvers
-
Getting the indices from a vector
11685 Solvers
-
Remove white space from the string
205 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!