Тёмный

Solve Equations with SymPy! Python Basic Algebra Tutorial 

MCC Py Tutorials
Подписаться 1,9 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@mccpytutorials7955
@mccpytutorials7955 3 года назад
Beginner SymPy Tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MGLFA7WjK7M.html
@alaasleem2149
@alaasleem2149 3 года назад
Please i want to help with single degree linear eq how to solve(solce(eq, x) ) it with sympy.. I tried but it takes laege time
@mccpytutorials7955
@mccpytutorials7955 3 года назад
Thanks for the question - this thread might be helpful to you: stackoverflow.com/questions/37954278/poor-sympy-linsolve-solve-performance
@christian1233211000
@christian1233211000 3 года назад
Is it not possible to write code with sympy functions in a program instead of the console?
@mccpytutorials7955
@mccpytutorials7955 3 года назад
Good question - you can! Just take what I did in the console and apply to your file, the syntax is the same. You can also use a Jupyter Notebook. Thanks
@fidaulmustafa2904
@fidaulmustafa2904 Год назад
If I am solving an equation for x and I want to save the final answer (e.g., after running the solve(eqn, x) line), as simple float into a different variable name then how can I do that? I just need the value of x. Can you guide me?
@aadiknigam8361
@aadiknigam8361 2 года назад
Nicely explain sir 👏
@abdurrahaman388
@abdurrahaman388 2 года назад
Can we solve multivariable equation??
@FernandoRamirez-ch4io
@FernandoRamirez-ch4io 3 года назад
is it possible to evaluate the [x-1] from minute 14:07? I mean convert that answer into a function
@mccpytutorials7955
@mccpytutorials7955 3 года назад
This article might be helpful to you: pythonforundergradengineers.com/sympy-two-equations-for-two-unknows-and-statics-problem.html
@FernandoRamirez-ch4io
@FernandoRamirez-ch4io 3 года назад
@@mccpytutorials7955 Thank you, ir. Btw, I used the function replace and it also worked
@dorasmuris
@dorasmuris 2 года назад
For those that need a 'forced solved', it is N(your_equation)
@sifsif2725
@sifsif2725 3 года назад
Can the equations be taken as user inputs, so solving an equation from the user?
@mccpytutorials7955
@mccpytutorials7955 3 года назад
Hi, good question. Yes, you can use "sympify" to convert the user input into something useable here. Here's a short example for you, if you were to do this on CoCalc where a user types in Eq(3+x, 23). In: from sympy.solvers import solve from sympy import Symbol x = Symbol('x') In: eqn = sympify(input("Type in your equation using Eq() formatting, please: ")) solve(eqn) Out: Type in your equation using Eq() formatting, please: Eq(3+x, 23) [20] You can do fancier things if you don't think your user will be familiar with that formatting, or you can lay out more instructions in your prompt inside the parentheses of your input() function, but the above should cover the general principle. Hope this is helpful, thanks for watching.
@sifsif2725
@sifsif2725 3 года назад
@@mccpytutorials7955 Oh I see, thank you very much
@JoaoVictor-og2fd
@JoaoVictor-og2fd 2 года назад
Thank you so muuch
@hasibulislamsourav9333
@hasibulislamsourav9333 3 года назад
can I use letters instead of number?
@mccpytutorials7955
@mccpytutorials7955 3 года назад
Yep, definitely - I go into different ways to define symbols in the intro tutorial here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MGLFA7WjK7M.html
@au._.79
@au._.79 3 года назад
Thank you very much sir! ❤️❤️❤️
@mccpytutorials7955
@mccpytutorials7955 3 года назад
Thanks for watching!
@vishala8788
@vishala8788 2 года назад
your sound like bill gates
Далее
SymPy - Matrices and Matrix Operations Tutorial
37:54
МЖ. Может, папа - ты? 16.02.2023
40:03
Просмотров 113 тыс.
Solving Equations - SymPy Tutorial 04
9:43
Просмотров 10 тыс.
25 nooby Python habits you need to ditch
9:12
Просмотров 1,8 млн
How to Solve Differential Equations in PYTHON
23:37
Просмотров 107 тыс.
SymPy is REVOLUTIONARY For Mathematical Tasks
25:15
Просмотров 70 тыс.
Every Python Function Explained
23:22
Просмотров 113 тыс.
How Math Becomes Difficult
39:19
Просмотров 176 тыс.
Derivatives In PYTHON (Symbolic AND Numeric)
17:37
Просмотров 51 тыс.
Symbolic Manipulation in Python
28:18
Просмотров 63 тыс.