SE701:Graph Plotter

From Marks Wiki
Jump to navigation Jump to search

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