Update calculator.qmd

fix: minor spelling correction
This commit is contained in:
Leon Adams
2026-08-14 04:07:48 +00:00
committed by GitHub
parent b8ba924f1c
commit 949da1412c

View File

@@ -272,7 +272,7 @@ The percentage error in $x$ if $y$ is the correct value is $(x-y)/y \cdot 100$.
##### Example
The *percentage decrease* of an item is $(o-n)/o \cdot 100$ with $o$ being the original price and $n$ being the new one. If a drug that cost 60 dollars is not 55 dollars what is the percentage decrease?
The *percentage decrease* of an item is $(o-n)/o \cdot 100$ with $o$ being the original price and $n$ being the new one. If a drug that cost 60 dollars is now 55 dollars what is the percentage decrease?
```{julia}
(60 - 50) / 60 * 100