You are on page 1of 3

Tarea 3

Laura Jessica Ortega Laguna


22 de Octubre de 2019

1 Compute the numerical aproximation of f 0 (3),


if f (x) = x2 +2x using the adove definition (con-
sider h = 1).
1.1 Graficar f (x)

Figure 1: grafica de f (x)

1.2 Graficar f 0 (x)

1
Figure 2: grafica de f 0 (x)

1.3 Diferencia hacia adelante


f (xi + h) − f (xi )
f 0 (xi ) =
h
f (3 + 1) − f (3)
f 0 (3) =
1
f (4) − f (3)
f 0 (3) =
1
(42 + 2(4)) − (32 + 2(3))
f 0 (3) =
1
24 − 15
f 0 (3) = =9
1

1.4 Diferencia hacia atras


f (x) − f (x − h)
f 0 (x) =
h
f (3) − f (3 − 1)
f 0 (3) =
1
f (3) − f (2)
f 0 (3) =
1

2
(32 + 2(3)) − (22 + 2(2))
f 0 (3) =
1
15 − 8
f 0 (3) = =7
1

1.5 Diferencia central


f (xi + h) − f (xi − h)
f 0 (xi ) =
2∗h
f (3 + 1) − f (3 − 1)
f 0 (3) =
2∗1
f (4) − f (2)
f 0 (3) =
2
(42 + 2(4)) − (22 + 2(2))
f 0 (3) =
2
24 − 8
f 0 (3) = =8
2

You might also like