+ 1

Please is there any way I can use python to solve formal geometry and would be great to see an example.. Thanks

Python

15th Feb 2021, 3:03 PM
Abdullah
3 Respostas
+ 10
Moosa Abdullah , can you gives some examples what you want to achieve? thanks!
15th Feb 2021, 3:05 PM
Lothar
Lothar - avatar
+ 2
Moosa Abdullah from sympy import symbols,solve,Eq x=symbols('x') exp=Eq((x + 2*x + 3*x),180) sol=solve(exp) print(sol[0]) The source which helped to understand how to use sympy , https://www.geeksforgeeks.org/degrees-and-radians-in-JUMP_LINK__&&__python__&&__JUMP_LINK/amp/ though you should use official documentation as a reference .
15th Feb 2021, 3:59 PM
Abhay
Abhay - avatar
+ 1
Something like using the geometry theorem rules to solve a problem with python.. Eg : the angles of a triangle are x, 2x and 3x. Find the value of x in degrees.. Would be great to get the step by step process in python
15th Feb 2021, 3:09 PM
Abdullah