0% found this document useful (0 votes)
204 views2 pages

MA103 Lab 7 Solutions

This document provides instructions for a lab report on antiderivatives and Riemann sums. It includes 4 problems: 1) finding the investment needed to produce a given number of units, 2) finding a polynomial function with given properties, 3) finding a function with a given slope and passing through a point, and 4) using Riemann sums and Maple's ApproximateInt() function to estimate the area under a curve.

Uploaded by

subway9113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
204 views2 pages

MA103 Lab 7 Solutions

This document provides instructions for a lab report on antiderivatives and Riemann sums. It includes 4 problems: 1) finding the investment needed to produce a given number of units, 2) finding a polynomial function with given properties, 3) finding a function with a given slope and passing through a point, and 4) using Riemann sums and Maple's ApproximateInt() function to estimate the area under a curve.

Uploaded by

subway9113
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MA103 Lab Report 7 - Antiderivatives; Riemann sums Winter 2023

Open the file Lab 7 Maple Worksheet (found on MyLearningSpace) in Maple. Read through the file and use it as indicated
during the lab. Show all steps in the solutions to the following problems. Insufficient justification will result in a loss of marks.

1. [4 marks] A company has determined its marginal production level to be P ′ (x) = 200x−2/3 units produced per dollar of
investment. If 5500 units are produced when $8000 is invested, how much needs to be invested to produce 17500 units?

When P ′ (x) = 200x−2/3 then P (x) = 600x1/3 + C

Now P (8000) = 5500 ⇒ 600(8000)1/3 + C = 5500

⇒ C = 5500 − 600(20) = −6500

∴ P (x) = 600x1/3 − 6500

To produce 17500 units, P (x) = 17500 ⇒ 600x1/3 − 6500 = 17500

24000
⇒ x1/3 = = 40
600
⇒ x = 64000

∴ $64000 must be invested in order to increase production to 17500 units.

2. [6 marks] Find a polynomial f with the following properties:


i) f has points of inflection at x = 0 and x = 3 (i.e. f ′′ (0) = f ′′ (3) = 0).
ii) f ′′ (1) = −24.
iii) f has a slope of 2 at x = −1.
iv) f has a y-intercept at y = 2.

(i) ⇒ f ′′ (x) = Ax(x − 3)


(ii) ⇒ f ′′ (1) = −(−2)A = 2A = −24 ⇒ A = −12
⇒ f ′′ (x) = 12x(x − 3) = 12x2 − 36x

⇒ f ′ (x) = 4x3 − 18x2 + C

Now, (iii) ⇒ f ′ (−1) = 2 ⇒ 4(−1)3 − 18(−1)2 + C = 2

⇒ C = 2 + 4 + 18 = 24

⇒ f ′ (x) = 4x3 − 18x2 + 24

⇒ f (x) = x4 − 6x3 + 24x + K

Now, (iv) ⇒ f (0) = 2 ⇒ K = 2 ∴ f (x) = x4 − 6x3 + 24x + 2

2 + x2  π
3. [4 marks] Find the function f that has slope for x ∈ dom f and passes through the point 1, .
1 + x2 4
[Hint: 2 = 1 + 1]
2 + x2 π
f ′ (x) = Now, f (1) =
1 + x2 4

1 + (1 + x2 ) π
= ⇒ tan−1 (1) + 1 + C =
1 + x2 4

1 π π
= +1 ⇒ +1+C =
1 + x2 4 4

⇒ f (x) = tan−1 x + x + C ⇒ C = −1 ∴ f (x) = tan−1 x + x − 1

4. [8 marks] Suppose that f (x) = x3 + 5.

(a) Suppose you want to estimate the area under the graph of f (x) from x = 0 to x = 12 using 4 approximating rectangles
and right endpoints.
i. Define the function in Maple. On the provided template, write down the x and y-values representing f evaluated
at the 4 right endpoints on the desired interval. I.e. (x1 , f (x1 )), (x2 , f (x2 )), etc.

The four points are (3, 32), (6, 221), (9, 734), and (12, 1733).

ii. Using your answer from part (i), estimate the area under the graph of f (x) on the desired interval. You may use
Maple, but write down all steps in your calculations.

12 − 0
A ≈ [f (3) + f (6) + f (9) + f (12)] = 3 (32 + 221 + 734 + 1733) = 8160
4

(b) In Maple, use the ApproximateInt() function to calculate the approximate net area between f (x) and the x-axis
between x = 0 and x = 12. Record the result in the appropriate cell of the table provided on your answer sheet.
Complete the table for the varying values of n using the i) right endpoint, ii) left endpoint, and iii) midpoint of each
subinterval. Where necessary, round results to 3 decimal places.

[Note: Try using the output=plot option in the ApproximateInt() function to obtain a picture of the approximating
rectangles.]

n 4 64 1024
i) Area using Right Endpoints 8160 5407.265 5254.130
ii) Area using Left Endpoints 2976 5083.266 5233.880
iii) Area using Midpoints 5082 5243.367 5243.998

(c) Ask your IA to initial that you completed the Maple for this question.

22
Grade:
22

You might also like