Question: OpenMaple differentiate in visual basic

I'm new with maple and I can't seem to fix my problem. I want to enter in a textbox1.text in Visual Basic, a function -cos(x) for example- and calling a maple procedure to differentiate it and print it in textbox2.text

I've tried EvalMapleStatement and tried also to convert from maple object the result of diff() function with MapleToString.  

Maybe you can also tell me what sort of result returns the function diff(). VB recieves only some numbers that are different for every function I input in textbox1.text from what i've done here.

I have no ideea how can I do it in other ways.

 

Regards.

Please Wait...