Merge pull request #159 from leonradams/patch-1

Update calculator.qmd
This commit is contained in:
john verzani
2026-08-17 08:53:28 -04:00
committed by GitHub

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