+ Reply to Thread
Results 1 to 9 of 9

I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

  1. #1
    Registered User
    Join Date
    12-28-2012
    Location
    Jacksonville,FL
    MS-Off Ver
    Excel 2003
    Posts
    5

    I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    My goal is to use a given angle (degree) in our industry and a given opposite line that is 36". I need to find the the adjacent lines length.

    What I have done so far is: =(TAN(0.4)*36). .4 is the given degree or angle. The issue I have is this gives me an answer in radians. (15.22)

    Looking at a trigonometric triangle: i need to find the adjacent side by inserting the given degree. i also would like to get the hypotenuse side as well.

    Ultimately I would like to create a column of given degrees starting from .4 and increasing .1 degree on each line up to 50 degrees. I would like to have one column show the adjacent length and another column show hypotenuse length.

    I hope I have explained well enough as I am lost so any help would be greatly appreciated.

    Metalwork
    Last edited by Metalwork; 12-28-2012 at 03:55 PM. Reason: poor title

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    you need to use cos() for that

    =COS(A2)*B2 = 33.158

    a rhyme I have remembered for 30 + years now...
    Some Old Hens, Cackle And Howl, Til Old Age which means...

    Sin=Opposite/Hypotenuse, Cos=Adj/Hyp, Tan=Opp/Adj

    So, you could have column A with your angles, column B have your Adj length and column C have your formula

    =COS(A2)*B2
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-28-2012
    Location
    Jacksonville,FL
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    33.158 would represent the hypotenuse correct?
    I need to find the opposite as well this is the line on right angle side.

    I am using +tan(A2)*B2. i am using .4 as my degree (given) and I am coming up with 15.22 length and I know the correct length is .25.
    Last edited by Metalwork; 12-28-2012 at 05:10 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    Sin=Opposite/Hypotenuse, Cos=Adj/Hyp, Tan=Opp/Adj
    with those three ratios, you can calc any line, given 1 line and 1 angle, or any angle, given 2 lines. all you have to do is swap them around

  5. #5
    Registered User
    Join Date
    12-28-2012
    Location
    Jacksonville,FL
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    I use AutoCAD in my profession and when I check the values, they are not correct.

    Using .4 as my degree(Angle) and 36 as my Adjacent: I get .25133 as my opposite and 36.00088 as my hypotenuse.
    Is there a conversion factor that I am unaware of?

    I read something about converting from radians to degrees. I tried this and came up with even larger numbers. Not sure what to do.

    I do not see any other posts. Do I need to log out and back in?

    Thanks

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    In Excel, arguments to trig functions are in radians.So if the angle is 0.4 degrees, =tan(radians(0.4)) gives the tangent, which is a length, not an angle.
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Registered User
    Join Date
    12-28-2012
    Location
    Jacksonville,FL
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    That is what I needed Thank You. I used+tan(radians(0.4)) and I get the correct .25133.

    One more question.
    I have tried with .5 and When I convert to fraction I get 3/5 instead of 9/16". Can I change this?

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    right-click on the cell, select formats/fractions and change the format there

  9. #9
    Registered User
    Join Date
    12-28-2012
    Location
    Jacksonville,FL
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: I need help creating a workflow that will provide adjacent & Hypotenuse lengths.

    I did that but I get 3/5, 4/9 and so on. Can I get fractions to round up to nearest 1/16. I tried: =roundup(tan(radians(0.4));.0625) and it doesn't change. is there a way to format the whole sheet to round to the nearest 1/16".

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1