Question Number 190851 by Rupesh123 last updated on 13/Apr/23
Answered by mr W last updated on 13/Apr/23
$$\mathrm{cos}\:{y}'=\mathrm{sin}\:{y} \\ $$$$\mathrm{sin}\:\left(\frac{\pi}{\mathrm{2}}−{y}'\right)=\mathrm{sin}\:{y} \\ $$$$\frac{\pi}{\mathrm{2}}−{y}'={n}\pi+\left(−\mathrm{1}\right)^{{n}} {y} \\ $$$$−{y}'=\left(−\mathrm{1}\right)^{{n}} {y}+\frac{\left(\mathrm{2}{n}−\mathrm{1}\right)\pi}{\mathrm{2}} \\ $$$$−\frac{{dy}}{{dx}}=\left(−\mathrm{1}\right)^{{n}} {y}+\frac{\left(\mathrm{2}{n}−\mathrm{1}\right)\pi}{\mathrm{2}} \\ $$$$\frac{{dy}}{\left(−\mathrm{1}\right)^{{n}} {y}+\frac{\left(\mathrm{2}{n}−\mathrm{1}\right)\pi}{\mathrm{2}}}=−{dx} \\ $$$$\int\frac{{dy}}{\left(−\mathrm{1}\right)^{{n}} {y}+\frac{\left(\mathrm{2}{n}−\mathrm{1}\right)\pi}{\mathrm{2}}}=−\int{dx} \\ $$$$\mathrm{ln}\:\left[\left(−\mathrm{1}\right)^{{n}} {y}+\frac{\left(\mathrm{2}{n}−\mathrm{1}\right)\pi}{\mathrm{2}}\right]=−\left(−\mathrm{1}\right)^{{n}} {x}+{C}_{\mathrm{1}} \\ $$$$\left(−\mathrm{1}\right)^{{n}} {y}+\frac{\left(\mathrm{2}{n}−\mathrm{1}\right)\pi}{\mathrm{2}}={Ce}^{\left(−\mathrm{1}\right)^{{n}+\mathrm{1}} {x}} \\ $$$$\Rightarrow{y}=\left(−\mathrm{1}\right)^{{n}} \left[{Ce}^{\left(−\mathrm{1}\right)^{{n}+\mathrm{1}} {x}} −\frac{\left(\mathrm{2}{n}−\mathrm{1}\right)\pi}{\mathrm{2}}\right],\:{n}\in\mathbb{Z} \\ $$
Commented by Rupesh123 last updated on 13/Apr/23
Excellent, sir!