Question: How can I assign the numerical solutions of dsolve?

Hi,

How can I write a command that the Maple assigns the numerical solutions of the dsolve command in a procedure such as the simple following procedure?

> restart:

> con:=y(0)=1,D(y)(0)=-1:

> ode:=diff(y(x),x,x)=-y(x):

> Y:=dsolve({ode,con},numeric,y(x)):

> Y(.01);

I want this procedure assigns a:= y(.01)= 0.989950166993563974 and b:=y’(.01)=-1.00994983384860437 in the whole of  it. How can I do it?

Thanks a lot for your unlimited cooperation

Werner Melzer

 

Please Wait...