MATLAB Answers


How can i solve equation but adding a constant (d^2u/dt^2​)+4*(du/dt​)-(3*u)+5=​0)

Asked by mariam eltohamy on 7 Dec 2018
Latest activity Commented on by mariam eltohamy on 8 Dec 2018
i attached the code , but can i make a modification to solve this equation


Sign in to comment.

1 Answer

Answer by James Tursa
on 7 Dec 2018
Edited by James Tursa
on 8 Dec 2018
 Accepted Answer

The general solution is the homogeneous solution (to the "= 0" equation) which you already have plus any particular specific solution to your actual equation (with the "+5" part). One specific solution to your actual equation is obviously just u = 5/3 (i.e., u is the constant 5/3). So just add 5/3 to your homogeneous solution to get the general solution.
For the comment you posted to Star's thread, a particular solution is again just y = -beta/alpha (i.e., y is the constant -beta/alpha). So just add this to the homogeneous solution (i.e., the solution you get by setting beta = 0).

  1 Comment

thanks alot , you really helped me out to solve it.

Sign in to comment.