hi I want to solve this problem using posted script.
Afficher commentaires plus anciens
Problem: Another formula for computing "pi" can be deduced from the identity pi/4 = 4arctan1/5— arctan1/239. Determine the number of terms that must be summed to ensure an approximation to pi to within 1e-3.

Can some one tell me how to use a script to solve the problem.
6 commentaires
Rik
le 3 Sep 2021
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
N/A
le 3 Sep 2021
The reason I deleted that was because it’s the wrong script I posted there. First person who answered my question told me that and I removed it only to avoid misunderstandings for whoever going to read this question and answers later. Just the question I left and answer thread would give a full understanding for future students like me when they read it. But it will be really confusing to see a totally unrelated script middle of them. I am going to delete it again. It’s I’m trying to make my question and time of that person’s who helped me to write the correct script more useful. Not rude.
N/A
le 3 Sep 2021
Also second question that you pasted there again has nothing to do with matlab. That was my mistake as well. You probably did not see when I edit I also edited misspelled symbols like “pi”. Sometimes you can repay kindness by ensuring that other people do get the right thing and right thing only.
Walter Roberson
le 3 Sep 2021
However, the Answer that I posted does not make any sense without that first posted script. The comments I posted later do not make sense without the image of the summation equation.
I spent my time answering the question you actually asked, so that question should remain posted.
I understand I mistakenly deleted the equation too. I didn’t mean it. I just wanted make the question clear. But I re-edited that part and posted the equation. The only thing I wanted to delete was the Bisection script and the part that no one discussed nor has anything to do with matlab. I can leave the script if you think it’s important there. But before completely change something that I posted I think it would have been nice to comment and ask me to leave it as it was. Or ask me why I did that. Because being rude or hiding this question was not my intention at all. Thank you a lot for helping me out. I will leave the script if you think it’s not confusing there and i will only delete the non related second question. No one commented on that part anyway.
Walter Roberson
le 3 Sep 2021
I discussed the script as the very first thing in my Answer.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!