July 19, 2019 Compiled on July 19, 2019 at 6:49pm

1 How to solve a ﬁrst oder ODE?

2 How to solve a ﬁrst oder ODE with initial condition?

3 How to solve and ODE and convert the result to latex string?

4 How to solve a PDE in sympy?

5 How to check if something is derivative?

6 How to ﬁnd function name and its arguments in a proc?

2 How to solve a ﬁrst oder ODE with initial condition?

3 How to solve and ODE and convert the result to latex string?

4 How to solve a PDE in sympy?

5 How to check if something is derivative?

6 How to ﬁnd function name and its arguments in a proc?

Solve \( y'(x)=1+2 x\) for \(y(x)\)

Solve \( y'(x)=1+2 x\) for \(y(x)\) with \(y(0)=3\)

Solve \( y'(x)=1+2 x\) for \(y(x)\) with \(y(0)=3\)

\[ y{\left (x \right )} = x^{2} + x + 3 \]

PDE solving is still limited in sympy. Here is how to solve ﬁrst order pde

Solve \( u_t(x,t)=u_x(x,t)\)

\[ u{\left (x,t \right )} = F{\left (t + x \right )} \]

This also works, which seems to be the more prefered way

Suppose one passes \(y(x)\) to a function, and the function wants to ﬁnd the name of this function and its argument. Here is an example

This prints