Example 2: Solve [Maple Math] where [Maple Math] .

Solution: We find first the general solution using FO .

> a:=x->2*x;f:=x->x^3;

[Maple Math]

[Maple Math]

> FO;

[Maple Math]

> simplify(%);

[Maple Math]

We use unapply unapply to make the previous solution a function of [Maple Math] .

> y:=unapply(%,x);

[Maple Math]

Now we plug in the initial conditions to solve for the constant [Maple Math] .

> solve(y(1)=1,C);

[Maple Math]

> simplify(%);

[Maple Math]

Thus [Maple Math] . (Note do not just write e, in Maple e is a constant, the number e is given by exp(1)). Next we substitute [Maple Math] in the formula for [Maple Mat . We use Maple command subs to do this.

> subs(C=exp(1),y(x));

[Maple Math]

> simplify(%);

[Maple Math]

>