Python Basics Episode 11 | Trigonometric & Mathematical Functions | Code4Community CDP

Published: 09 August 2026
on channel: Code4Community CDP
12
2

Welcome to Python Basics Episode 11 by Code4Community CDP!
In this episode, we continue with PART 2 of UNIT 3 of our Python Basics series.
In the previous episode, we explored important Python function concepts including parameters and arguments, keyword arguments, lambda functions, local and global variables, function composition, recursion, mathematical functions, and random numbers.

Now, we continue Unit 3 by going deeper into Python's Math module and learning how to perform mathematical and trigonometric calculations.

TOPICS COVERED IN THIS EPISODE:

Python Math Module
Trigonometric Functions
math.sin()
math.cos()
math.tan()
Degrees and Radians
math.radians()
math.degrees()
Mathematical Constants
math.pi
math.e
Practical Mathematical Programs
Circle Calculator
Trigonometry Calculator

PRACTICAL EXAMPLES:

• Calculating sine, cosine and tangent
• Converting degrees to radians
• Converting radians to degrees
• Calculating the area of a circle
• Calculating circumference
• Working with mathematical constants
• Creating a simple trigonometry calculator

WHAT YOU WILL LEARN:

By the end of this episode, you'll understand how Python's math module can be used for mathematical calculations and how trigonometric functions work in Python.

You'll also understand an important concept:

Python's trigonometric functions use RADIANS rather than degrees.

--------------------------------------------------

📝 ASSIGNMENT

Create a Python program that asks the user to enter an angle in degrees.

Your program should display:

👉 Sine
👉 Cosine
👉 Tangent

Use:

math.radians()
math.sin()
math.cos()
math.tan()

⭐ CHALLENGE:

Create a Circle Calculator that asks the user for the radius and calculates:

• Area
• Circumference
• Diameter

Use math.pi.

🔥 EXTRA CHALLENGE:

Create a program that converts an angle from radians into degrees using:

math.degrees()

--------------------------------------------------

📚 UNIT 3 — PART 2

Topics covered:

✔ Mathematical Functions
✔ Trigonometric Functions
✔ Sine
✔ Cosine
✔ Tangent
✔ Degrees & Radians
✔ Mathematical Constants
✔ Pi
✔ Euler's Number
✔ Practical Math Programs

--------------------------------------------------

🌟 ABOUT CODE4COMMUNITY CDP

Code4Community CDP is an educational initiative created as part of a Community Development Project to make programming simple, practical and accessible to students and beginners.

This Python series focuses on:

✔ Simple explanations
✔ Live coding
✔ Practical examples
✔ Assignments
✔ Programming challenges

The goal is to build strong programming fundamentals through consistent practice.

--------------------------------------------------

📌 PREVIOUS EPISODE:

Python Basics Episode 10 | Functions, Recursion & Random Numbers | Code4Community CDP

📌 THIS EPISODE:

Python Basics Episode 11 | Trigonometric & Mathematical Functions

📌 NEXT:

Python Basics | Unit 4 — Strings, Lists & Tuples

--------------------------------------------------

💬 QUESTION OF THE DAY:

Why does Python's math.sin() function require radians instead of degrees?

Write your answer in the comments! 👇

--------------------------------------------------

👍 SUPPORT CODE4COMMUNITY CDP:

✔ Like the video
✔ Share it with your classmates
✔ Subscribe to Code4Community CDP
✔ Turn on notifications 🔔

--------------------------------------------------

#Python
#PythonBasics
#PythonTutorial
#PythonForBeginners
#LearnPython
#PythonProgramming
#PythonMath
#MathModule
#Trigonometry
#PythonFunctions
#PythonSin
#PythonCos
#PythonTan
#PythonRadians
#PythonProgrammingForBeginners
#Code4Community
#CDP
#CommunityDevelopmentProject
#LPU
#LovelyProfessionalUniversity
#LPUCSE
#BTechCSE


On this page of the site you can watch the video online Python Basics Episode 11 | Trigonometric & Mathematical Functions | Code4Community CDP with a duration of hours minute second in good quality, which was uploaded by the user Code4Community CDP 09 August 2026, share the link with friends and acquaintances, this video has already been watched 12 times on youtube and it was liked by 2 viewers. Enjoy your viewing!