Question: How do i generate a second vector of numerical values?

Hey there,

i´ve a numerical solved differential equation and a "normal" equation. How can i calculate the differenz of both?

 

>S:=0.79*cos(t)+0.3*sin(t);

> DGL1 := 20*(D(D(x)))(t)+10*(D(x))(t)+2500*x(t)+300 = S;
> init := x(1.2) = 0, (D(x))(1.2) = 10.63081252;
> F := dsolve({DGL1, init}, numeric);
>U:=F-S;

> p1 := plot(U, [t, x(t)], 1.2 .. 2, numpoints = 200);
%;
Error, (in plot) two lists or Vectors of numerical values expected

 

Please Wait...