homework_1_F17.pdf - Homework 1 Math 104 A 1 Instructor...

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

Homework # 1 , Math 104 A 1 Instructor: Prof. Hector D. Ceniceros General Instructions : Please write your homework papers neatly. You need to upload both full your codes and the runs you made, properly commented. Make sure that all your codes have a preamble which describes the purpose of the code, all the input variables, the expected output, your name, and the date of the last time you modified the code. Write your own code, individually. Do not copy codes! 1. Review and state the following theorems of Calculus (see for example 1.1 and 1.2 in the textbook): (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 quadrature T h [ f ] = h 1 2 f ( x 0 ) + f ( x 1 ) + . . . + f ( x N - 1 ) + 1 2 f ( x N ) (1) to approximate the definite integral I [ f ] = Z b a f ( x ) dx, (2) using the equally spaced points x 0 = a, x 1 = x 0 + h, x 2 = x 0 + 2 h, . . . , x N = b , where h = ( b - a ) /N .
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '08
  • Staff
  • Math

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern