Given values b (where abs(b)<=1) and n (polynomial order), write a function that calculates atan(b) by using power series.
Please fix the test suite.
The arguments need to be supplied to the function, as in:
Test suite has been fixed. Thanks for the comments!!
Add two numbers
Project Euler: Problem 10, Sum of Primes
How long is the longest prime diagonal?
Longest run of consecutive numbers
Alternating 1´s and 0´s in a matrix
Double the next!
Check if is a square
Ratio between sum of primer numbers and non-prime numbers
Sum of a geometric series
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office