RelativisticPy Build in Functions

Variable Assignment

The variable assignment function allows you to assign a value or expression to a variable and use it in subsequent calculations.

y = x**2 + 5*x + 9

We can now use this variable y at any point later in the notebook and use it as a replacement for the expression above.

integrate( y , x )

Integration

The integrate function allows you to perform integration of an expression with respect to the specified variables.

integrate( x**4 + x - 8 , x )

Differentiation

The diff function allows you to perform differentiation of an expression with respect to the specified variables.

diff(sin(x) + exp(x**2) + x**2, x)

Solve

The solve function allows you to solve an equation or system of equations.

solve(x**2 + 4*x + 4, x)

Simplify

The simplify function allows you to simplify a given expression by applying algebraic transformations.

simplify( x**2 + 4*x + 4 )

Expand

The expand function allows you to expand a given expression by multiplying out parentheses and combining like terms.

expand( (x + 5)**3 )

Series

The series function allows you to compute the power series expansion of a given expression.

series(sin(x), x, 1, 5)

Factor

The factor function allows you to factor a given expression by finding its prime factors.

factor( x**2 + 4*x + 4 )

Limit

The limit function allows you to compute the limit of a given expression as a variable approaches a specified value.

limit(1/x**2, x, 10)