Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

MathLink Help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44421] MathLink Help
  • From: Ibrahim El wady <ibr_alwady at yahoo.com>
  • Date: Sat, 8 Nov 2003 04:51:02 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Math Group
  I try connect to Mathmatica using MathLink in Visual C++.
  When I try execute D[x^2 *Sin[x],x]
 
I write
 
MLPutFunction(lp, "EvaluatePacket", 1);
     MLPutFunction(lp, "ToString", 1);
        MLPutFunction (lp, "ToExpression", 1);
        MLPutString(lp, "D[x^2 *Sin[x],x]");
MLEndPacket(lp);
 
I receive 
 
   2\012x  Cos[x] + 2 x Sin[x]
 
My question 
  How I understant the result
 
Thank you for help




  • Prev by Date: Derivative of a funtion evaluated at a point in 3D
  • Next by Date: Something wrong with this integral (see text)
  • Previous by thread: Re: Derivative of a funtion evaluated at a point in 3D
  • Next by thread: Re: MathLink Help