I would like to get t value
Please help me code this problem
Please see the attached
Given data
Left side (m1(t)/m1,inf = 1/2)
Right side (D1=3.6*10^-6, R= 0.15)

댓글 수: 3

Jan
Jan 2021년 4월 21일
Reading your photo requires some guessing. How do you want to implement an infinite sum? Numerically or symbolically?
Sun Wook Han
Sun Wook Han 2021년 4월 21일
Numerically please
Jan
Jan 2021년 4월 21일
As said already, I cannot read the text in the photo reliably. Please post it as text. What have you tried so far? You cannot include an infinite number of elements in a sum, because this would take infinite time to run. So are ayou sure, that the sum converges?

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

 채택된 답변

David Hill
David Hill 2021년 4월 21일
편집: David Hill 2021년 4월 21일

0 개 추천

d=3.6e-6;r=.15;
n=1:1e6;%not quite infinate
eqn=@(t)24/pi^2*sum((1./(n-.5).^2).*exp(-(n-.5).^2*pi^2*d*t/r^2))-12.5;
T=fzero(eqn,-.0000000098);

댓글 수: 2

Sun Wook Han
Sun Wook Han 2021년 4월 21일
Thank you
can I ask what is the meaning of -.0000000098?
David Hill
David Hill 2021년 4월 21일
It is the starting point to look for the zero crossing. You have to get close or else fzero will fail (goes to inf).

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Marine and Underwater Vehicles에 대해 자세히 알아보기

태그

질문:

2021년 4월 21일

댓글:

2021년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by