Need help with the integral

조회 수: 2 (최근 30일)
Erika Plekaviciute
Erika Plekaviciute 2019년 3월 20일
댓글: Rena Berman 2019년 4월 2일
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
James Tursa
James Tursa 2019년 3월 21일
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 2019년 4월 2일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

채택된 답변

Torsten
Torsten 2019년 3월 21일
편집: Torsten 2019년 3월 22일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by