Chapter 21 of 22 Part V: Near-Field & Finding Networks

NFC: The Secret Power of a Tap

Each chapter features three guided investigations aligned with the book and Interactive Lab. Work through them in order, record predictions, and test edge cases.

Project 1 of 3 · v1-c21-p01

Model two coils

Lab section: 1. Model two coils · Related code: block-01.js

Objective: Investigate "Model two coils" experimentally in the Chapter 21 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 21 Interactive Lab and select "1. Model two coils".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 21 Code page and trace how the algorithm computes the output.
  4. Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "1. Model two coils" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 21.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 21 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Model two coils" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Model two coils" make visible that you would not notice from using a finished app?

Project 2 of 3 · v1-c21-p02

Count the message bytes

Lab section: 2. Count the message bytes · Related code: block-02.js

Objective: Investigate "Count the message bytes" experimentally in the Chapter 21 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 21 Interactive Lab and select "2. Count the message bytes".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 21 Code page and trace how the algorithm computes the output.
  4. Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "2. Count the message bytes" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 21.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 21 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Count the message bytes" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Count the message bytes" make visible that you would not notice from using a finished app?

Project 3 of 3 · v1-c21-p03

Design a cautious tap interface

Lab section: 3. Design a cautious tap interface · Related code: block-03.js

Objective: Investigate "Design a cautious tap interface" experimentally in the Chapter 21 Interactive Lab and connect the observed behavior to the chapter's underlying rule.

Procedure

  1. Open the Chapter 21 Interactive Lab and select "3. Design a cautious tap interface".
  2. Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
  3. Inspect the corresponding JavaScript snippet(s) on the Chapter 21 Code page and trace how the algorithm computes the output.
  4. Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "3. Design a cautious tap interface" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 21.
Show Hint & Extension Challenge

Hint: Check the worked example and equation in the Chapter 21 Lesson before testing edge cases.

Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Design a cautious tap interface" and document what real-world standard addresses it.

Reflection Question: What real-world constraint or trade-off did "Design a cautious tap interface" make visible that you would not notice from using a finished app?