• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:11
CET 04:11
KST 12:11
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !6Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1316 users

Trigonometry Halp Plox!

Blogs > Raithed
Post a Reply
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2008 02:21 GMT
#1
This is a robot arm, meh, whatever, who cares. I know how to get R, as well as theta. Let's say that...

x = 6.0
y = 12.0
L1 = 12"
L2 = 10"

R = sqrtof(10^2+12^2) = 15.62
theta = tan^-1(y/x) = tan^-1(12/6) = 63.43º
How do I find theta1, and theta2?

Sorry for the yellow:

[image loading]


hellhawk123
Profile Joined December 2007
United States84 Posts
January 31 2008 02:28 GMT
#2
wait do you mean R is sqrt(6^2+12^2) = 13.42? then you know l1 l2 and R so use law of cosines
[xyn]
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2008 02:31 GMT
#3
No, R = sqrtof(10^2+12^2) = 15.62. Not x, y, but a, b. I don't remember those laws. :[
Lemonwalrus
Profile Blog Joined August 2006
United States5465 Posts
Last Edited: 2008-01-31 02:37:52
January 31 2008 02:33 GMT
#4
a^2 + b^2 = c^2 only works for right triangles.

Edit: oh, nvmd, I think.

Edit2: oh, nvmd the nvmd.
fight_or_flight
Profile Blog Joined June 2007
United States3988 Posts
Last Edited: 2008-01-31 02:35:51
January 31 2008 02:35 GMT
#5
On January 31 2008 11:31 Raithed wrote:
No, R = sqrtof(10^2+12^2) = 15.62. Not x, y, but a, b. I don't remember those laws. :[

how is R equal to that?

you can only use pythagorean theorem for a right-triangle. I'm kind of confused on the question, you should word it better.

edit: lol at the theta
Do you really want chat rooms?
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2008 02:35 GMT
#6
Oh, and thanks hellhawk123, but even though I know the Law of Cosines, how would I do it? I get confused at that point.
hellhawk123
Profile Joined December 2007
United States84 Posts
Last Edited: 2008-01-31 02:39:39
January 31 2008 02:36 GMT
#7
sorry but how are you getting R? I assumed x=x component of R and y=y component of R?

also law of cosines is given triangle w/ lengths a b c and respective angles alpha beta gamma, c^2=a^2+b^2-2abcos(gamma) (pythag theorem is when gamma=pi/2)
[xyn]
fight_or_flight
Profile Blog Joined June 2007
United States3988 Posts
January 31 2008 02:38 GMT
#8
On January 31 2008 11:36 hellhawk123 wrote:
sorry but how are you getting R? I assumed x=x component of R and y=y component of R?

also law of cosines is given triangle w/ lengths a b c and respective angles alpha beta gamma, c^2=a^2+b^2-2abcos(gamma)

Correct. If R is given by the (x,y) components, then it should be easy to plug in a, b, c and solve for gamma.
Do you really want chat rooms?
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2008 02:41 GMT
#9
OOPS, sorry sorry. I mistook a^2+b^2 but you're right it's x^2+y^2.

So basically it is:

13.42^2 = 10^2 + 12^2 - 2(10)(12)cos(gamma)
180 = 100+144 - 240cos(gamma)
180 = 244 - 240cos(gamma)

Oh fuck I fail at Algebra, I know the gamma has to be alone, so move the (244 - 240cos) to the other side?
hellhawk123
Profile Joined December 2007
United States84 Posts
Last Edited: 2008-01-31 02:51:12
January 31 2008 02:48 GMT
#10
solving for gamma we have gamma=arccos((c^2-a^2-b^2)/(-2ab)) so just plug in. In your case, 180 = 244 - 240cos(gamma) -> cos(gamma)=(180-244)/(-240) -> gamma=arccos(0.26)=1.3 radians or 74.5 degrees
[xyn]
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2008 02:53 GMT
#11
Is arccos = cos^-1? And why does it have to be arccos?

