Difference between revisions of "009C Sample Final 2, Problem 8"

From Grad Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
|&nbsp; &nbsp; &nbsp; &nbsp; where &nbsp;<math style="vertical-align: -18px">R_n(x)=\frac{f^{n+1}(z_x)}{(n+1)!}(x-c)^{n+1}.</math>
 
|&nbsp; &nbsp; &nbsp; &nbsp; where &nbsp;<math style="vertical-align: -18px">R_n(x)=\frac{f^{n+1}(z_x)}{(n+1)!}(x-c)^{n+1}.</math>
 
|-
 
|-
|&nbsp; &nbsp; &nbsp; &nbsp; Also, <math style="vertical-align: -17px">|R_n(x)|\le \frac{\max |f^{n+1}(z)|}{(n+1)!}|(x-c)^{n+1}|.</math>
+
|&nbsp; &nbsp; &nbsp; &nbsp; Also, &nbsp;<math style="vertical-align: -17px">|R_n(x)|\le \frac{\max |f^{n+1}(z)|}{(n+1)!}|(x-c)^{n+1}|.</math>
 
|}
 
|}
  
Line 23: Line 23:
 
!Step 1: &nbsp;  
 
!Step 1: &nbsp;  
 
|-
 
|-
|Using Taylor's Theorem, we have that the error in approximating &nbsp;<math>\cos \frac{\pi}{3}</math>&nbsp; with  
+
|Using Taylor's Theorem, we have that the error in approximating &nbsp;<math style="vertical-align: -13px">\cos \frac{\pi}{3}</math>&nbsp; with  
 
|-
 
|-
|the Maclaurin polynomial of degree &nbsp;<math>n</math>&nbsp; is &nbsp;<math>R_n\bigg(\frac{\pi}{3}\bigg)</math>&nbsp; where
+
|the Maclaurin polynomial of degree &nbsp;<math style="vertical-align: 0px">n</math>&nbsp; is &nbsp;<math style="vertical-align: -16px">R_n\bigg(\frac{\pi}{3}\bigg)</math>&nbsp; where
 
|-
 
|-
 
|&nbsp; &nbsp; &nbsp; &nbsp; <math>\bigg|R_n\bigg(\frac{\pi}{3}\bigg)\bigg|\le \frac{\max |f^{n+1}(z)|}{(n+1)!}\bigg|\bigg(\frac{\pi}{3}-0\bigg)^{n+1}\bigg|.</math>
 
|&nbsp; &nbsp; &nbsp; &nbsp; <math>\bigg|R_n\bigg(\frac{\pi}{3}\bigg)\bigg|\le \frac{\max |f^{n+1}(z)|}{(n+1)!}\bigg|\bigg(\frac{\pi}{3}-0\bigg)^{n+1}\bigg|.</math>
Line 35: Line 35:
 
!Step 2: &nbsp;
 
!Step 2: &nbsp;
 
|-
 
|-
|We note that &nbsp;<math>|f^{n+1}(z)|=|\cos(z)|\le 1</math>&nbsp; or &nbsp;<math>|f^{n+1}(z)|=|\cos(z)|\le 1.</math>
+
|We note that  
 +
|-
 +
|&nbsp; &nbsp; &nbsp; &nbsp;<math style="vertical-align: -5px">|f^{n+1}(z)|=|\cos(z)|\le 1</math>&nbsp; or &nbsp;<math style="vertical-align: -5px">|f^{n+1}(z)|=|\cos(z)|\le 1.</math>
 
|-
 
|-
 
|Therefore, we have  
 
|Therefore, we have  
Line 78: Line 80:
 
</table>
 
</table>
 
|-
 
|-
|So, &nbsp;<math>n=7</math>&nbsp; is the smallest value of &nbsp;<math>n</math>&nbsp; where the error is less than or equal to 0.0001.
+
|So, &nbsp;<math style="vertical-align: 0px">n=7</math>&nbsp; is the smallest value of &nbsp;<math style="vertical-align: 0px">n</math>&nbsp; where the error is less than or equal to 0.0001.
 
|-
 
|-
|Therefore, for &nbsp;<math>n=7</math>&nbsp; the Maclaurin polynomial approximates &nbsp;<math>\cos \frac{\pi}{3}</math>&nbsp; within 0.0001 of the actual value.
+
|Therefore, for &nbsp;<math style="vertical-align: 0px">n=7</math>&nbsp; the Maclaurin polynomial approximates &nbsp;<math style="vertical-align: -13px">\cos \frac{\pi}{3}</math>&nbsp; within 0.0001 of the actual value.
 
|}
 
|}
  
Line 87: Line 89:
 
!Final Answer: &nbsp;  
 
!Final Answer: &nbsp;  
 
|-
 
|-
|&nbsp; &nbsp; &nbsp; &nbsp;<math>n=7.</math>   
+
|&nbsp; &nbsp; &nbsp; &nbsp;<math>n=7</math>   
 
|}
 
|}
 
[[009C_Sample_Final_2|'''<u>Return to Sample Exam</u>''']]
 
[[009C_Sample_Final_2|'''<u>Return to Sample Exam</u>''']]

Revision as of 12:48, 5 March 2017

Find    such that the Maclaurin polynomial of degree  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n}   of  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=\cos(x)}   approximates  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos \frac{\pi}{3}}   within 0.0001 of the actual value.

Foundations:  
Taylor's Theorem
        Let  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f}   be a function whose  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n+1} th derivative exists on an interval  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I}   and let  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c}   be in  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I.}
        Then, for each  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x}   in  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I,}   there exists  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle z_x}   between  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x}   and  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c}   such that
        Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=f(c)+f'(c)(x-c)+\frac{f''(c)}{2!}(x-c)^2+\cdots+\frac{f^{(n)}(c)}{n!}(x-c)^n+R_n(x),}
        where  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_n(x)=\frac{f^{n+1}(z_x)}{(n+1)!}(x-c)^{n+1}.}
        Also,  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |R_n(x)|\le \frac{\max |f^{n+1}(z)|}{(n+1)!}|(x-c)^{n+1}|.}


Solution:

Step 1:  
Using Taylor's Theorem, we have that the error in approximating  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos \frac{\pi}{3}}   with
the Maclaurin polynomial of degree  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n}   is  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_n\bigg(\frac{\pi}{3}\bigg)}   where
        Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \bigg|R_n\bigg(\frac{\pi}{3}\bigg)\bigg|\le \frac{\max |f^{n+1}(z)|}{(n+1)!}\bigg|\bigg(\frac{\pi}{3}-0\bigg)^{n+1}\bigg|.}
Step 2:  
We note that
       Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |f^{n+1}(z)|=|\cos(z)|\le 1}   or  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |f^{n+1}(z)|=|\cos(z)|\le 1.}
Therefore, we have
        Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \bigg|R_n\bigg(\frac{\pi}{3}\bigg)\bigg|\le \frac{1}{(n+1)!}\bigg(\frac{\pi}{3}\bigg)^{n+1}.}
Now, we have the following table.
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \approx\frac{1}{(n+1)!}\bigg(\frac{\pi}{3}\bigg)^{n+1}}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0.548311 }
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0.191396}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 3} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0.050107 }
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 4} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0.01049 }
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 5} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0.00183 }
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 6} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0.000274 }
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 7} Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0.0000358 }
So,  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n=7}   is the smallest value of  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n}   where the error is less than or equal to 0.0001.
Therefore, for  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n=7}   the Maclaurin polynomial approximates  Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos \frac{\pi}{3}}   within 0.0001 of the actual value.


Final Answer:  
       Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n=7}

Return to Sample Exam