• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:51
CEST 07:51
KST 14:51
  • 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
Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy4Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3BGE Stara Zagora 2025: Info & Preview27
Community News
Firefly suspended by EWC, replaced by Lancer2Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson."2Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey.8Code S RO8 Results + RO4 Bracket (2025 Season 2)14BGE Stara Zagora 2025 - Replay Pack2
StarCraft 2
General
Firefly suspended by EWC, replaced by Lancer Jim claims he and Firefly were involved in match-fixing How herO can make history in the Code S S2 finals Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey. Code S RO8 Results + RO4 Bracket (2025 Season 2)
Tourneys
[GSL 2025] Code S: Season 2 - Semi Finals & Finals WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament $3,500 WardiTV European League 2025 Sea Duckling Open (Global, Bronze-Diamond)
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 478 Instant Karma Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target
Brood War
General
ASL20 Preliminary Maps BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games FlaSh Witnesses SCV Pull Off the Impossible vs Shu
Tourneys
[Megathread] Daily Proleagues [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET Small VOD Thread 2.0 [BSL20] ProLeague Bracket Stage - Day 4
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread Beyond All Reason What do you want from future 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
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread UK Politics Mega-thread Russo-Ukrainian War Thread Vape Nation Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NHL Playoffs 2024 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 34591 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 5h 9m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 262
StarCraft: Brood War
PianO 469
Leta 317
Mong 139
BeSt 56
Noble 25
Dota 2
monkeys_forever585
League of Legends
JimRising 642
Counter-Strike
Stewie2K1248
Heroes of the Storm
Khaldor185
Other Games
C9.Mang01308
WinterStarcraft441
NeuroSwarm136
Maynarde90
Mew2King48
Organizations
Dota 2
PGL Dota 2 - Secondary Stream5526
Other Games
gamesdonequick541
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH273
• Sammyuel 18
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki120
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1415
Other Games
• Shiphtur355
Upcoming Events
Wardi Open
5h 9m
Replay Cast
18h 9m
Replay Cast
1d 4h
RSL Revival
1d 4h
Cure vs Percival
ByuN vs Spirit
PiGosaur Monday
1d 18h
RSL Revival
2 days
herO vs sOs
Zoun vs Clem
Replay Cast
2 days
The PondCast
3 days
RSL Revival
3 days
Serral vs SHIN
Solar vs Cham
Replay Cast
3 days
[ Show More ]
RSL Revival
4 days
Reynor vs Scarlett
ShoWTimE vs Classic
uThermal 2v2 Circuit
4 days
SC Evo League
5 days
Circuito Brasileiro de…
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-06-11
2025 GSL S2
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
BLAST Open Fall 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.