Problem 44848. Approximate the inverse tangent by power series
Given values b (where abs(b)<=1) and n (polynomial order), write a function that calculates atan(b) by using power series.
Solution Stats
Problem Comments
-
6 Comments
Show
3 older comments
William
on 26 May 2019
There is still a problem with the test suite. The quantity ff is not defined in test suite problems 2 and 3.
goc3
on 16 Jul 2019
The test suite has been fixed and improved.
goc3
on 16 Jul 2019
Also, note that the input n (polynomial order) refers to the highest-powered term in the series, NOT the number of series terms.
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
Least common multiple of many numbers
242 Solvers
-
Number of 1s in the Binary Representation of a Number
455 Solvers
-
10273 Solvers
-
283 Solvers
-
Moving average (variable kernel length)
128 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!