Update calculator.qmd

fix: minor spelling correction
This commit is contained in:
Leon Adams authored and GitHub committed 2026-08-14 04:07:48 +00:00
1 parent b8ba924f1c
commit 949da1412c
1 file changed
+1 -1
+1 -1
View File
@@ -272,7 +272,7 @@ The percentage error in $x$ if $y$ is the correct value is $(x-y)/y \cdot 100$.
##### Example ##### 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} ```{julia}
(60 - 50) / 60 * 100 (60 - 50) / 60 * 100