Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

function created in python under sage

Below a function in python,

forget();var('n i');g(x)=sin(x)+tan(x);
def maderive(n):
    for i in range(n):
         g=g.diff()
    return g

When I call this function

maderive(3)

It doesn't work, I've got an error .