OpenCyber Academy
Engineering · Chapter 1 · English
Course code: OCA-124Chapter 01: OCA-124-C001

Chapter 1 — Calculus I

Open, free learning for anyone who wants to protect people and technology. No account is required to read this text or its worked answers.

Permanent link

Public activity · 30d

—Participating browsers

—Page views

—Reading sessions

—Exercise opens

Counts reflect browsers that allowed analytics. A reading session requires 30 seconds on a visible page. Browsers are not people.

Learning outcomes

You will (1) describe change with rates and limits; (2) model token supply growth; (3) read rates from data.

1.1 The case and why calculus

Jonas Weber is an engineering student at the fictional Avalon Polytechnic University, supervised by Dr Amara Nwosu. Over five years he will help the fictional Brightwater Community Energy Cooperative, about 400 member households, design and secure a system that records solar energy credits as tokens on a permissioned Ethereum-compatible ledger. Every person, contract and number in this book is synthetic. Calculus may seem distant from blockchain security, but engineers constantly reason about rates: how fast credits are issued, how quickly balances change, and how fast an abnormal flow must be noticed before it causes harm.

1.2 Rates of change

A derivative describes how fast one quantity changes with respect to another. If the cooperative issues credits in proportion to energy generated, total supply S(t) grows at rate dS/dt equal to generation in kilowatt-hours per hour times credits per kilowatt-hour. On a sunny afternoon the rate is high; at night it is zero. Jonas models supply as the integral of issuance minus redemptions. This gives a baseline for normal behaviour: if supply ever rises faster than generation could explain, something is wrong, whether a meter fault, a software error or misuse of the minting function.

1.3 Reading rates from data

Real data are discrete: the ledger records events, not smooth curves. Jonas estimates rates using differences over fixed intervals, such as credits minted per hour, and smooths noise with moving averages. He plots a synthetic week and marks the maximum plausible issuance rate from the cooperative's installed solar capacity of 1.2 megawatts. Any hour exceeding that bound deserves investigation. Calculus here is a practical tool: it turns a physical limit into a numerical threshold that a monitoring system can check automatically, which later chapters will build into the design.

Worked example

Jonas models supply as the integral of issuance minus redemption and sets an hourly issuance ceiling from the 1.2 MW installed capacity.

Synthetic case. Jonas Weber, Dr Amara Nwosu, Avalon Polytechnic University, Brightwater Community Energy Cooperative and all data are synthetic.

Errors and limits

Treating any rise in token supply as normal ignores physical limits that should bound issuance.

Exercises

  • EX001 — Cooperative size. How many households does Brightwater serve?
    Show marking criteria
    Rubric: 3 = about 400;; 2 = 400;; 1 = 4,000;; 0 = none.
  • EX002 — Supply model. How does Jonas model supply?
    Show marking criteria
    Rubric: 3 = integral of issuance minus redemptions;; 2 = integral;; 1 = constant;; 0 = none.
  • EX003 — Issuance bound. What sets the issuance ceiling?
    Show marking criteria
    Rubric: 3 = installed solar capacity of 1.2 MW;; 2 = capacity;; 1 = price;; 0 = none.

Synthesis

Rates and integrals turn physical limits into checkable bounds for token systems.

Continue studying — chapter 01 of 50

← Course home · Course chapter index · Chapter 02 (draft) →

Practice the exercises

Open a prompt, write your response, then compare it with the worked answer. Five-choice practice appears where a reviewed question is available.

EX001

Opens in 30 days: — · browsers: —

Checking for a reviewed five-choice question…

EX002

Opens in 30 days: — · browsers: —

Checking for a reviewed five-choice question…

EX003

Opens in 30 days: — · browsers: —

Checking for a reviewed five-choice question…

Worked answers

EX001. About 400 member households.

EX002. As the integral of issuance minus redemptions over time.

EX003. The cooperative's installed solar capacity of 1.2 megawatts.