Essays.club - Ensayos gratis, notas de cursos, notas de libros, tareas, monografías y trabajos de investigación
Buscar

DERIVACION PROGRESIVA

Enviado por   •  4 de Noviembre de 2021  •  Prácticas o problemas  •  319 Palabras (2 Páginas)  •  351 Visitas

Página 1 de 2

>> % DERIVACION NUMERICA 2 PUNTOS

>> % DERIVACION PROGRESIVA

>> x0=1.8; h=0.1; f1=log(x0+h), fp=(1/h)*(f1 - log(x0)), Er=abs(h/(2*(x0).^2))

f1 =

0.641853886172395

fp =

0.540672212702757

Er =

0.015432098765432

>> x0=1.8; h=0.01; f1=log(x0+h), fp=(1/h)*(f1 - log(x0)), Er=abs(h/(2*(x0).^2))

f1 =

0.593326845277734

fp =

0.554018037561532

Er =

0.001543209876543

>> x0=1.8; h=0.001; f1=log(x0+h), fp=(1/h)*(f1 - log(x0)), Er=abs(h/(2*(x0).^2))

f1 =

0.588342066193819

fp =

0.555401291699953

Er =

1.543209876543210e-04

>> % DERIVACION CENTRADA

>> x0=1.8; h=0.1; f1=log(x0+h), f2=log(x0-h), fp=(1/(2*h))*(f1 - f2), Er=abs(h/(2*(x0).^2))

f1 =

0.641853886172395

f2 =

0.530628251062170

fp =

0.556128175551122

Er =

0.015432098765432

>> % DERIVACION REGRESIVA

>> x0=1.8; h=0.1; f1=log(x0-h), fp=(1/h)*(log(x0) - f1), Er=abs(h/(2*(x0).^2))

f1 =

0.530628251062170

fp =

0.571584138399487

Er =

0.015432098765432

Er =

1.543209876543210e-04

>> % DERIVACION NUMERICA 3 PUNTOS

>> % DERIVACION PROGRESIVA

>> x0=2; h=0.1; f0=x0*exp(x0), f1=(x0+h)*exp(x0+h), f2=(x0+2*h)*exp(x0+2*h), fp=(-3*f0 + 4*f1 - f2)/(2*h)

f0 =

14.778112197861301

f1 =

17.148956816392065

f2 =

19.855029698755072

fp =

22.032304866146450

>> % DERIVACION REGRESIVA

>> x0=2; h=0.1; f0=x0*exp(x0), f1=(x0-h)*exp(x0-h), f2=(x0-2*h)*exp(x0-2*h), fp=(f2 - 4*f1 + 3*f0)/(2*h)

...

Descargar como  txt (3 Kb)   pdf (35.3 Kb)   docx (10.7 Kb)  
Leer 1 página más »
Disponible sólo en Essays.club