Download - Homework 1 Solution

Transcript
Page 1: Homework 1 Solution

PIC 20A, Winter 2015 – Homework 1 Solution

1. Choose (or construct) a quadratic function with real roots

𝑓(𝑥) = (𝑥 + 1)(𝑥 − 1)

2. Find the roots by any means (e.g. quadratic formula)

𝑥 = ±1

3. Express the equation in the form 𝑓(𝑥) = 0

𝑓(𝑥) = 𝑥2 − 1 = 0

4. Calculate the derivative 𝑓′(𝑥)

𝑓′(𝑥) = 2𝑥

5. Choose an initial guess 𝑥0 that does not satisfy the equation and for which 𝑓′(𝑥0) is nonzero

𝑥0 = 2