Last Updated 10/28/2022
The diff Command
Sage can find the derivatives of a function with one or more variables.
Find the derivatives of .
Here are two ways of finding the second derivative of .
Method I: Use the diff()command twice.
Method II: Use the diff()command with an optional argument indicating the order of the derivative.
Try this!
Compute if .