a) We want to express $\var{b}$ as a percentage of $\var{a}$. To do this, we must divide $\var{b}$ by $\var{a}$ to produce a fraction:
\[\frac{\var{b}}{\var{a}}\]
and then convert this fraction into a percentage by evaluating the fraction and multiplying by $100$:
\[\frac{\var{b}}{\var{a}}=\simplify{{{b}/{a}}}\]
\[100\times \simplify{{{b}/{a}}}=\var{latex(dpformat(ans_a,2))}\%\text{ (to $2$.d.p)}\]
b) Here we want to express $\var{c}$ as a percentage of $\var{d}$. First, we must divide $\var{c}$ by $\var{d}$ to produce a fraction:
\[\frac{\var{c}}{\var{d}}\]
We must then convert this fraction into a percentage by evaluating the fraction and multiplying by $100$:
\[\frac{\var{c}}{\var{d}}=\simplify{{{c}/{d}}}\]
\[100\times \simplify{{{c}/{d}}}=\var{latex(dpformat(ans_b,2))}\%\text{ (to $2$.d.p)}\]
c) We know that there are a total of $\var{d}$ machines and that $\var{f}\%$ of these broke down. We want to find $\var{f}\%$ of $\var{d}$. To do this, we divide $\var{f}$ by $100$ and multiply the result by $\var{d}$:
\[\frac{\var{f}}{100}\times \var{d}=\var{ans_b2}\]
d) The formula for a percentage change is:
\[\dfrac{v_1-v_0}{v_0}\times 100\]
Here we have $v_0={\var{g}}$ and $v_1={\var{h}}$ so the percentage change is:
\[\dfrac{\var{h}-\var{g}}{\var{g}}\times 100=\var{latex(dpformat(pchange,2))} \text{ (to $2$.d.p)}\]
e) Here we know that $\var{k}$ is equal to $\var{j}\%$ of the total number of chocolate eggs produced by the factory last Easter. To find the original (total) amount, we must multiply $\var{k}$ by $100$ and divide by $\var{j}$:
\[\dfrac{100\times \var{k}}{\var{j}}=\var{r}\]
So $\var{r}$ chocolate Easter eggs were produced by the factory last Easter.
f) By next summer, the workforce will have increased by $\var{l}\%$, or equivalently from $\var{m}$ to some new value. Let's call this new value $x$. To work out the value of $x$ we must first notice that $x$ is equal to $(100+\var{l})\%=\simplify{{100+{l}}}\%$ of $\var{m}$. In other words,
\[x=\dfrac{\simplify{{100+{l}}}}{100}\times \var{m}\]
\[=\var{ans_e}\]
So $\var{ans_e}$ people will be employed at the factory by next summer.
g) The formula for the PED is:
\[\textbf{PED }= \frac{\text{percentage change in quantity demanded}}{\text{percentage change in price}}\]
Using the formula for percentage changes, the percentage change in quantity demanded is:
\[100\times\frac{\var{high}-\var{low}}{\var{low}}=100\times\simplify{{{high}-{low}}/{low}}=\var{latex(dpformat(p_change_demand,2))}\%\text{ (to $2$.d.p)}\]
and the percentage change in price is:
\[100\times\frac{\var{latex(dpformat(p_low,2))}-\var{latex(dpformat(p_high,2))}}{\var{latex(dpformat(p_high,2))}}=100\times\simplify{{{p_low}-{p_high}}/{p_high}}=\var{latex(dpformat(p_change_price,2))}\%\text{ (to $2$.d.p)}\]
Now, using the formula for the PED we have:
\[\text{PED }=\frac{\var{latex(dpformat(p_change_demand,2))}}{\var{latex(dpformat(p_change_price,2))}}=\var{latex(dpformat(ans_g,2))}\text{ (to $2$.d.p)}\]
So the PED for the company's sheep food is $\var{ans_g2}$ (since we ignore the sign).