Wdh,VL04vom03.05.10
3. K on version
3.1implizit(automatisch)(b)ZwischenIntegral-undGleitkomma-Typen:Vom „schwächeren“zum„stärkeren“AusdruckohneCompiler-Warnung bool→char→short→int→longint→float→double→longdouble 3.2explizit(cast):ErzwingenderKonversion:�Typ�(...) datcast.ccEinschub A: Lin eare G leichungssysteme gegeben: � ∈ IR
n×n, b ∈ IR
n; gesucht: x ∈ IR
nmit � x � b Gauß-Algo rithm us (kur z) :
(a)Dreiecksform. (b)Rückwärtseinsetzen.Verf ahren von G auß–Jo rdan .
–p.5Wdh,VL04vom03.05.10
Einschub B: Inter polati on
experimentelleDaten:Approximationan(unbekannte)Funktion gesucht:IntegralüberkomplizierteFunktion Idee:1.ApproximiereFunktion;2.Integriere Laplace:KonstruktiondeseindeutigenPolynoms Neville:RekursionzurBerechnungdes Interpolations-Polynomsaneinem vorgegebenenPunktx Pn�n:Approximationanf�x),diedie Informationvonx0,...,xnenthält.(a)Pj�0=fj (b)Pj�k=Pj�k�1+Pj�k�1�Pj�1�k�1 x�xj�k x�xj�1! k=0�1�...�n;j=k�...�n KubischeSplinesS�x): Motivation:möglichstglatteKurvedurchPunkte+bessere Konvergenz –p.6