talk about over engineered. anyways idk if this is fully functional but it only supports integers and you can write functions in the format ax^n+bx^n etc
in case you don't know what a derivative is, it is a function of the slope of the tangent line of a function. for example, velocity is the speed (more or less) of an object, and therefore it is the derivative of that object's position. btw scratch is really unfriendly with functions you have to code in everything by hand