Author Topic: nth derivative  (Read 6352 times)

0 Members and 2 Guests are viewing this topic.

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
nth derivative
« on: March 03, 2014, 05:16:21 am »
well, i'm writing a taylor series program now and it does work, but it's pretty slow because it uses the symbolic d( function.
so it just calculates the derivative of the derivative of the derivative etc.
and that's pretty slow if you want to calculate the 20th term

is there another way to calculate the nth derivative of a function?
any help would be appreciated  :thumbsup:
« Last Edit: March 03, 2014, 08:22:16 am by TheCoder1998 »
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: nth derivative
« Reply #1 on: March 03, 2014, 08:22:41 am »
That is probably the easiest method. Plus, for the Taylor Series, you need the previous terms anyways.

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: nth derivative
« Reply #2 on: March 03, 2014, 08:27:56 am »
another question, could the functions of omnicalc, symbolic and prettyprint be integrated into the os using a patch?
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: nth derivative
« Reply #3 on: March 06, 2014, 11:52:17 am »
bump


anyone?
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: nth derivative
« Reply #4 on: March 06, 2014, 12:51:42 pm »
It's certainly doable. But I'm guessing that most people aren't too concerned with integrating such features natively, as they already work fairly well as simple parser hooks and MathPrint is a decent enough replacement for Symbolic. Finding someone with the intersection of motivation and OS patching/hooking skill (unless that someone is you) could be tough.

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: nth derivative
« Reply #5 on: March 06, 2014, 01:01:51 pm »
unfortunately, that someone is not me :(
anyway, i thought it could be a nice replacement for people who hate mathprint (like me)
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: nth derivative
« Reply #6 on: March 06, 2014, 01:03:35 pm »
I've never actually used PrettyPrint. What about it is better than MathPrint?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nth derivative
« Reply #7 on: March 06, 2014, 01:30:25 pm »
It's much faster.

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: nth derivative
« Reply #8 on: March 07, 2014, 01:19:24 pm »
and it doesn't crash every !@#$% time i use it

i really like symbolic and prettyprint because they're just so convenient and it's a nice replacement for people who loathe mathprint (mathprint is the devil)
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: nth derivative
« Reply #9 on: March 08, 2014, 07:22:05 am »
It's certainly doable. But I'm guessing that most people aren't too concerned with integrating such features natively, as they already work fairly well as simple parser hooks and MathPrint is a decent enough replacement for Symbolic. Finding someone with the intersection of motivation and OS patching/hooking skill (unless that someone is you) could be tough.
That someone could be thepenguin77. But then, he's probably busy with real life as well :p
I'm not a nerd but I pretend: