Need help with the integral

2 Ansichten (letzte 30 Tage)
Erika Plekaviciute
Erika Plekaviciute am 20 Mär. 2019
Kommentiert: Rena Berman am 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 Kommentare
James Tursa
James Tursa am 21 Mär. 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 am 2 Apr. 2019
(Answers Dev) Restored edit

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Torsten
Torsten am 21 Mär. 2019
Bearbeitet: Torsten am 22 Mär. 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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by