SE701:Graph Plotter: Difference between revisions

From Marks Wiki
Jump to navigation Jump to search
New page: ==Simle Graph Plotter== ===Description=== write a method that will take in a function as a paramter then create a plot on the console window of this function. The code would be similiar ...
 
(No difference)

Latest revision as of 19:41, 15 February 2008

Simle Graph Plotter

Description

write a method that will take in a function as a paramter then create a plot on the console window of this function.

The code would be similiar to the C assignment we did in 2nd year that drew a plot of a sin curve to the stdout, however it will be able to produce graphs created by any function that is passed to it that is of hte form y=f(x).


Should demonstrate

  • anonymous functions
  • higher order functions
  • the use of format
  • basic loops
  • basic conditional statement
  • basic list processing