Moving from 200LX SOLVER to SAGEmath *) - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Moving from 200LX SOLVER to SAGEmath *) (/thread-2810.html) |
Moving from 200LX SOLVER to SAGEmath *) - Peter A. Gebhardt - 01-07-2015 10:42 AM Dear fellow SOLVER users, any idea, how to move (solve!) a construct like Code: if(S(SvNow) to (in) SAGEmath? Best regards *) http://sagemath.wikispaces.com/if RE: Moving from 200LX SOLVER to SAGEmath *) - Peter A. Gebhardt - 01-11-2015 12:30 PM Answering myself - Python's identation and variable naming were the stoppers ;-) Not being allowed to use the % character in variable names, makes developing self-documenting code for financial tasks in SAGEmath a bit harder too. (print statements added to visualize decision tree) Code: var ('S, Save1, _AgSvTarget, _AgSvNow') Best regards RE: Moving from 200LX SOLVER to SAGEmath *) - Thomas Klemm - 01-11-2015 07:11 PM (01-11-2015 12:30 PM)Peter A. Gebhardt Wrote: Python's indentation and variable naming were the stoppers ;-) And I was thinking the problem is the S (solving for) function. Cheers Thomas |