This program for the Amstrad CPC464 will plot a graph of any function on the monitor, over the range of x values specified by the user. The program will position and scale the axes such that the whole of the screen is used for drawing the graph. The program shows the flexibility of the Amstrad's graphics commands: Program notes - 100 — 290 Initialisation
- 300 — 380 Calculation of points coordinates
- 390—550 Calculation of scales of axes & position of origin
- 560 — 660 Plotting of graph
- 10000 — 10050 Handling of errors
The user's function must be entered into line 190 after Def Fnf (x)=. On running, the user will be asked to enter the lowest x value followed by the highest x value, and the step. The computer will then calculate the points & plot them. After the graph has been plotted, pressing [Space] will use the same function, but ask for another set of x values, or pressing [F] will display the function, which may then be altered if necessary. PopularComputingWeekly841220 | ★ AMSTRAD CPC ★ DOWNLOAD ★ |
CPCrulez[Content Management System] v8.732-desktop/c Page créée en 037 millisecondes et consultée 271 foisL'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko. |
|
|
|