Need help with the integral

2 visualizzazioni (ultimi 30 giorni)
Erika Plekaviciute
Erika Plekaviciute il 20 Mar 2019
Commentato: Rena Berman il 2 Apr 2019
Hello, how to write a code to find an excat value of this integral?
I really need help with this one! I wrote a code to approximate the value but i can't create a code to find the exact one
  8 Commenti
James Tursa
James Tursa il 21 Mar 2019
Erika, it is very poor online etiquette to delete your question after there have been comments and answers posted. This is a disservice to the Answers community.
Rena Berman
Rena Berman il 2 Apr 2019
(Answers Dev) Restored edit

Accedi per commentare.

Risposta accettata

Torsten
Torsten il 21 Mar 2019
Modificato: Torsten il 22 Mar 2019
format long
I = 0.0;
Iexact = 0.904524237900272;
eps = 1e-15;
n = 0;
while abs(I-Iexact) > eps
I = I + (-1)^n/(factorial(2*n)*(4*n+1))
n = n+1;
end
n-1
I

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by