Solving ODE Step function with Laplace

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
14 replies · 3K views
xVladx
Messages
9
Reaction score
0

Homework Statement



Hi all came across this problem whilst doing some revision and i can't work out the answer

Solve the following equation with laplace transformation

Homework Equations



y''+16y = f(t) = { 1 t < pi ] with y(0) = 0 and y'(0) = 0
_____________{ 0 t >= pi ]

The Attempt at a Solution



I find the laplace transform and get:

Y(s) = (1/16s)-(1/(16(s^2+4^2)))-(e^(-pi*s)/(s^2+4^2))

I am kind of stuck when doing the final step since never delt with this type of problem and the sine/cosine transforms.

I come up with y(t)=1/16 - sin(4t)/64 - (sin(4t)* u(t - pi)) /16 but not sure if it is right or how to get it back to the final form.

Any help is appreciated
 
Physics news on Phys.org
Take Laplace of both sides:
s^2Y(s) -sy(0)-y'(0) +16Y= 1/s - e^-pi*s
y(0) = y'(0) = 0
Y(s^2+16)=1/s - e^-pi*s
Y = [1/s(s^2+16)] - e^-pi*s/(s^2+16)
Using partial fractions [1/s(s^2+16)] = 1/16s - 1/16(s^2+4^2)
Y(s) = (1/16s)-(1/(16(s^2+4^2)))-(e^(-pi*s)/(s^2+4^2))
 
Also I've seen in other posts that some people can post the equation writing similar to the way it is done in MS word, how do you do that? would be much neater then
 
You took the Laplace transform of the righthand side incorrectly. In the time domain, you can write it as 1-u(t-pi). You didn't calculate the transform of the second term correctly.

Regarding posting equations, start here:

https://www.physicsforums.com/showthread.php?t=386951
 
Last edited by a moderator:
xVladx said:
Also I've seen in other posts that some people can post the equation writing similar to the way it is done in MS word, how do you do that? would be much neater then

Nevermind this I found out about the Latex thing. Just going to restate the problem to give it a try

[itex]\ddot{y}[/itex] + 16y = f(t) = [itex]\left\{\begin{array}{cc}1&t<{\pi}\\0 & t\geq{\pi}\end{array}\right][/itex] with y(0) = 0 and [itex]\dot{y}[/itex](0) = 0
 
Should I have gotten Laplace [itex](1-u(t-\pi))[/itex] = [itex]\LARGE\frac{1}{s}-\frac{e^{-\pi s}}{s}[/itex]
 
Would my answer then be
y(t) = [itex]\left\{\begin{array}{cc}\frac{1}{16}-\frac{1}{64\sin(4t)}&t<{\pi}\\0 & t\geq{\pi}\end{array}\right][/itex]
 
OK guess I am stuck then.
 
Hmm mistyped my Latex, I ment:

y(t) = [itex]\left\{\begin{array}{cc}\frac{1}{16}-\frac{\cos(4t)}{16}&t<{\pi}\\0 & t\geq{\pi}\end{array}\right][/itex][/QUOTE]
 
Thanks very much for you help! :)