> #=================================

> # Uebung 3 Aufgabe 1:

> # Kondition und Stabilitaet

> #=================================

> restart;

> r[f]:=kond*r[x];

[Maple Math]

> f:=x->1/(1+2*x)-1;

[Maple Math]

> kond:=simplify(x*diff(f(x),x)/f(x));

[Maple Math]

> # a) fuer x > 0 ist also cond < 1,

> # d.h.: Das Problem ist gut konditioniert.

> plot(kond,x=0..5, y=0..1);

> # b) fuer x bei 0 tritt im letzten Schritt Ausloeschung auf.

> g:=x->(1-1*(1+2*x))/(1+2*x); # Hauptnenner

[Maple Math]

> y[1]=2*x; y[2]=1+y[1]; y[3]=-y[1]/y[2];

[Maple Math]

[Maple Math]

[Maple Math]

> # ist stabil fuer x > 0 (Problem bei x=-0.5)

>