Including a value where x<=15 and the formula is true (like the x=8; n=2 example in your problem description) will make this solution wrong.
5871 Solvers
Arrange Vector in descending order
4281 Solvers
Who knows the last digit of pi?
561 Solvers
Generate N equally spaced intervals between -L and L
573 Solvers
115 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!