Tag Archives: SymPy

Build IPython for Python 3.x

I use IPython as SymPy interface which serves as command-line CAS (Computer Algebra System) application. It’s one of critical software I depend on whenever I study mathematics. I decided to uprade IPython for Python 3.x because I felt making Python … Continue reading

Posted in GNU/Linux, Python | Tagged , , , , , , , , , | 1 Comment

Starting ipython for interactive sympy

$ ipython –pylab Python 2.7.10+ (default, Oct 10 2015, 09:11:24) Type “copyright”, “credits” or “license” for more information. IPython 2.3.0 — An enhanced Interactive Python. ? -> Introduction and overview of IPython’s features. %quickref -> Quick reference. help -> Python’s … Continue reading

Posted in GNU/Linux, Python | Tagged , , , | Leave a comment

sympy – find equations for the lines that are tagent and normal to the curve at (1, 2).

Chapter 2 Practice Exercises, p183

Posted in Python | Tagged , , , , , | Leave a comment

sympy – changing graph color of plot()

plot() handles color names for RGB color codes. SymPy document doesn’t explain it clearly or sample codes don’t exit. Here is another example.

Posted in Python | Tagged , , , , , , | 1 Comment

sympy – an example of implicit differentiation

Posted in Python | Tagged , , , | Leave a comment

sympy – sawtooth function

Calculus and Analytic Geometry, George B. Thomas and Ross L. Finney Exercises 2.5 81, p163 s = 0.78540 – 0.63662*cos(2*t) – 0.07074*cos(6*t) – 0.02546*cos(10*t) – \ 0.01299*cos(14*t) plot(s, (t, -pi, pi)) dsdt = 1.27324*sin(2*t) + 0.42444*sin(6*t) + 0.2546*sin(10*t) + 0.18186*sin(14*t) … Continue reading

Posted in Python, Science and technologies | Tagged , , , , , , , , | Leave a comment

sympy – appling the chain rule manually to find derivative of a function.

I spent few hours to figure out how to apply the chain rule manually to find derivative of a function due to poor documentation of SymPy. I’m not that smart guy.

Posted in Python | Tagged , , , , | Leave a comment