12.09.2013 Views

Geheugensteuntje - Wiki

Geheugensteuntje - Wiki

Geheugensteuntje - Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Oefening 2:<br />

a) f(x) = x*sin(x)<br />

Konditie t.o.v. de absolute fout:<br />

Δky ≈ f '(x)Δx<br />

f '(x) = (sin(x) + x*cos(x))<br />

Slecht gekonditioneerd voor<br />

grote waarden van x.<br />

Konditie t.o.v. de relatieve fout:<br />

δky ≈ x*(f '(x)/f(x))δx<br />

x*(f '(x)/f(x)) = x*(sin(x) + x*cos(x)) x*sin(x)<br />

= sin(x) + x*cos(x) sin(x)<br />

= 1 + x*cos(x) sin(x)<br />

Slecht gekonditioneerd voor de<br />

nulpunten van sin(x), uitgezonderd<br />

x = 0.<br />

Stabiliteit t.o.v. de absolute fout:<br />

y = (x*sin(x)*(1+ε1)) (1+ε2)<br />

= (x*sin(x) + ε1*x*sin(x)) (1+ε2)<br />

= x*sin(x) + ε1*x*sin(x) + ε2*x*sin(x)<br />

= x*sin(x) + (ε1+ε2)*x*sin(x)<br />

|Δsy| = |y - y| = |(ε1+ε2)*x*sin(x)| ≤ 2εmach|x*sin(x)|<br />

Stabiel.<br />

Stabiliteit t.o.v. de relatieve fout:<br />

|δsy| = |(y - y)/y| = |(ε1+ε2)| ≤ 2εmach<br />

b) f(a,b) = √a - √b<br />

Stabiel.<br />

Konditie t.o.v. de absolute fout:<br />

Δkf = (δf/δa)Δa + (δf/δb)Δb<br />

= 1/(2√a)Δa + 1/(2√b)Δb<br />

|Δkf| = |1/(2√a)Δa + 1/(2√b)Δb| ≤ ½*(|Δa/√a| + |Δb/√b|)<br />

Slecht gekonditioneerd als a ≈ 0<br />

en/of b ≈ 0.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!