2. Compute the fourth order Taylor expansion for sin(x) and cos(x) and sin(x)cos(x) around 0. (30%) a. Write down your m
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
2. Compute the fourth order Taylor expansion for sin(x) and cos(x) and sin(x)cos(x) around 0. (30%) a. Write down your m
question b. Which produces less error for x=/2: computing the Taylor expansion for sin and cos separately then multiplying the result together, or computing the Taylor expansion for the product first then plugging in x? Use the same order of Taylor series to approximate cos (7/4) and determine the truncation error bound. You may include either your manual calculation OR Python script for this question C.
2. Compute the fourth order Taylor expansion for sin(x) and cos(x) and sin(x)cos(x) around 0. (30%) a. Write down your manual calculation AND Python script to answer above's