|
Projects
Spring 2012 Older Courses Fall 2011 Spring 2011 Fall 2010 Spring 2010 Fall 2009 Spring 2009
Fall 2008
Spring 2008
Fall 2007 HOWTOs |
OPLspr09 /
GraphingSchemeElizabeth Tran OverviewMy program will accept a function of x and y, given in prefix format and graph the output. It will parse the string that the gui returns into a list, then creates an expression to enter into the interactions window of DrScheme. So far it doesn't work with all functions. It mostly accommodates functions like this: (+ (^ x 2) (* 12 x)) Only supports 2 operands. Screenshot![]() (You may attach a PNG, GIF, or JPG file. Please note the Concepts Demonstrated1/6 of the project grade is based on which concepts from OPL are demonstrated in your project. Please identify them here. Be brief; a simple list and one-sentence explanation for each concept should be adequate; e.g.:
External TechnologyI used the GUI and plot libraries in scheme. The GUI library helped create the interface in which the user would enter information and receive an expression to enter into the interactions of DrScheme. The plot library plotted the parsed and manipulated version of the input to correctly create a visual graph for the user. InnovationI liked math. Technology Used Block DiagramCreate a simple block diagram of your software system that illustrates the major technical components and how they interact; e.g.: ![]() Additional RemarksFirst enter an equation in prefix format into the text field labeled "y=". Then it will return an expression in the text field, which needs to be entered into the interactions of the DrScheme application. This yields the graph of the equation entered. AcknowledgementsA special thanks to Chris and Tom |