"""EE1021 Week 3 Functions and Modules Worksheet submission template."""

import math


STUDENT_NAME = "<enter your name>"
STUDENT_NUMBER = "<enter your number>"


# Section A.1
# TODO: Identify parameters, arguments, and exact output in comments.


# Section A.2
def rectangle_area(length, width):
    """Return the area of a rectangle."""
    pass


# Section B.1
def double_value(value):
    """Return twice value."""
    pass


# TODO: Explain in a comment why the original print-only version returned None.


# Section B.2
# TODO: Predict both output lines and explain local scope in comments.


# Section C.1
def classify_current(current_ma, limit=18):
    """Return Invalid, Safe, Warning, or Overload."""
    pass


# Section C.2
def sum_multiples(limit, divisor):
    """Return the sum of positive multiples up to and including limit."""
    pass


# Section D.1
def calibrate_voltage(raw_voltage, offset=0.05):
    """Return raw_voltage corrected by offset."""
    pass


# Section D.2
def voltage_status(voltage):
    """Return Invalid, Low, Normal, or High."""
    pass


# Section E.1
def impedance_magnitude(resistance, reactance):
    """Return the impedance magnitude."""
    pass


# Add the required calls and tests below each section.
# Extension module files are submitted separately.
