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

Report as inappropriate.

Nichodon
Nichodon presents ...

2017/3/5

Graphing Calculator

Press space to input a function. WS for zoom.
Why am I so into CALC?

Use capital "X".
All functions are from JS Math.
"abs", "ceil", "cos", "exp", "floor", "log", "max", "min", "pow", "round", "sin", "sqrt", "tan"
Operators are also from JS.
+, -, *, /, % (modulus), & (and), | (or), ~ (not), ^ (xor), << (0 fill left shift), >> (signed right shift), >>> (0 fill right shift)

The thumbnail is X^2*X

1428 views / 511 in the last 7 days

Tags: calc nichodon

Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
A new version of this scenario was uploaded on 2017-03-05 18:28:44 UTC 0.1: -Added zoom indicator -Added variable indicator -Made lines thicker -Removed use of "Math." -Tweaks
Super_HippoSuper_Hippo

2017/3/5

Why is it `x and not x?
NichodonNichodon

2017/3/5

Right now the way it is set up, when calculating the y positions, I replace all substrings of "`x" with the x position. If I were to use "x", I would run into problems: "max(x)" would go to "ma30.0(30.0)" when calculating for 30.0.
Super_HippoSuper_Hippo

2017/3/5

Ah ok, I see. maybe you could use X then. Or you would need to check if before and after the x are no letters...
A new version of this scenario was uploaded on 2017-05-04 00:59:00 UTC 0.1.1: -Changed "`x" to "X"
NichodonNichodon

2017/5/4

A bit late, but better than nothing I suppose.

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

Who likes this?

No votes yet.