Let me define an exponential polynomial as a linear combination of terms exp(a*X) where the as are distinct complex numbers. By taking only imaginary as we obta
I have several expressions involving the norm or norm squared of a vector u. I'd like to simplify these expressions by substituting a known value for the norm o
Python Sympy running in a pyscript environment is not displaying init_printing(use_unicode=True) characters, for example a √ symbol", nor integrated sympy
For an integral calculation, Sympy evaluates the same result as me and wolframalpha with a negative sign. The integral I am evaluating is strictly positive so i
I have the following single-choice exercise RadicalPrimo.Rmd, which is intended to simplify square roots: ```{r data generation, echo = FALSE, results = "hide"}
Is it possible to create indexed functions in sympy like fi(t) which might be used in a product or sum, eg Σfi(t)? import sympy as sp f = sp.Function('f')
Given a symbolic multivariate polynomial P, I need to extract both its coefficients and corresponding monomials as lists: def poly_decomp(P): .... retu
Is there any way to get the step-by-step solution in SymPy? For example: x**2-5 = 4 step 1 x**2-5+5=4+5 step 2 : x**2=9 step 3 :x = 3 or x= -3
I am trying to solve the following system of first order coupled differential equations: - dR/dt=k2*Y(t)-k1*R(t)*L(t)+k4*X(t)-k3*R(t)*I(t) - dL/dt=k2*Y(t)-k1*
I am trying to write an algorithm using turtle. The turtle is bouncing in a polygon, and painting a portion of the edge it touches. The algorithm should termina
I am trying to define a lot of variables in "sympy" for symbolic processing. import sympy as sp b_0 = sp.symbols('b_0') b_1 = sp.symbols('b_1') ... b_X = sp.sy
Is it possible to do from matrix_multiply_elementwise in sympy library with more than two matrices? Or any other way for multiplying couple of matrices elementw
I am trying to solve and display a graph of the following equation: f'=af²-bf Therefore I have tried to use scipy.integrate.odeint library function to so