Using the doit ()
method in the simpy module, we can evaluate objects that are not evaluated by default, such as limits, integrals, sums, and products. Note that all objects of this type will be evaluated recursively.
Syntax: sympy.doit (x) Return: evaluated object
Code # 1:
With the examples below, we can clearly understand that with sympy.doit ()
we can evaluate objects that are not evaluated by default.
|
Exit:
x**2
Code # 2:
|
Exit :
3 * a + b * log (a) + log (a) * log (1 / b) + log (b)