Re: Solution to Differential equation
- From: "Greg Neill" <gneillRE@xxxxxxxxxxxxxxxx>
- Date: Wed, 4 Mar 2009 15:21:47 -0500
charlescalculus_robertobaggio@xxxxxxxxxxx wrote:
Hi, consider the following diff. equation,
dy/dt = gy - k where g= (ln 1.6)/4 and k = 1.2*(10^6)
rearranging, dy/dt - gy = k
Can the method of using an integrating factor be used to solve the
above.
For the integrating factor method, the R.H.S. must be a function of t,
but this time it's a constant, k. Does it still work?
Better, rearrange as:
dt = dy/(g*y - k)
Both sides become integrable:
t = int(y0,yf| 1/(g*y - k) dy)
= ln(y1*g - k)/g - ln(y0*g - k)/g {ln(x) is the natural log}
Solve for y1:
y1 = y0*exp(g*t) - (k/g)*(exp(g*t) - 1)
.
- References:
- Solution to Differential equation
- From: charlescalculus_robertobaggio
- Solution to Differential equation
- Prev by Date: Re: Mathematics teaching in Vietnam
- Next by Date: Re: Why is the tetration so much harder to extend than the factorial?
- Previous by thread: Re: Solution to Differential equation
- Next by thread: Announcement: New prime-finding project
- Index(es):