Example 6. Find the
analytic solution to over with and .
Now let Mathematica construct the analytic solution to the differential equation.
Notice that this "real number" D. E. has a solution involving
Ever wonder if we could "pull it off" ?
Onward to the boundary values.
Now dig out the formula and store it in the function z[t].
How could this ever be the solution ? Dare we try to plot it ?
Now that wasn't so bad was it.
Hey! Where's the numerical analysis.
If we wanted some sense out of that complex formula we can get it with "decimal" numbers.
First get rid of Mathematica's notation for the arbitrary constants, and simplify.
This takes Mathematica a very long time to think it out. You must wait a minute while it thinks.
Numerically solve a system of equations for the constants
Now form the function
Get rid of that complex number stuff.
Looks like a good old fashioned function composed of "well known" functions.
Now plot the analytic solution to the differential equation.
(c) John H. Mathews 2004