Skip to content
Tactiverge

School/△ Builder/Week 29

sin, cos and tan are just ratios

A 10 cm robot link tilted at 30° lifts its tip 5 cm. Make the link twice as long at the same angle. How high does the tip go?

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

Every robot arm, crane, ramp and camera tilt involves a length at an angle. Trigonometry is the tool that turns 'this long, at this angle' into 'this far across and this far up', and every robot controller does it thousands of times a second.

  • ◇ Name the hypotenuse, opposite and adjacent sides relative to an angle.
  • ◇ Explain why sin θ, cos θ and tan θ depend only on the angle, using similar triangles.
  • ◇ Use sin and cos to find the vertical and horizontal parts of a tilted link.

2.Watch

→ Watch for the key move: every right triangle with the same angle is similar, so its side ratios are the same, so they deserve names.

Explains why sin, cos and tan are well-defined: every right triangle with the same angle has the same side ratios.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

3.Predict

A 10 cm link at 30° lifts its tip 5 cm. A 20 cm link at the same 30° lifts its tip…

Guess first. Being wrong here is how the surprise works.

4.Discover

Fix the angle at 30° and slide the link length from 5 to 30 cm: the sides change, the three ratios don't. Then try the shelf challenges: predict the angle with sin θ = height ÷ length before you slide.

Loading the interactive…

Can't use the interactive? Read a description instead

The diagram draws a robot link from a shoulder joint at an angle you set, with a dashed horizontal line (adjacent side) and a dashed vertical line (opposite side) making a right-angled triangle. Sliders set the link length and the angle. A table shows sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse and tan θ = opposite ÷ adjacent with the current numbers; changing the length changes the sides but not the ratios.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

A robot link is tilted at angle θ above the horizontal. Relative to θ, which side is the vertical drop from the tip down to the horizontal line?

Practice 2

sin 30° = 0.5. A 12 cm link points 30° above horizontal. How high is its tip above the joint, in cm?

cm

6.Understand

Label the sides first

Mark the angle θ you care about. The hypotenuse is the longest side, opposite the right angle (for a robot link, the link itself). The opposite side is across from θ. The adjacent side is next to θ but isn't the hypotenuse. Mislabelled sides cause most trig mistakes.

Three ratios, one angle

sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse and tan θ = opposite ÷ adjacent. Because the hypotenuse is the longest side, sin and cos are never bigger than 1. Some to remember: sin 30° = 0.5, cos 60° = 0.5, tan 45° = 1, sin 90° = 1.

From ratios to robot parts

Rearrange: a link of length L at angle θ reaches L · cos θ across and L · sin θ up. A 12 cm link at 30° lifts its tip 12 × 0.5 = 6 cm. Your calculator must be in degrees for these; next lesson you will meet radians, which most code uses.

Explain it another way

Lean a ladder against a wall. The steeper the angle, the higher it reaches and the closer its foot is to the wall. sin and cos tell you exactly what fraction of the ladder's length goes 'up' and 'across'.

Derivation: Why each angle has its own ratios
  1. Take any right-angled triangle with an angle θ. Its three angles are θ, 90° and 90° − θ.

  2. Any other right-angled triangle with the same θ has the same three angles, so the two triangles are similar.

  3. In similar triangles every side is scaled by the same k, so a ratio like opposite ÷ hypotenuse cancels k out: (k·o) ÷ (k·h) = o ÷ h.

  4. So the ratio depends only on θ. We name them: sin θ = opposite ÷ hypotenuse, cos θ = adjacent ÷ hypotenuse, tan θ = opposite ÷ adjacent (SOH CAH TOA).

  5. Rearranged for a link of length L: vertical part = L · sin θ, horizontal part = L · cos θ.

Worked example 1

A 15 cm link points 60° above horizontal. How high is its tip above the joint?

Up = L sin θ = 15 × sin 60° ≈ 15 × 0.866 ≈ 13.0 cm.

Worked example 2

A ramp rises 1 m over 4 m across. What is tan of its angle?

tan θ = opposite ÷ adjacent = 1 ÷ 4 = 0.25. (The angle itself is about 14°: you'll find it with tan⁻¹ next lesson.)

Common mix-ups

  • A longer link at the same angle has a bigger sin θ.
    ✓ sin θ depends only on the angle. A longer link has a bigger height, but the ratio height ÷ length is the same.
  • The hypotenuse is whichever side is not touching the angle.
    ✓ The hypotenuse is always the longest side, opposite the right angle. The side not touching θ is the opposite side.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 3 · a fresh version every time

A robot arm link is 12 cm long and points 45° above the horizontal. How far does its tip reach in the vertical direction, in centimetres?

cm

Practice 4

tan 45° = 1. A line rises at 45° and goes 8 cm across. How far up does it go, in cm?

cm

Practice 5

A classmate's calculation gives sin θ = 1.3 for a robot link. What does that tell you?

8.Apply it

In the trig ratio diagram, find the angle that puts a 20 cm link's tip on the 18 cm shelf. Predict it first with sin θ = 18 ÷ 20, then check by sliding. Explain why a 15 cm link can never reach that shelf.

9.Reflect

Concepts: Angles and trigonometry · Geometry for parts: distance, similarity, area and mass