GNU   davin.50webs.com/research
Bringing to you notes for the ages

       Main Menu          Research Projects         Photo Album            Curriculum Vitae      The Greatest Artists
    Email Address       Computer Games          Web Design          Java Training Wheels      The Fly (A Story)   
  Political Activism   Scruff the Cat       My Life Story          Smoking Cessation          Other Links      
Debugging Macros     String Class I     Linked List System I Java for C Programmers Naming Convention
    String Class II         How I use m4              Strings III                 Symmetrical I/O             Linked Lists II     
Run-Time Type Info   Virtual Methods      An Array System        Science & Religion            Submodes       
  Nested Packages      Memory Leaks    Garbage Collection      Internet & Poverty      What is Knowledge?
Limits of Evolution   Emacs Additions      Function Plotter           Romantic Love        The Next Big Thing
    Science Fiction     Faster Compilation Theory of Morality         Elisp Scoping               Elisp Advice      
  S.O.G.M. Pattern       Safe Properties         School Bullying          Charisma Control          Life and Death    
     Splitting Java          Multiple Ctors       Religious Beliefs         Conversation 1           Conversation 2    
   J.T.W. language    Emacs Additions II      Build Counter             Relation Plotter          Lisp++ Language  
  Memory Leaks II   Super Constructors CRUD Implementation Order a Website Form There Is An Afterlife
More Occam's Razor C to Java Translator Theory of Morality II


A relation plotter for teaching mathematics to children Free Stuff

Relation Plotter
Click on the screen-shot to enlarge

Abstract

This article explains a program that is intended to plot relations between two variables. This program generalises a function plotter program written by myself in 2006. On the right of this screen is a screen-shot of the program running. The program is freely available as a Windows Executable under the GNU General Public License. If you also want the C++ source code, then please email me.

1. How to use this program

The function plotter mentioned earlier could plot equations of the following form: y = f(x) whereas the relation plotter program can plot more general equations of the form g(x,y) = h(x,y) or equivalently g(x,y) = 0. The function in the screen-shot on the right was plotted by entering the following in the console at the bottom of the screen:

    x^3 - y^3 = 3*x*y

Features of the program include:

Because this program is intended for children, I have left out features that might be confusing to them.

2. Motivation for the program

While I was in high school I wrote a program in Microsoft Amiga Basic that could plot arbitrary real-valued functions of a real-valued variable, which I found useful to learn calculus. As my understanding of computer science was limited, it was necessary to change the source code of the program every time you wanted to print a different function. It is only now with my greater understanding that I am able to revisit this problem and rewrite the program in C++ so that it can compose functions at run-time.

3. How to download

This program is available as a Windows Executable The download size is approximately ½ megabytes, which should take just over 2 minutes to download on Dial-up Internet, and even less with broadband! This program was written using a cross-platform graphics library known as Allegro, so in theory it should be possible to compile this program on other platforms such as GNU/Linux and MacOS.

4. Version history

Version 1.0. First stable version.

Back to Research Projects
This page has the following hit count:
| Main Menu | Research Projects | Photo Album | Curriculum Vitae | The Greatest Artists |
| Email Address | Computer Games | Web Design | Java Training Wheels | The Fly (A Story) |
| Political Activism | Scruff the Cat | My Life Story | Smoking Cessation | Other Links |
| Debugging Macros | String Class I | Linked List System I | Java for C Programmers | Naming Convention |
| String Class II | How I use m4 | Strings III | Symmetrical I/O | Linked Lists II |
| Run-Time Type Info | Virtual Methods | An Array System | Science & Religion | Submodes |
| Nested Packages | Memory Leaks | Garbage Collection | Internet & Poverty | What is Knowledge? |
| Limits of Evolution | Emacs Additions | Function Plotter | Romantic Love | The Next Big Thing |
| Science Fiction | Faster Compilation | Theory of Morality | Elisp Scoping | Elisp Advice |
| S.O.G.M. Pattern | Safe Properties | School Bullying | Charisma Control | Life and Death |
| Splitting Java | Multiple Ctors | Religious Beliefs | Conversation 1 | Conversation 2 |
| J.T.W. language | Emacs Additions II | Build Counter | Relation Plotter | Lisp++ Language |
| Memory Leaks II | Super Constructors | CRUD Implementation | Order a Website Form | There Is An Afterlife |
| More Occam's Razor | C to Java Translator | Theory of Morality II
Last modified: Sun Jul 14 03:34:54 NZST 2019
Best viewed at 800x600 or above resolution.
© Copyright 1999-2019 Davin Pearson.
Please report any broken links to