MGMathExampleA.html  (MotionGenesis input/output).
   (1) % MotionGenesis file: MGMathExampleA.txt
   (2) SetImaginaryNumber( i )
   (3) someNumber = sin(pi/4) + exp(3) + abs(-3) + sqrt(i)
-> (4) someNumber = 24.49975 + 0.7071068*i

   (5) p = Expand( (1+t) * (2+t) * (3+t^2) )
-> (6) p = 6 + 9*t + t^4 + 3*t^3 + 5*t^2

   (7) p23 = Evaluate( p,  t = 2.3 )
-> (8) p23 = 117.6351

   (9) pDt = Dt( p )
-> (10) pDt = 9 + 10*t + 4*t^3 + 9*t^2

   (11) roots = GetCubicRoots( pDt = 0,  t )
-> (12) roots = [-1.5704;  -0.3398 - 1.147733*i;  -0.3398 + 1.147733*i]

Saved by Motion Genesis LLC.  MotionGenesis 6.4 Professional.  Command names and syntax: Copyright (c) 2024 Motion Genesis LLC. All rights reserved.