Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sympy

Attributeerror: 'mul' Object Has No Attribute 'sqrt'

I am receiving the error stated in the title. Full error: MaxD = Cone*np.sqrt(SymsX/np.pi)*np.exp((… Read more Attributeerror: 'mul' Object Has No Attribute 'sqrt'

Sympy Factor Simple Relationship

I have a simple factorization problem in sympy that I cannot sort out. I've had great success … Read more Sympy Factor Simple Relationship

Integrals In Python: Add Object Not Callable

I'm trying to solve an integral of a taylor approximation of a sin(x) function by using the tra… Read more Integrals In Python: Add Object Not Callable

Dealing With Piecewise Equations Returned By Sympy Integrate

In sympy I have an integral which returns a Piecewise object, e.g. In [2]: from sympy.abc import x,… Read more Dealing With Piecewise Equations Returned By Sympy Integrate

Create A Formal Linear Function In Sympy

I have an expression in Sympy (like -M - n + x(n) ) and I would like to create a formal linear fu… Read more Create A Formal Linear Function In Sympy

Convert Xy To X*y?

I am working on a project where user enters the input in the form of xy or 2x or 2ab but sympy is n… Read more Convert Xy To X*y?