• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:11
CET 12:11
KST 20: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 Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win2RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2[TLMC] Fall/Winter 2025 Ladder Map Rotation14
StarCraft 2
General
When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win SC: Evo Complete - Ranked Ladder OPEN ALPHA Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge RSL Season 3: RO16 results & RO8 bracket
Tourneys
Tenacious Turtle Tussle [Alpha Pro Series] Nice vs Cure RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
Which season is the best in ASL? Data analysis on 70 million replays [BSL21] Ro.16 Group Stage (C->B->A->D) FlaSh on: Biggest Problem With SnOw's Playstyle soO on: FanTaSy's Potential Return to StarCraft
Tourneys
[Megathread] Daily Proleagues [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Beyond All Reason The Perfect Game Should offensive tower rushing be viable in RTS games?
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
TL Mafia Community Thread Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread The China Politics Thread US Politics Mega-thread Artificial Intelligence Thread Things Aren’t Peaceful in Palestine
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Where to ask questions and add stream? The Automated Ban List
Blogs
Esports Earnings: Bigger Pri…
TrAiDoS
Thanks for the RSL
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1984 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
The PondCast
10:00
Episode 73
CranKy Ducklings108
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Britney 2339
Horang2 1571
Bisu 834
Hyun 665
Shuttle 647
actioN 408
BeSt 357
firebathero 298
ZerO 293
Mini 236
[ Show more ]
Light 196
Snow 179
EffOrt 175
Last 171
Zeus 166
Soma 158
Larva 150
hero 130
ajuk12(nOOB) 88
Shine 78
Pusan 78
ggaemo 56
Rush 53
Barracks 51
Soulkey 47
zelot 41
Mong 39
ToSsGirL 33
Backho 30
Mind 27
soO 25
Sharp 25
Terrorterran 22
sorry 20
Free 19
Sacsri 17
Noble 16
SilentControl 15
Sexy 13
HiyA 11
Liquid`Ret 8
Sea.KH 6
Bale 5
Icarus 4
Rain 0
Dota 2
XcaliburYe212
NeuroSwarm105
League of Legends
JimRising 342
Counter-Strike
olofmeister1964
shoxiejesuss593
x6flipin55
Other Games
summit1g10556
ceh9590
B2W.Neo420
Fuzer 254
crisheroes153
Mew2King147
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 1184
Other Games
gamesdonequick612
Dota 2
PGL Dota 2 - Main Stream281
StarCraft: Brood War
lovetv 10
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota256
League of Legends
• Jankos2083
• Stunt1088
Upcoming Events
Replay Cast
11h 49m
OSC
1d 5h
LAN Event
1d 6h
Replay Cast
1d 11h
Replay Cast
1d 21h
WardiTV Korean Royale
2 days
Sparkling Tuna Cup
2 days
WardiTV Korean Royale
3 days
Replay Cast
3 days
Wardi Open
4 days
[ Show More ]
Monday Night Weeklies
4 days
StarCraft2.fi
4 days
Replay Cast
4 days
Wardi Open
5 days
StarCraft2.fi
5 days
Wardi Open
6 days
StarCraft2.fi
6 days
The PondCast
6 days
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
META Madness #9
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
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.