Answer the question
In order to leave comments, you need to log in
How, by counting sin (pi / 3), to get the answer "√3/2", and not its exact value?
For example: how to use math, numpy or some other library, after calculating sin(pi/3), get in the answer not 0.8660254037844386, but an irrational number '√3/2'
Answer the question
In order to leave comments, you need to log in
I would google something like "python symbolic math"
For starters, you can look at this library: sympy.org/en/index.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question