Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2012-11-19 17:53:48

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Derivative Plotter

I have made a Derivative Plotter

It plots the "derivative" by simply calculating successive points and working out the slope. I can't think of a simple phrase to say that ... "calculated slope"?

But a really cool feature is at the bottom where you get to plot a function in green to (hopefully) coincide with the "calculated slope".

Comments and Suggestions pretty please!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#2 2012-11-19 18:27:34

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Derivative Plotter

Hi MIF;

It works well even getting  the correct plot for this tough one.

You could have calculated those points using a formula instead of the slope between two points. But if the speed is acceptable that way, why change?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2012-11-19 18:46:15

Jai Ganesh
Administrator
Registered: 2005-06-28
Posts: 48,422

Re: Derivative Plotter

Hi MathsIsFun,

The Derivative Plotter is neat. Excellent work!


It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

Offline

#4 2012-11-19 20:49:56

Bob
Administrator
Registered: 2010-06-20
Posts: 10,623

Re: Derivative Plotter

hi MathsIsFun

That's great and worked well for all I tried.

There was one odd thing that happened.  I suspect it's my laptop as I've had the odd thing happen with graphics before.  But I'll describe what happened anyway, in case you can shed any light.

If I slide the zoom control fully left, as I start to slide back towards the centre, the graphs (everything inside the function and the slope borders) vanish.  And stays that way unless I press the reset.  This doesn't happen for a slide right.

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#5 2012-11-19 21:45:09

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Re: Derivative Plotter

Sounds like a glitch in the program ... will investigate, thanks.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#6 2012-12-04 22:20:34

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Re: Derivative Plotter

New version 0.6, only minor changes, hopefully fixed the zoom bug that Bob found. (Use refresh!)


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#7 2012-12-04 22:28:09

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Derivative Plotter

The graph of tan(sin(tan(cos(tan(x)))) and its derivative look cool!


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#8 2012-12-04 22:38:58

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Derivative Plotter

Hi;

e^(sin(x)) makes nice waves.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#9 2012-12-04 23:17:41

Bob
Administrator
Registered: 2010-06-20
Posts: 10,623

Re: Derivative Plotter

Yes, it has fixed the zoom.  Thanks.  smile

Bob


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#10 2012-12-05 09:18:05

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Re: Derivative Plotter

Excellent.

e^(sin(x)) is quite nice to scroll back and forth on


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#11 2012-12-05 09:37:01

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Derivative Plotter

Larger plot boxes and panning functionality would be nice...


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#12 2012-12-06 12:05:45

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,713

Re: Derivative Plotter

You can pan by single click (re-centers image)


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#13 2012-12-06 12:45:09

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Derivative Plotter

When I left click it gives me the selection tool so that when I let go of the mouse, it zooms into the area I selected.


“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#14 2013-04-01 02:20:32

Shrikharan
Member
Registered: 2013-04-01
Posts: 1

Re: Derivative Plotter

I  am unable to use the derivative plotter  offline. I  copied the swf file from temporary internet file folder  and tried to  play it but only blank screen. Any ideas

Thanks

Shri

Offline

Board footer

Powered by FluxBB