Homework 1 Solution
1
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
description
vfscs
Transcript of 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