How To find The x intercept
조회 수: 1 (최근 30일)
이전 댓글 표시
I;m trying to find all of the x intercepts of an ODE of my plot below.
This is my code
Fmax = 0.7e-9; rh = 0.97e-9; rt = 0.31e-9;
B = 1.4e-19; rs = 0.51e-9; G = 1.8e-11;
S = -1.0e-4; Vm=0.45; D = 5.0e-14;
Kb = 1.38e-23; T = 310.0;
r=[10E-10:1E-08:10E-07]
y1 = Vm*Vm*Fmax./(1.0+rh./(r+rt));
y2 = 4.0*B*(rs^4)./(r.^5);
y3 = -2.0*pi*G;
y4 = 2.0*pi*S*r;
m = D/(Kb*T);
drdt = m*(y1+y2+y3+y4);
figure
plot(r,drdt)
xlabel('R (nm)')
ylabel('dr/dt (nm with respect to time in seconds)')
legend('Vm=0.45')
How do I find the x-intercepts and how do I expand the range so I can see the entirety of the plot?
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!