HW01 (1) - Math 104A Homework#1 \u2217 Instructor Ruimeng Hu General Instructions Please write your homework papers neatly You need to turn in both

# HW01 (1) - Math 104A Homework#1 u2217 Instructor...

• 2

This preview shows page 1 - 2 out of 2 pages.

Math 104A Homework #1 * Instructor: Ruimeng Hu General Instructions: Please write your homework papers neatly. You need to turn in both full printouts of your codes (a pdf file) and the appropriate runs you made (a jupyter notebook), on Gauchospace. Write your own code, individually. Do not copy codes! 1. Review and state the following theorems of Calculus:(a) The Intermediate Value Theorem.(b) The Mean Value Theorem.(c) Rolle’s Theorem.(d) The Mean Value Theorem for Integrals.(e) The Weighted Mean Value Theorem for Integrals.2. Write a computer code to implement the Composite Trapezoidal Rule quadratureTh[f] =h12f(x0) +f(x1) +...+f(xN-1) +12f(xN),(1)to approximate the definite integralZbaf(x)dx,(2)using the equally spaced points
• • • 