Grade 11 curriculum

Rank passages for a search

Dot product adds the products of matching coordinates. Cosine divides that dot product by the two vector lengths, so it compares direction. For a query (1, 0), a candidate (4, 3) scores 4 by dot product and 0.80 by cosine. A high score helps you choose what to read. The source and its exact words determine what you can report.

  1. Build
  2. Revise
  3. New task

Find evidence for a tool return

Can a visitor return a borrowed tool at 6 p.m. after the service desk closes? Use the current equipment rules. The query vector is (1, 0). Compare dot product and cosine, predict the full ranking for your chosen method, then run a search that returns one source.

Candidate source vectors
IDSourceVector
ABorrowing counter(5, 5)
BReturn instructions(2, 0)
CWoodshop talk(0, 3)