ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-Tutor
python-Tutor
[Tutor] Re: Algebraic symbol manipulation program idea
by Christopher Smith other posts by this author
Aug 10 2001 8:52PM messages near this date
[Tutor] Object Oriented References? and a couple of questions <--LONG | Re: [Tutor] Re: Algebraic symbol manipulation program idea
Shelley Walsh <Shelley@[...].uk>  wrote:
| I am a mathematics instructor and lately I have been learning Python
| partly out of fascination with its potential for helping to explain
| algebra. Yesterday I downloaded a symbol manipulation program called
| Pythonica and got to thinking that there ought to be an easier way to
<cut> 

I read the whole post and am interested in this sort of thing as 
well but don't have time to respond much now.  Just wanted to note
that I, too, just found Pythonica in my search for a symbolic 
manipulation program and found a bit of a parsing bug. 

When given 2*3+2^2/3 Pythonica returns:

	in FullForm: Divide[Plus[Times[2,3],Power[2,2]],3]
	evaluates to: 3.33333333333

but it should probably be something like:

	Plus[Times[2,3],Divide[Power[2,2],3]]

and evaluate to 7.33333333333

/c


_______________________________________________
Tutor maillist  -  Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Christopher Smith
Danny Yoo
Roeland Rengelink
Roeland Rengelink

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved