You're looking at an archived, read-only version of our old community forum. See our new community forum here.

I made a triangle solver!

thedstring

Nate Brooks

Location: Utah

Joined: Jan 05 2011

I made an oblique triangle solver!

(if you didn't know, an oblique triangle is one where all it's sides are different lengths, and it's not a right triangle)

Let me know if there are any bugs when you try it out!

It should stop you from using any numbers that will not make a triangle, like if all 3 angles don't add up to 180 degrees, or if one leg is longer than the other 2 added together.

My plan is to now convert this to an android app =)

Oh, and to solve for the 2nd triangle and to check for all your bad inputs, the code is 575 lines long.

http://www.nateonguitar.com/portfolio/triangleSolver/index.php

A solution for love triangles

BigHeadClan

Joined: Jan 20 2012

A solution for love triangles would have been way better :)
I must admit though I wish I had this when I was still in school. lol

clothes

Weldon Hilll

Joined: Apr 07 2022

No, it's not really "the oblique triangle solver" in the sense that it solves just one particular problem. This is an example of how you can solve a whole category of problems. The idea is that once you've painted yourself into a corner, you need to add an extra variable to get out of it. In this case, we added t and the right-angled triangle solution gives us two equations to solve for t. Check out my detailed article which I have completed with the help of https://trust-essay.biz/ to completely address this problem. So far we've taken the approach of using variable names like x1, x2, and x3 for the lengths of the three sides.

amazing

thiagogo

Joined: Apr 20 2022

Thank you for sharing this information; it was quite helpful to me. atari breakout

app constructor

Momas

Joined: Apr 20 2022

I can suggest you an application builder like https://flipabit.dev/download/ which is very popular now. A lot of people are really using it among programmers. I want to tell you that this is the best option you can afford. And in general, I like to use app builders because they are easy to learn and also with them you can create applications that you would never create with code.