Difference between revisions of "Derivative Command"
From GeoGebra Manual
Line 16: | Line 16: | ||
: {{Example|1= | : {{Example|1= | ||
− | :* <code>Derivative[x^2]</code> gives you "2x". | + | :* <code>Derivative[x^2]</code> gives you "2x". <br /> <br /> Assuming you've declared ''f'' as <code>f(x):=a*x^3</code> |
− | |||
:* <code>Derivative[f(x)];</code> gives you ''3a x²''. | :* <code>Derivative[f(x)];</code> gives you ''3a x²''. | ||
:* <code>Derivative[f(x), a];</code> gives you ''x³''. | :* <code>Derivative[f(x), a];</code> gives you ''x³''. | ||
:* <code>Derivative[f(x), x, 2];</code> gives you ''6a x''.}} | :* <code>Derivative[f(x), x, 2];</code> gives you ''6a x''.}} |
Revision as of 11:44, 29 July 2011
- Derivative[<Function>]
- Returns the derivative of the function.
- Derivative[<Function>, <Number n>]
- Returns the nth derivative of the function.
- Derivative[<Curve>]
Description of command / feature needed. Please enter it instead of this template into Manual:Derivative Command. so that it's included also to the public namespace. For more details see Project:HowTo
- Derivative[<Curve>, <Number n>]
Description of command / feature needed. Please enter it instead of this template into Manual:Derivative Command. so that it's included also to the public namespace. For more details see Project:HowTo
Note: You can usef'(x)
instead ofDerivative[f]
, orf''(x)
instead ofDerivative[f, 2]
, and so on.CAS Syntaxes
In CAS View only following syntax is supported:
- Derivative[<Function f> or <Expression f>]
- Returns derivative of f with respect to x.
- Derivative[<Function f> or <Expression f>, <Variable a>]
- Returns derivative of f with respect to a.
- Derivative[<Function f> or <Expression f>, <Variable a>, <Number n>]
- Returns the nth derivative of f with respect to a.
- Example:
Derivative[x^2]
gives you "2x".
Assuming you've declared f asf(x):=a*x^3
Derivative[f(x)];
gives you 3a x².Derivative[f(x), a];
gives you x³.Derivative[f(x), x, 2];
gives you 6a x.