Symbolic differentiation with a plot
Source code name: "symb_diff2.m"
Programming language: Octave
Topic: Symbolic/Differentiation
DMelt Version 1. Last modified: 12/09/2016. License: Free
https://datamelt.org/code/cache/symb_diff2_8072.m
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


# This uses Octave language

syms x % symbolic x
y=diff(x*cos(x),x) %  differentiate x*cos(x)
plot2d('minx=0;maxx=10;miny=-1;maxy=10')  % make canvas
draw2d(y) % plot the result