This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2012/3/17

Equation Grapher

An equation grapher that takes user input.
Includes zoom in/out using mouse clicks, left and right,
scrolling with arrow keys,
and mouse x and y coordinates in graph.
Use 'enter', 'escape', or click on formula to enter input mode.

The starting graph is my personal favourite.

Any and all comments welcome.

4973 views / 15 in the last 7 days

7 votes | 0 in the last 7 days

Tags: mouse demo danpost graph keypad

Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Wed Mar 21 21:13:47 UTC 2012 Forced cbrt as opposed to pow(1/3).
danpostdanpost

2012/3/21

@kiarocks, does it match your computers grapher now? (I made it so when the exponent was '1/2' or '1/3', it would use Math.sqrt or Math.cbrt, instead of using Math.pow(factor, exponent)).
joshbuhljoshbuhl

2013/3/17

Hi Dan, I'm a public schools teacher and I'd love to use this as a base in a c.s. course for 13th graders to implement some numeric methods like Newton's Method for finding roots. The green comment box states that it was uploaded with source, but there's no "open in greenfoot" and I can't find another way to download it (and I'm new here, so maybe I'm just missing something...). cheers, j
danpostdanpost

2013/3/17

@joshbuhl, no. You are not missing anything. I did not think I had included to source to this at any time, but it does appear that I had. Do you need the code as well, or just the application?
danpostdanpost

2013/3/17

For the application, if you can give me your e-mail address, I would be glad to forward it to you. If you do not wish to publicly show your e-mail address, click on my user picture, open my 'Private Messaging' scenario and supply it to me there. Then, post a note that you had done so, here.
joshbuhljoshbuhl

2013/3/17

Great! Iwould appreciate the source, since I would modify it. Be happy to post/send you the result, though. I've sent you a pm (how the heck does your app get the user data?!) Thanks! j
kiarockskiarocks

2013/3/17

@danpost, the equation I tested a year ago (I can't believe how long I've been programming) works properly.
LéaCristolLéaCristol

2013/4/8

I am very interested in your program. Can you send me the source code Greenfoot? Thank you in advance. (leacristol@hotmail.fr)
A new version of this scenario was uploaded on 2015-06-16 06:25:34 UTC
A new version of this scenario was uploaded on 2020-11-01 15:03:17 UTC

See all comments

Want to leave a comment? You must first log in.

Who likes this?

LéaCristol Draymothisk Game/maniac joshbuhl Gevater_Tod4711 TheNightStrider kiarocks