Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Image: ubuntu2004
Shri Ramdeobaba College of Engineering and Management,Nagpur
Department of Mathematics
Computational Mathematics Lab
Name:Sharvari Gohane
Roll Number:67
Section: C
Experiment 3: Differential Calculus and its Applications
Aim: To Learn Calculus with SageMath
1. Limit
To Evaluate syntax is:
Syntax: limit(f(x),x=a, dir='+'or '-')
"dir" - (default: None); dir may have the value 'plus' (or '+' or 'right' or 'above') for a limit from above, 'minus' (or '-' or'left' or 'below') for a limit from below, or may be omitted (implying a two-sided limit is to be computed).
Problem: Find the limit of
Problem:
Evaluate
Problem:
Evaluate for various values of .
Exercise 3.1
Find the following limits
Solution-1
Solution 2
2.Derivatives
The syntax for derivative of f(x) is
diff(f, args)
Repeated differentiation is supported by the syntax given in the examples below.
Problem
Consider a function . Plot the graph of along with first two derivative in .
Exercise 3.2
Find the first four derivatives of and plot them along with the graph of .
Solution-1
Find the first four derivative of .
Solution-2
3. Partial Derivatives
For find
Problem
For , find all first order and second order derivatives at point (1,2).
Exercise 3.3
Let . Show that .
Solution-1
Find all the first order partial derivatives of
Solution-2
4. Implicit Derivative
Find the slope formula for the Folium of Descartes implicitly defined by x^3 + y^3 = 6xy.( Find )
Exercise 3.4
Find the for the implicit function .
Solution-1
Find the for the implicit function .
Solution-2
5. Local Maximum and Minimum
Syntax for finding local maximum value of function in interval is
f.find_local_maximum(a,b).
Syntax for finding local minimum value of function in interval is
f.find_local_minimum(a,b).
Problem:
Find the local maximum and local minimum of the function .
Problem:
Consider a function
(a) Find the intervals on which f is increasing or decreasing.
(b) Find the local maximum and minimum values of f.
(c) Find the intervals of concavity and the inflection points.
Problem:
The Hubble Space Telescope was deployed on April 24, 1990, by the space shuttle Discovery. Amodel for the velocity of the shuttle during this mission, from liftoff at until the solid rocket boosters were jettisoned at seconds, is given by
(in feet per second). Using this model, estimate the absolute maximum and minimum values of the acceleration of the shuttle between liftoff and the jettisoning of the booster.
Exercise 3.5
Find the local maximum and local minimum of .
Solution-1
The power needed to propel an airplane forward at velocity is
where and are positive constants specific to the particular aircraft and L is the lift, the upward force supporting the weight of the plane. Find the speed that minimizes the required power.
Solution-2
Learning:
In this experiment we learnt to find out the limits,derivatives of a given function,also their partial and implicit derivatives. We also learned to find out the local maximum and local minimum of the functions using sagemath and also plot their graphs.