ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 30 Sep 2014 07:09:51 +0200How do you plot solutions of an O.D.E?https://ask.sagemath.org/question/24329/how-do-you-plot-solutions-of-an-ode/ One advantage of using technology is that often when a large number of problems are
solved, their solutions are compared and conjectures about general patterns can be dis-
covered and tested. Sage is capable of solving a variety of O.D.E’s. Use Sage to construct
a conjecture about the following:
(a) Compare the solutions of dy/dx + y = f(x) subject to y(0) = 0,
where f(x) = x, sin x, cos(x), and ex.
(b) Compare the solutions of dy/dx + y = x subject to y(0) = k,
where k = −2, −1, 0, 1, 0, 1, 2Tue, 30 Sep 2014 00:16:33 +0200https://ask.sagemath.org/question/24329/how-do-you-plot-solutions-of-an-ode/Answer by god.one for <p>One advantage of using technology is that often when a large number of problems are
solved, their solutions are compared and conjectures about general patterns can be dis-
covered and tested. Sage is capable of solving a variety of O.D.E’s. Use Sage to construct
a conjecture about the following:</p>
<p>(a) Compare the solutions of dy/dx + y = f(x) subject to y(0) = 0,
where f(x) = x, sin x, cos(x), and ex.</p>
<p>(b) Compare the solutions of dy/dx + y = x subject to y(0) = k,
where k = −2, −1, 0, 1, 0, 1, 2</p>
https://ask.sagemath.org/question/24329/how-do-you-plot-solutions-of-an-ode/?answer=24333#post-id-24333I'm sorry, this forum is not here for solving your homework. If you have any non-working code which you could provide, anybody here is happy to help you.
And since this is a special use-sage-task, propably your instructor is lurking around here, too :)Tue, 30 Sep 2014 07:09:51 +0200https://ask.sagemath.org/question/24329/how-do-you-plot-solutions-of-an-ode/?answer=24333#post-id-24333