grapher
rmcquerr
Posted 9/9/2007 12:21 PM (#1582)
Subject: grapher
Math

Posts: 79
252525
Location: Tates Creek
Per our last meeting, I researched how to grab a string like "x^2*sin(x)" and parse it into computer syntax so that we can make calculator like applets. I made an example involving a graphing utility and I will hopefully have some stuff made up for our next Flash meeting.

You have to put parenthesis around trig parameters and you have to use * for all multiplication. Just press Graph Me when you want the graph

Edited by rmcquerr 9/9/2007 12:24 PM




Attachments
----------------
Attachments grapher.swf (6KB - 590 downloads)
scombs
Posted 9/20/2007 12:38 PM (#1627 - in reply to #1582)
Subject: RE: grapher
Math

Posts: 104
100
Location: Henry Clay
This is really nice. Have you have any luck with the action script 2 version? I haven't had any luck with it yet.
rmcquerr
Posted 9/24/2007 6:25 PM (#1638 - in reply to #1582)
Subject: RE: grapher
Math

Posts: 79
252525
Location: Tates Creek
Got it...i simplified everything down. just extract all contents of the zip file and you are ready to play. I commented on the fla file so folks can follow along.



Attachments
----------------
Attachments mathparser.zip (17KB - 558 downloads)
scombs
Posted 9/26/2007 3:49 PM (#1645 - in reply to #1582)
Subject: RE: grapher
Math

Posts: 104
100
Location: Henry Clay
I can't open the fla file. It tells me that it is an unexpected file format. Can you try saving it in a lower version?
rmcquerr
Posted 9/26/2007 4:42 PM (#1646 - in reply to #1582)
Subject: RE: grapher
Math

Posts: 79
252525
Location: Tates Creek
Should be all good now...
scombs
Posted 9/26/2007 4:53 PM (#1647 - in reply to #1582)
Subject: RE: grapher
Math

Posts: 104
100
Location: Henry Clay
Got it! Thanks Ryan! You are "Da Man".