Without using MATLAB trigonometric functions, calculate the cosine of an argument x to a precision of 0.0001
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers343
Suggested Problems
-
526 Solvers
-
Compute LOG(1+X) in natural log
264 Solvers
-
Basic commands - amount of inputs
188 Solvers
-
Basic commands - Greatest common divisor
204 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2140 Solvers
More from this Author25
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Hello, Shaul Salomon. Besides the existing checking for 'forbidden' commands in your Test Suite, which can report false positives (e.g. discussion of "cosine" in comments), you could consider a more complicated regexp statement, or perhaps use the assessFunctionAbsence function described at https://au.mathworks.com/help/coursework/ug/assessfunctionabsence.html . —DIV
A temporarily fix has been applied to the test suite such that allows name of functions in the comments. A permanent solution will be employed soon.