Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.maple > #962

Re: How Do We Test if a Given Function Is a Solution to an ODE?

From Joe Riel <joer@san.rr.com>
Newsgroups comp.soft-sys.math.maple
Subject Re: How Do We Test if a Given Function Is a Solution to an ODE?
Date 2014-09-27 20:49 -0700
Organization A noiseless patient Spider
Message-ID <87tx3spfo8.fsf@san.rr.com> (permalink)
References <28ue2atgvtgec1tghokqddrcm19pagqige@4ax.com>

Show all headers | View raw


<> writes:

> How do we test if a given function y(t) is a solution of a given ODE
> in y(t)?
> Thank you!
>
> sherman

For a symbolic solution you can eval it:

(**) deq := diff(x(t), t, t) + diff(x(t),t) = sin(t): 
(**) dsol := dsolve({deq, x(0)=0, D(x)(0)=0});
         dsol := x(t) = -1/2 sin(t) - 1/2 cos(t) - 1/2 exp(-t) + 1

(**) eval(deq, dsol);
                           sin(t) = sin(t)
-- 
Joe Riel

Back to comp.soft-sys.math.maple | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How Do We Test if a Given Function Is a Solution to an ODE? <> - 2014-09-27 22:59 -0400
  Re: How Do We Test if a Given Function Is a Solution to an ODE? Joe Riel <joer@san.rr.com> - 2014-09-27 20:49 -0700
    Re: How Do We Test if a Given Function Is a Solution to an ODE? <> - 2014-09-30 01:28 -0400
  Re: How Do We Test if a Given Function Is a Solution to an ODE? William Unruh <unruh@invalid.ca> - 2014-09-28 04:11 +0000
  Re: How Do We Test if a Given Function Is a Solution to an ODE? "Nasser M. Abbasi" <nma@12000.org> - 2014-09-28 00:27 -0500
    Re: How Do We Test if a Given Function Is a Solution to an ODE? <> - 2014-09-30 01:29 -0400

csiph-web