Author Topic: GraphPro  (Read 9583 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
GraphPro
« on: October 13, 2010, 06:33:22 pm »
Hello,
I was bored during math class, and I hate the way that TIOS handles inequalities.  I also dislike quite a bit about how it does graphing.  After all this thinking, GraphPro spawned.  I made it with Axe, and the inequality is hard-coded, but Y=-X2 was generated at runtime in about 2 seconds.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: GraphPro
« Reply #1 on: October 13, 2010, 06:35:12 pm »
thats looks really cool!  maybe you could integrate that into KOS?  reminds me of the parabola generator I wrote for generating parabolas (duh  :P) using the focus and directrix two days ago

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: GraphPro
« Reply #2 on: October 13, 2010, 06:36:55 pm »
Wow that looks very nice, how would you handle multiple inequalities though?

EDIT: and overlapping ones?
« Last Edit: October 13, 2010, 06:37:16 pm by guy6020665 »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: GraphPro
« Reply #3 on: October 13, 2010, 06:37:35 pm »
Hello,
I was bored during math class, and I hate the way that TIOS handles inequalities.

TI-OS handles inequalities?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: GraphPro
« Reply #4 on: October 13, 2010, 06:39:09 pm »
when you type in an equation, before hitting graph, press left until you go behind the Y1-Y0 and then you can press enter to change how it graphs
« Last Edit: October 13, 2010, 06:39:18 pm by guy6020665 »

SirCmpwn

  • Guest
Re: GraphPro
« Reply #5 on: October 13, 2010, 06:39:44 pm »
TIOS sort of handles inequalities.  Change the graph type.  guy, it would use darker shades of gray.  yunhua, this is how KOS will do graphing, more or less.

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: GraphPro
« Reply #6 on: October 13, 2010, 06:41:54 pm »
but wouldn't that be amazingly hard and annoying to program?

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: GraphPro
« Reply #7 on: October 13, 2010, 06:42:06 pm »
when you type in an equation, before hitting graph, press left until you go behind the Y1-Y0 and then you can press enter to change how it graphs

Oh, I never thought of that as an inequality feature.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

SirCmpwn

  • Guest
Re: GraphPro
« Reply #8 on: October 13, 2010, 06:43:44 pm »
guy, sort of.  It wouldn't be too hard, it just might be a bit slow.

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: GraphPro
« Reply #9 on: October 13, 2010, 06:45:40 pm »
Best of luck SirCmpwn, and I really like how it looks so far.

SirCmpwn

  • Guest
Re: GraphPro
« Reply #10 on: October 13, 2010, 06:54:03 pm »
Thanks!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: GraphPro
« Reply #11 on: October 13, 2010, 06:54:32 pm »
What about the feature that Inequality app has, where inequalities are restricted by every equation, so that only areas that are solutions to all equations are shaded?  And also awesome graph!  Does it use floating point or fixed or what?

SirCmpwn

  • Guest
Re: GraphPro
« Reply #12 on: October 13, 2010, 06:56:08 pm »
The graph uses pure integers at the moment x.x, but I will eventually use user-specified fixed point graphs.  Your idea about only shading relevant regions is a good one, I'll have to try this out.  This is really, really a side project, by the way.  I'm working on this the least.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: GraphPro
« Reply #13 on: October 13, 2010, 06:58:32 pm »
This looks very nice, SirCmpwn!

The only TI calc that actually dosen't handle inequalities too bad is the Nspire, but even that could be annoying to use sometimes (but then again, just graphing anything on the Nspire is annoying, unlike the other calcs).


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: GraphPro
« Reply #14 on: October 13, 2010, 10:48:05 pm »
Wow that looks really nice! Does it graph stuff faster than the TI-OS?