On 2013-03-26, Rupert Swarbrick <rswarbrick at gmail.com> wrote:
> Mohamed Rayes <rayes.o.mohamed at gmail.com> writes:
>> Function F = (Function) S.getSymbolFunction ();
>>
>> does indeed find the function $DIFF, but the statements
>>
>> LispObject exp = I.eval("'(%SIN) $x)");
Hmm, is there a typo here? Looks like parentheses don't match.
>> LispObject x = I.eval("'$x");
>>
>> LispObject result = F.execute(exp,p);
>>
>> return
>>
>> ((%DERIVATIVE SIMP) ((%SIN) $X) $X 1)
>> instead of
>>
>> ((%cos simp) $x)?
> Yes. See my previous message, which explains what you got wrong.
What is the problem? I don't see it.
best
Robert Dodier