Evaluating Expressions - SymPy Tutorial 06

preview_player
Показать описание
This is the sixth video in a new series on SymPy - Symbolic Computations in Python. In this video, we will show you how to substitute values in expressions. Also, we will talk about restricting symbols to be of specific types (such as real, positive, or integer).

▬▬▬▬▬▬ 😎 Our Full Courses 😎 ▬▬▬▬▬▬
📖 _Machine Learning in Python with Scikit-Learn_ 📖

📖 _Scientific Computing with NumPy_ 📖

📖 _Academic Typesetting with LaTeX_ 📖

▬▬▬▬▬▬ 📙 Resources About SymPy 📙 ▬▬▬▬▬▬
► The Full Documentation for SymPy:

▬▬▬▬▬▬ ⏰ Timestamps ⏰ ▬▬▬▬▬▬
00:00 - Introduction
00:37 - Restricting Symbols
04:15 - How to evaluate expressions?
06:15 - Going Numeric

▬▬▬▬▬▬ ❤️ Want to Support Us? ❤️ ▬▬▬▬▬▬
► Subscribe to our YouTube Channel

► Check out our courses on Udemy

► Check out our courses on Skillshare
Рекомендации по теме
Комментарии
Автор

The log is a multiple-valued function in the complex plane.

SuperDeadparrot
Автор

It was a 9 minute video and I didn't see an evaluation of an expression like f(x) = 2*x+3, solve this function for x (I know how to do in Python symbolically), then evaluate f(x_sol) which was the x we solved for in the previous step.

Nvm. After 5 hours I was able to write a function that does what I wanted above. Sorry
def starting_x_y_value(expr, x_start, y_start):
expr = solve(3*x+4, x)
x_start = expr[0]
y_start = 3*x_start+4

🤣

Primitive_Code