Forums: » Register « |  Free Tools |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |

New Free Tools on Dev Shed!

#1
February 9th, 2013, 01:11 AM
 Brokenhope
"That Guy"

Join Date: Apr 2005
Location: Wouldn't you like to know? (To come beat me up maybee)
Posts: 671
Time spent in forums: 2 Weeks 2 Days 20 h 30 m 15 sec
Reputation Power: 367
Triangles Slopes and Basic Trig.

I have been trying to wrap my head around this. I am working on a game and now am stuck. It has been too long since trig to remember how to do this, or even check my work. So, boiled down I have an angle, and need the rise/run with the rise (y) being 1. So 1/x.

On some scratch paper I came up with

25* = 1/x
25*x = 1
x* = 1/25 then multiplied by 180, came up with 7.2 as either hypotenuse, or the bottom.

Then I tried out instead of starting with 25*, used 25*/180* and did the math ending up with 2.2.

I don't know if the answers are right or what they correspond to, everything on google confused me because I cant figure out what the results refer to.

Note: * is used as degrees.

Thanks, anyone have insight?

#2
February 9th, 2013, 02:00 AM
 requinix
Forgetful

Join Date: Mar 2007
Location: Washington, USA
Posts: 13,476
Time spent in forums: 5 Months 2 Weeks 2 Days 4 h 34 m 24 sec
Reputation Power: 9259
Is the angle opposite the vertical side (y-axis)? tan(25°) will be y/x...

#3
February 9th, 2013, 02:09 AM
 DonR
Contributing User

Join Date: Oct 2009
Posts: 776
Time spent in forums: 3 Weeks 3 Days 14 h 25 m
Reputation Power: 275
with rise/run, you are looking at opposite_side / adjacent_side which would use trig's TANGENT function.
TAN(angle_in_degrees)=Rise/Run or Run=Rise/TAN(angle), which would give you Run=1/TAN(25) or Run=1/.4663 or Run=2.1445

As a double check , there is this site I found HERE

EDIT: Requinix, you beat me to it.
requinix agrees: maybe, but you explained it
Brokenhope agrees: Thanks, makes perfect sense now .

Last edited by DonR : February 9th, 2013 at 02:14 AM.

 Viewing: Dev Shed Forums > Other > Dev Shed Lounge > Triangles Slopes and Basic Trig.