This is a
program that can plot graphs for quadratic functions. The general format
of a quadratic equation is f(x)= ax^{2}+bx+c , where a, b and c
are constant.

This program
employs a picture box as the plot area and three text boxes to obtain
the values of the coefficients a, b, c of the quadratic equation from
the users. We also need to modify the scale factor in the properties
windows of the picture box. We are using a scale of 0.5 cm to represent 1
unit .

Besides, we need to make some transformation as the coordinates in VB start from top left
but we want it to start from the middle. We can use the Pset method to
draw the graph using a very small increment. Pset is a method that draws a dot on the screen, the syntax is

Pset(x,y), color

Where (x,y) is the coordinates of the dot and color is the color of the dot. The default color is black. Using the For Next loop together with Pset, we can draw a line on the screen.