RJLiberator
Gold Member
- 1,094
- 63
Homework Statement
Solve:
y''+λ^2y = cos(λt), y(0) = 1, y'(π/λ) = 1
where t > 0
Homework Equations
The Attempt at a Solution
I start off by taking the Laplace transform of both sides. I get:
L(y) = \frac{s}{(s^2+λ^2)^2}+\frac{sy(0)}{s^2+λ^2}+\frac{y'(0)} {s^2+λ^2}
Now take the inverse Laplace transform
y = \frac{1}{2λ}tsin(λt) + y(0)cos(λt)+\frac{y'(0)}{λ}sin(λt)
since y(0) = 1, we get
y = \frac{1}{2λ}tsin(λt) +cos(λt)+\frac{y'(0)}{λ}sin(λt)Now this is where I get stuck. I have the boundary condition for y'(pi/λ)=1, but I'm not sure how to use it in this scenario.
If I take the derivative of y, then I get an expression with a y'(0) term in it that I'm not sure how to use...
Any thoughts?