Problem 44848. Approximate the inverse tangent by power series
Solution Stats
Problem Comments
-
6 Comments
Please fix the test suite.
The arguments need to be supplied to the function, as in:
assert(isequal(your_fcn_name(b, n),y_correct))
Test suite has been fixed. Thanks for the comments!!
There is still a problem with the test suite. The quantity ff is not defined in test suite problems 2 and 3.
The test suite has been fixed and improved.
Also, note that the input n (polynomial order) refers to the highest-powered term in the series, NOT the number of series terms.
Problem Recent Solvers13
Suggested Problems
-
Check to see if a Sudoku Puzzle is Solved
307 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
815 Solvers
-
Longest run of consecutive numbers
4118 Solvers
-
181 Solvers
-
Find the position of last minimum value in an integer array with numbers
74 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!