2.1.1 Write down a function representing the unit price,
This computer science problem involves algorithmic thinking and programming concepts. The solution below explains the approach, logic, and implementation step by step.
ScanSolve AI Answer
Here are the solutions to the questions:
2.1.1 Write down a function representing the unit price,
Let $n$ be the number of units ordered.
The original price per unit is R30.
The unit price decreases by R0.05 for each unit ordered beyond 80.
So, if $n > 80$, the number of units beyond 80 is $(n - 80)$.
The total decrease in unit price is $0.05 \times (n - 80)$.
The new unit price, $P(n)$, is $30 - 0.05(n - 80)$.
Let's simplify this expression:
$P(n) = 30 -
