Solve the following differential equation subject to the given initial conditions. 1. dy/dtheta=ysin(theta); y(pi)=3. 2. x^2 dy/dx=y-xy; y(1)=1
Solution.
1.
where C is some constant.
If "y(\u03c0)=3," then "\\ln 3=-\\cos{\u03c0}+C."
From here
"C=\\ln 3-1."
We will have
"\\ln y=-\\cos{\\theta}+\\ln 3-1," or"\\ln y=\\ln e^{-\\cos{\\theta}}+\\ln 3-\\ln e."
Answer.
2.
where C is some constant.
If "y(1)=1," then "\\ln 1=-1-\\ln1+C."
From here C=1.
We will have
"\\ln y=\\ln e^{-\\frac{1}{x}}-\\ln x+\\ln e," or"y=\\frac{e^{1-\\frac{1}{x}}}{x}."
Answer.
"y=\\frac{e^{1-\\frac{1}{x}}}{x}."
Comments
Leave a comment