[backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]

Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x`
This commit is contained in:
Tor Arvid Lund
2019-11-06 13:42:39 +01:00
committed by Miran
parent 61889c604a
commit 5ccbf7e3cf

View File

@@ -28,7 +28,7 @@ Examples of things that can be implemented in macros:
* Symbolic differentiation of an expression.
``diff(a*pow(x,3) + b*pow(x,2) + c*x + d, x)`` is converted to
``3*a*pow(x,2) + 2*a*x + c``
``3*a*pow(x,2) + 2*b*x + c``
Macro Arguments