Recent Changes - Search:

Home

Is the Laser up?

People

Publications

Calendar

Projects

Spring 2012

Older Courses

Fall 2011

Spring 2011

Fall 2010

Spring 2010

Fall 2009

Spring 2009

Fall 2008

Spring 2008

Fall 2007

HOWTOs

edit SideBar

GraphingScheme

Elizabeth Tran
May 13, 2009

Overview

My 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 Attach: syntax for doing this. After you save the wiki page, you will see the Attach: link with a blue triangle. Click on the link, and then you will be brought to a page where you can upload the attachment. After you upload the attachment, the link goes away and you see the image instead.)

Concepts Demonstrated

1/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.:

  • Data abstraction is used to abstract the manipulation of lists and operations.
  • Recursive and Iterative functions are used to parse the data and filter information.
  • Lists and Tree structures are used to store the equation entered.

External Technology

I 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.

Innovation

I liked math.

Technology Used Block Diagram

Create a simple block diagram of your software system that illustrates the major technical components and how they interact; e.g.:

Additional Remarks

First 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.

Acknowledgements

A special thanks to Chris and Tom

Edit - History - Print - Recent Changes - Search
Page last modified on May 13, 2009, at 09:23 AM