You are on page 1of 7

Ho Chi Minh City University of Technology – HCMUT Semester 1 – Calculus 1 – Project Report

Calculus Final Project


1. Introduction
This report is about the application of Calculus 1 in real life. We'll look at everyday examples to see how derivative
and integrals the fundamental of Calculus 1 play a big role in solving real-world problems.
2. Theory:
Derivative is the rate of change of a function, or the slope of the tangent line at a particular point on a function.

Integral

Class CC01 Group 5


Ho Chi Minh City University of Technology – HCMUT Semester 1 – Calculus 1 – Project Report

Part 1: Real life examples


Example 1:
Ms Hang has a factory that make clothes. She’s thinking a about ordering packaging for her clothes. The box (with no
lid) is made of cardboard with the design below. The box has a square base. ide x(cm), height h(cm) and volume 500
cm3.
Find x so that the area of that piece of cardboard is smallest?

Solution:

The volumn of the box reprented by function

To make a box that uses the least amount of cardboard if and only if the total area of the box is the smallest.

The area of the piece of cardboard used to make the box is:

Now we find x so that S(x) is minimum:


We have:

Class CC01 Group 5


Ho Chi Minh City University of Technology – HCMUT Semester 1 – Calculus 1 – Project Report

We can see at x = 0 the function reach it’s minimum is the answer is x = 10

So when x = 10 the area of that piece of cardboard is smallest.

Example 2:

An engineer builds a robot that moves with an acceleration of The initial speed of the object is
2(m/s). This engineer wants to calculate the robot's speed after moving at that acceleration for 2 seconds

Solution:

The robot is moving with the velocity


Select the time base at the start of acceleration

When t = 2 => v(2) = 12 m/s

Example 3:

Suppose that after t years, the invested capital of a business generates profits at the rate P’(t) = 126 + t2 (million
VND/year). Ask after the first 10 years, how much profit will the business earn (unit million VND).

Solution

Class CC01 Group 5


Ho Chi Minh City University of Technology – HCMUT Semester 1 – Calculus 1 – Project Report

After the first 10 years, the business earns a profit of:

(million dong)

Example 4:

One text page of a textbook requires an area of 384cm2. Top and bottom margins are 3cm, left and right margins are
2cm. The optimal size of the page is:

The page has the optimal area when the presentation area is largest:
Denote x as the length of the page.

The width is

Content presentation area is:

We have

Class CC01 Group 5


Ho Chi Minh City University of Technology – HCMUT Semester 1 – Calculus 1 – Project Report

The maximum value of f(x) is 216 when x = 24

So the length is: 24 cm the width is 16cm.

Example 5:

Coffee: A flavorful wake-up call and a comforting companion throughout the day, making every sip a simple moment
of joy. A coffee pot in the form of a circular cylinder of radius 4 in.
is being filled with water flowing at a constant rate. If the water level is rising at the
rate of 0.4in./sec, what is the rate at which water is flowing into the coffee pot?

Let h(in) and V(in3 ) denote the water level and the volume of water in the tank at time t. A coffee pot is in the form of
a circular cylinder of constant radius 4in. Thus, the volume V of water in the tank at time t is

Class CC01 Group 5


Ho Chi Minh City University of Technology – HCMUT Semester 1 – Calculus 1 – Project Report

Part 2: Using Python to solve the first degree of differential equation

Prolems:
'
y = yx

Programming language: Python


Library: Sympy

About Sympy

“SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system
(CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. SymPy is
written entirely in Python.”
(https://www.sympy.org/en/index.html)

Choose a text editor: Here we choose jupiter notebook

Command:
Import: import the library

Symbol(‘variable’): Define the variable

Function(‘function’)(‘variable’): Define the function

Function.diff(‘variable’): Take the derivative of function

Class CC01 Group 5


Ho Chi Minh City University of Technology – HCMUT Semester 1 – Calculus 1 – Project Report

Eq(‘left hand side’,’right hand side’): Create a equation

Display(equation): Show the equation on screen

Dsolve(): solve the equation

Import the library:

Define the variable the function depend on and the function itself

Create an equation

d
As you can see y’ is written as f (x) y is written as f (x)
dx

Solve for f (x)

Class CC01 Group 5

You might also like