Thanks hellhawk, so that would be theta1?
hellhawk123
Profile Joined December 2007
United States84 Posts
January 31 2008 02:58 GMT
#12
yes. Arccos is the inverse of cos so if cos(a)=b, you take the inverse of both sides so arccos(cos(a))=arccos(b)), inverses cancel, a=arccos(b). The way you did it, it yields the angle opposite of R in the triangle consisting of the lines R, L1 and L2 which doesnt do us much good. You want to get the angle opposite of L2 (which is equal to theta - theta1) so just in the law of cosines equation, set c=L2 and the other 2 sides as a and b.
[xyn]
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2008 03:02 GMT
#13
Thanks a lot, I keep having an issue remembering/understanding this once the angles goes crazy different ways, hopefully in the future you can help further. I have another example but I'll post it tomorrow I guess, sick atm.
hellhawk123
Profile Joined December 2007
United States84 Posts
Last Edited: 2008-01-31 04:27:06
January 31 2008 03:07 GMT
#14
no prob, and FYI, if you want more reliable help you can try http://www.artofproblemsolving.com/Forum/index.php Basically you post a problem and billions of math kids swarm, piranha-like, to answer it.
[xyn]
Kwidowmaker
Profile Blog Joined October 2007
Canada978 Posts
January 31 2008 03:50 GMT
#15
I'm not sure if it has been said, but you do want to opposite to R so that you can subtract that from 180 degrees to get theta 2.
Kk.
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2008 03:51 GMT
#16
Not found?
Kwidowmaker
Profile Blog Joined October 2007
Canada978 Posts
January 31 2008 04:00 GMT
#17
Hmm? You can get it with cosine law, I'm sure.

I'm of the understanding that L1 is only the black and not the yellow line.
Kk.
Raithed
Profile Blog Joined May 2007
China7078 Posts
Last Edited: 2008-01-31 05:30:55
January 31 2008 05:30 GMT
#18
No, I get it now, hellhawk showed me, what I mean is, the website gave me didn't work, which works now.
BluzMan
Profile Blog Joined April 2006
Russian Federation4235 Posts
January 31 2008 09:16 GMT
#19
You fucking know the lengths of all 3 sides of a triangle and you can't find the angles?
You want 20 good men, but you need a bad pussy.
Slayer91
Profile Joined February 2006
Ireland23335 Posts
January 31 2008 18:37 GMT
#20
Well obviously theta2 is the 180 minus angel opposite R.
theta1 is theta minus the angel opposite l2.
Finding those angles is a matter of plugging in the cosine rule, right?
Please log in or register to reply.
Live Events Refresh
Next event in 7h 50m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 174
ProTech132
Nathanias 59
Ketroc 41
Vindicta 22
StarCraft: Brood War
Artosis 566
Bale 206
Mong 31
Noble 28
Hm[arnc] 13
Icarus 1
Dota 2
monkeys_forever3
League of Legends
C9.Mang0374
Super Smash Bros
hungrybox305
Other Games
summit1g10325
Day[9].tv569
XaKoH 537
PiGStarcraft362
ViBE193
Maynarde112
Trikslyr82
CosmosSc2 43
Mew2King42
Livibee33
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki17
• Pr0nogo 6
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22383
League of Legends
• Doublelift3749
Other Games
• Scarra716
• Day9tv569
Upcoming Events
WardiTV 2025
7h 50m
ByuN vs Creator
Clem vs Rogue
Scarlett vs Spirit
ShoWTimE vs Cure
OSC
10h 50m
Big Brain Bouts
13h 50m
YoungYakov vs Jumy
TriGGeR vs Spirit
CranKy Ducklings
1d 6h
WardiTV 2025
1d 7h
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
1d 9h
Ladder Legends
1d 15h
BSL 21
1d 16h
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
2 days
Ladder Legends
2 days
[ Show More ]
BSL 21
2 days
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
WardiTV Invitational
5 days
Replay Cast
6 days
WardiTV Invitational
6 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.