• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:18
CEST 13:18
KST 20:18
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris34Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Greatest Players of All Time: 2025 Update A Eulogy for the Six Pool BoxeR's Wings Episode 2 - Fan Translation #1: Maru - Greatest Players of All Time Geoff 'iNcontroL' Robinson has passed away
Tourneys
$5,000 WardiTV Summer Championship 2025 Maestros of The Game—$20k event w/ live finals in Paris $5,100+ SEL Season 2 Championship (SC: Evo) Esports World Cup 2025 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
BW General Discussion No Rain in ASL20? Post ASL20 Ro24 discussion. BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games
Tourneys
[ASL20] Ro24 Group F [ASL20] Ro24 Group E [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group D
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread Mechabellum 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2923 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
LiuLi Cup
11:00
Monthly Finals
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
WardiTV267
Harstem213
Rex67
TKL 57
IndyStarCraft 47
CranKy Ducklings42
IntoTheiNu 10
3DClanTV 9
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 213
Rex 65
IndyStarCraft 47
TKL 42
StarCraft: Brood War
Britney 11450
Calm 5515
PianO 2042
Horang2 1337
Rain 1139
ZerO 617
Mini 418
actioN 339
EffOrt 331
BeSt 317
[ Show more ]
Stork 303
Larva 274
Light 272
Hyuk 223
Zeus 183
Mong 169
ggaemo 143
TY 130
Leta 117
Pusan 112
Mind 99
Rush 96
Hyun 95
Soulkey 93
firebathero 81
ToSsGirL 56
JYJ50
Liquid`Ret 50
[sc1f]eonzerg 49
yabsab 45
Sacsri 43
Snow 42
sorry 34
soO 29
zelot 28
Sharp 23
Yoon 20
ajuk12(nOOB) 16
JulyZerg 14
HiyA 10
Hm[arnc] 5
Dota 2
XcaliburYe261
XaKoH 143
League of Legends
JimRising 246
Counter-Strike
flusha166
zeus148
edward6
Other Games
summit1g7111
singsing1855
B2W.Neo960
Lowko268
DeMusliM161
SortOf144
oskar131
Happy120
Pyrionflax117
Hui .98
Dewaltoss13
ZerO(Twitch)12
MindelVK5
Organizations
Counter-Strike
PGL2446
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos837
• Stunt458
Upcoming Events
Cosmonarchy
4h 42m
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
4h 42m
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
7h 42m
Team Hawk vs Team Dewalt
BSL Team Wars
7h 42m
Team Hawk vs Team Bonyth
Code For Giants Cup
11h 12m
SC Evo League
1d
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
1d 4h
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
1d 6h
SC Evo League
2 days
Maestros of the Game
2 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
[ Show More ]
BSL Team Wars
2 days
Team Bonyth vs Team Sziky
BSL Team Wars
2 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
3 days
Replay Cast
3 days
Sparkling Tuna Cup
3 days
PiGosaur Monday
4 days
LiuLi Cup
4 days
Replay Cast
5 days
The PondCast
5 days
RSL Revival
5 days
Maru vs SHIN
MaNa vs MaxPax
RSL Revival
6 days
Reynor vs Astrea
Classic vs sOs
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
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.