Author Topic: Triangle Solver  (Read 9308 times)

0 Members and 1 Guest are viewing this topic.

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Triangle Solver
« on: November 22, 2010, 05:05:24 pm »
Triangle solver! (this topic is so if i RAM clear my calculator, it's no big deal cause it's now online)

this is a graphical triangle solver. if you give it 3 pieces of information, it will give you the other 3. it has no error checking, so if you get err: domain, the triangle probably does not exist. do not give the triangle solver 4+ pieces of information, it is not smart enough to handle this. it assumes you put in 3. it will solve the following conditions: SSS, SAS, ASS (wait, what?), ASA, AAS. it will also tell you if your triangle is ambiguous, but it will sadly not give you the second triangle. it will however, store the complement of the first angle solved into the variable M and then you can solve for the second triangle by running the program again.

um.. yeah. it's handy. and under 1000 bytes (hooray! goal met!)

ASHBAD_ALVIN

  • Guest
Re: Triangle Solver
« Reply #1 on: November 22, 2010, 05:06:46 pm »
PERFECT MY TEST ON GEO IS WEDNESDAY AND I WILL LOVE THIS LIKE A CHILD well not really but great!

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Triangle Solver
« Reply #2 on: November 22, 2010, 05:08:17 pm »
PERFECT MY TEST ON GEO IS WEDNESDAY AND I WILL LOVE THIS LIKE A CHILD well not really but great!

glad i could aid you?

ASHBAD_ALVIN

  • Guest
Re: Triangle Solver
« Reply #3 on: November 22, 2010, 05:08:52 pm »
you should be very glad as I am very happy right now

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Triangle Solver
« Reply #4 on: November 22, 2010, 06:37:52 pm »
Triangle solver! (this topic is so if i RAM clear my calculator, it's no big deal cause it's now online)

this is a graphical triangle solver. if you give it 3 pieces of information, it will give you the other 3. it has no error checking, so if you get err: domain, the triangle probably does not exist. do not give the triangle solver 4+ pieces of information, it is not smart enough to handle this. it assumes you put in 3. it will solve the following conditions: SSS, SAS, ASS (wait, what?), ASA, AAS. it will also tell you if your triangle is ambiguous, but it will sadly not give you the second triangle. it will however, store the complement of the first angle solved into the variable M and then you can solve for the second triangle by running the program again.

um.. yeah. it's handy. and under 1000 bytes (hooray! goal met!)

Downloaded... Loved! Congratulations, fast for a TI Basic Script. Useful and like the interface!

Liked it!

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: Triangle Solver
« Reply #5 on: November 23, 2010, 12:39:37 am »
Lol ASHBAD ALVIN :P

Also nice Nemo, although this might not be very useful to me as my last math class was in June 2003. ;D

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Triangle Solver
« Reply #6 on: November 23, 2010, 02:15:04 am »
That's pretty nifty. Sweet, great job :)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Triangle Solver
« Reply #7 on: November 23, 2010, 07:45:57 am »
Lol ASHBAD ALVIN :P

Also nice Nemo, although this might not be very useful to me as my last math class was in June 2003. ;D

To me it is very useful! I still have three more years of maths :D

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Triangle Solver
« Reply #8 on: November 23, 2010, 03:22:02 pm »
Wow thats impressive!  I wrote a triangle solver back in my day but you had to specify the type of triangle, and it was much larger than 1000 bytes!  Nice job!

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Triangle Solver
« Reply #9 on: November 23, 2010, 04:07:17 pm »
thanks guys!

unfortunately, my math teacher is evil and is making us use non-graphing calculators on the upcoming test. so this was (kind of) a waste, but now i'm 100% sure what i'm doing is correct.


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: Triangle Solver
« Reply #10 on: November 23, 2010, 04:14:28 pm »
Sorry to hear :(

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Triangle Solver
« Reply #11 on: November 23, 2010, 04:19:39 pm »
Looks great!  Nice job! ;D

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Triangle Solver
« Reply #12 on: November 23, 2010, 04:23:29 pm »
thanks guys!

unfortunately, my math teacher is evil and is making us use non-graphing calculators on the upcoming test. so this was (kind of) a waste, but now i'm 100% sure what i'm doing is correct.

Hah, mine would never do so, we told him our scientific calculators were all thrown away when we moved to highscool and would have to BUY new ones :D

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Triangle Solver
« Reply #13 on: November 23, 2010, 04:27:56 pm »
yeah unfortunately my math teacher has a class set of non-graphing calculators... :( oh well.


Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Triangle Solver
« Reply #14 on: November 23, 2010, 04:33:49 pm »
I did something like that for some geo tests...
* Darl181 is looking for an "innocent face" smiley
I used cheat.8xg from ticalc.org (renamed to "succeed").  Except it's HUGE!
I was the only one in class with a graphing calculator :P
Vy'o'us pleorsdti thl'e gjaemue