Tag Archives: derivative

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

sympy – proof of the derivative of sin(x) is cos(x)

In IPython-notebook on the web browser interface, checking value of expression is simply typing the name of expression in the following line.

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

sympy – plot(): draw many graphs on one window.

Graph in a window that has 0 <= x <= 2. Then, on the same screen, graph for h = -1, -0.5, -0.1, 0.1, 0.5, 1.

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