Sam - MATLAB Cody - MATLAB Central

Sam

38421
Rank
4
Badges
101
Score
1 – 9 of 9

Sam submitted a Comment to Problem 953. Pi Estimate 1

So in running this summation through my ti-nspire for 10 iterations, I get an estimate of 3.232323... However, test 1 asserts that this should actually be 3.041840. The code I wrote also returns 3.232323, because it uses the Leibniz formula to estimate pi using the specified number of iterations "nMax". Either I am completely missing something or the author is unaware of what values a correct solution should actually be returning.

on 21 Jan 2025

Sam received Commenter badge for Problem 953. Pi Estimate 1

on 21 Jan 2025

Sam submitted Solution 14528291 to Problem 8. Add two numbers

on 21 Jan 2025

Sam submitted Solution 14527719 to Problem 167. Pizza!

on 20 Jan 2025

1 – 9 of 9
Go to top of page