Print a table that shows the value of p approximated by 1 termof this series, by
ID: 3614462 • Letter: P
Question
Print a table that shows the value of p approximated by 1 termof this series, by two terms, by three terms, etc. How many termsof this series do you have to use before you first get 3.14? 3.141?3.1415? 3.14159? in c language plzzzzz Calculate the value of pi from the infinite series pi = 3.141592653589793 4 - 4/3 + 4/5 - 4/7 + 4/9 - 4/11 +??.. Print a table that shows the value of p approximated by 1 termof this series, by two terms, by three terms, etc. How many termsof this series do you have to use before you first get 3.14? 3.141?3.1415? 3.14159? in c language plzzzzz
Explanation / Answer
please rate - thanks #include #include int main() {double pi=0; int i,flip=1,terms,den=1; printf("How many terms do you want to generate? "); scanf("%d",&terms); printf("i pi "); for(i=1;iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.