So if you have y(0) = 2 and y'(0) = 1 for example, you take the final solution ygen, and plug t = 0 and have the LHS = 2. After doing so, you'll get C1 = 2. Then, take the derivative for ygen', and plug t = 0 and set the LHS = 1. After doing so, you'll get C2 = 3. Now, using C1 = 2 & C2 = 3, you can plug those constants into ygen = 2e^-t + 3te^-t + 1/2 * t^2 * e^-t
Wow thanx alot
Where would you put in any given initial conditions?
So if you have y(0) = 2 and y'(0) = 1 for example, you take the final solution ygen, and plug t = 0 and have the LHS = 2. After doing so, you'll get C1 = 2. Then, take the derivative for ygen', and plug t = 0 and set the LHS = 1. After doing so, you'll get C2 = 3. Now, using C1 = 2 & C2 = 3, you can plug those constants into ygen = 2e^-t + 3te^-t + 1/2 * t^2 * e^-t