sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    How do you calculate the base of an Isosceles Triangle?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    8 Posts 3 Posters 18.5k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      I'm in need of a math refresher course. I'm working on a DC component where I need to find out the forumla to calculate the length of the base of an Isosceles Triangle when I have the length of the two equal sides and the angles of the corners.

      I've been searching around for trigonometry and triangle formulas but I just can't wrap my head around it.

      blah.png

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • R Offline
        remus
        last edited by

        2side lengthsin(angle/2)

        Got the formula by splitting the triangle down the middle to get 2 right angle triangles. You can then use standard trig on it ( i.e. sin(angle)=opposite/hypotenuse), although this only finds half the base, so you need to add the *2 in to compensate.

        Hope thats helpful.

        http://remusrendering.wordpress.com/

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          Hmm... The result I get from that is 1300,57568 which is the same result I get from using the Law of Cosine from http://en.wikipedia.org/wiki/Law_of_cosines

          But the measured length is 518mm... Maybe I'm writing the formula wrong.

          I use Excel to test the formula, and this is what I typed in:

          =2*1000*SIN(30/2)
          

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            btw, the formula I used based on the Wiki article is:

            =SQRT(B1^2 + B2^2 - (2*B1*B2*COS(B4)))
            

            which I optimised for Isosceles Triangles by changing to:

            =SQRT(2*B1^2 - 2*B1^2*COS(B4))
            

            where B1 and B2 is the side lengths and B4 is the angle. Both give same result as Remus's formula, but yet not the actual length of the unknown side.

            ...I can hear the joint laughter of my old math teachers with the echo of myself "I'll neverhave use for that in real life!" πŸ˜•

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              On my calcualtor I enter

              15
              sin
              X
              1000
              X
              2

              and I got:
              517.6380902050415246977976752481

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • R Offline
                remus
                last edited by

                I think the sin function must be in radians.

                If you can get the angle in radians, then just put that in instead, otherwise use this formula instead:

                =2*side length*sin((angle*pi)/360)
                

                http://remusrendering.wordpress.com/

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  @remus said:

                  I think the sin function must be in radians.

                  If you can get the angle in radians, then just put that in instead, otherwise use this formula instead:

                  =2*side length*sin((angle*pi)/360)
                  

                  That was it! That's the reason it didn't work!

                  gaaah... and I was thinking that I'd missed something in the understanding of the formula.

                  Thankyou Remus!

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    And what's more: had I tried it directly in SU I wouldn't have had that problem because the SIN function then sakes degrees and not Radians... doh!

                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                    List of my plugins and link to the CookieWare fund

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement