Author Topic: Triangle Solver  (Read 10698 times)

0 Members and 2 Guests are viewing this topic.

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Triangle Solver
« on: October 26, 2014, 08:43:10 am »
Lately, ApprenticeCoder (on cemetech and tifreakware) and I have been working on a triangle solver in lua for nspire, and I must say its coming out awesome!

It uses the law of sines and law of cosines to solve any right or nonright triangle, and even draws a picture of the triangle!
Also features two color themes

Screenie:


Download Below! ^^^




Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Triangle Solver
« Reply #1 on: October 27, 2014, 11:15:02 am »
* Sorunome wanders what happens if you make a side ridiculously long :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: Triangle Solver
« Reply #2 on: October 27, 2014, 05:02:19 pm »
* Sorunome wanders what happens if you make a side ridiculously long :P

It automatically scales down the drawing so the largest side is always the same length :)



Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Triangle Solver
« Reply #3 on: October 27, 2014, 05:06:44 pm »
then what if you have like 0.00000000000000001° corners >:D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: Triangle Solver
« Reply #4 on: October 27, 2014, 05:09:24 pm »
then what if you have like 0.00000000000000001° corners >:D
Well, they can't all be  0.00000000000000001° because it has to add up to 180°. Also, you can only type in 10 digits :P But yes, if you made one angle 0.00000001°, it would look a lot like a line :P



Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Triangle Solver
« Reply #5 on: October 27, 2014, 05:10:13 pm »
you could make two angles like that ;)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: Triangle Solver
« Reply #6 on: October 27, 2014, 05:26:35 pm »
It really looks very nice. What about adding some circle theorems (quizzes) on another tab (http://www.mathsisfun.com/geometry/circle-theorems.html)? Just saying...
Keep up the interesting work. Geometry geeks will surely love 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 #7 on: November 04, 2014, 02:03:45 am »
I didn't have much time to pay attention to this since I was still quite sick when this was posted, but good job on the layout. Hopefully the program is pretty useful to other people. :)

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Triangle Solver
« Reply #8 on: November 08, 2014, 06:26:16 pm »
Only just saw this. I remember writing a program like this once for the 84+ and boy was it useful. I'm probably not gonna use this because hey I don't need it for school, but I bet this is going to get quite some users when put on ticalc.
I'm not a nerd but I pretend: