Python Math Library Tutorial | Log, exp(), sqrt(), pow() Explained | Guide)lecture11

Опубликовано: 25 Июнь 2026
на канале: Signals and Systems
28
0

Source Code for this lecture: 🔗 https://github.com/engrayaz/python-fo...
Full Playlist Link:
   • Python for Academic & Engineering Students  

In this lecture, we learn how to use the math library in Python to perform mathematical operations step by step.

This video is part of the “Python for Academic & Engineering Students” series designed for:
• FSc & ICS students (Pakistan)
• College students
• Engineering students
• Mathematics & Physics students
• University beginners
• Anyone starting programming from scratch

Topics Covered:
What is a library in Python?
Introduction to math library
How to import a library (import math)
Using dot notation (math.function)
Exponents and square roots
Logarithmic functions (log, log10, custom base)
Antilog (exponential functions)
Introduction to other libraries: cmath, numpy, matplotlib
💻 Example Programs:
math.pow()
math.sqrt()
math.log()
math.log10()
math.exp()
📝 Homework:
Find antilog of 1 (base e)
Find antilog of 2 (base 10)
Find antilog of 3 (base 8)
This course is designed for:

No prior programming experience is required!
Source Code & Course Material:
https://github.com/engrayaz/python-fo...
Instructor:
Engr Syed Ayaz Ali Shah, PhD
Assistant Professor | Artificial Intelligence | Signal Processing