Mathematical
Functions Graphing Software
Create an
application which takes a function in the form of y=f(x) and plots the graph
for the function on the monitor screen.
Some
sample functions are:
·
y = 2*(x+3)
·
y=x^2 (where ‘x^2’
means ‘x2’, also it should accept any degree of power i.e: x^n)
Minimum
requirements for the solution include:
·
should accept following
operators: +, -, *, /
·
should accept any power
(i.e: xn)
·
should accept brackets
(i.e: ‘( )’)
·
x and y axis should be
marked, and labeled properly
·
should mark x and y
intercept
·
should be able to zoom
in and out from the graph
·
must be able to move
viewing window using arrow keys
Optional
features:
·
Include sin(x), cos(x), and tan(x) as part of the functions
o
Examples
§
y=sin(x)
§
y=cos(2*x)
+ sin(x)
Contestants
can use any programming language of their choice, and the platforms are either
DOS (BGI pixel graphics) or Win32. Recommended
programming languages are:
·
VC++ (Win 32)
·
Java (Win 32)
·
Visual Basic (Win 32)
·
Turbo C (DOS)
·
Turbo Pascal (DOS)