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. SymPy is used in many projects such as Cadabra, ChemPy, EinsteinPy, galgebra, Lcapy, SageMath, SfePy, Spyder, yt, etc. SimPy is free, lightweight and Python-based. We outline the contents of this lecture as follows:

00:00 What is SymPy ? 00:59 Installing SymPy using pip 01:53 Importing SymPy 02:16 Symbols 02:33 Defining a mathematical function 03:12 Operations 04:48 Functions & Plotting 11:43 Printing (and pretty printing) 14:12 Simplifying a mathematical expression 26:00 Differentiating 28:34 Integrating 30:59 Limits 33:02 Taylor Series Expansion 35:07 Solving f(x) = 0 26:00 Differentiating 37:39 Solving a system of linear equations 40:56 Solving a system of non-linear equations 41:54 Solving differential equations 43:36 Summary

Ahmad Bazzi

Ahmad Bazzi is an Electrical Engineer and YouTuber. Ahmad Bazzi is a signal processing engineer at CEVA DSP. He holds a PhD in Electrical Engineering from EURECOM. Ahmad Bazzi is a EURECOM alumni. Ahmad Bazzi obtained his Master studies (Summa Cum Laude) in Electrical Engineering at SUPELEC, Paris. Ahmad Bazzi has many publications in well-known IEEE conferences, including a nomination award and is a co-inventor in several patents.
Ahmad Bazzi dedicates time to publish high level lectures on Mathematics (including convex optimization) and Programming. Ahmad Bazzi also focuses on Machine Learning, Convex Optimization, Linear Algebra, Python, SymPy, NumPy, Pandas, CVXOPT, MATLAB, C++ for firmware systems.

I don’t know about you, but I’m a stock analysis junkie, which has its pros and cons. I can never buy a stock without having at least used some of my mathematical and machine learning expertise. However, I can not do so without a proper environment. In this lecture, we […]