diff --git a/src/routes/applet/det_geometric/paraped/+page.svelte b/src/routes/applet/det_geometric/paraped/+page.svelte index fc647c7d..d85a0f50 100644 --- a/src/routes/applet/det_geometric/paraped/+page.svelte +++ b/src/routes/applet/det_geometric/paraped/+page.svelte @@ -26,14 +26,22 @@ const f1 = new Formula('h &= ||\\mathbf{c}||\\cdot \\cos(\\$1\\pi) = \\$2') .addAutoParam((c2 / Math.PI).toFixed(2), PrimeColor.darkGreen) .addAutoParam(height.toFixed(2), PrimeColor.raspberry); - const f2 = new Formula('\\mathcal{A}&= \\text{area}(OABC) \\\\ &= ||\\$1 \\times \\$2|| = \\$3') + const f2 = new Formula( + '\\mathcal{\\$4}&= \\text{area}(OP\\thinspace QR) \\\\ &= ||\\$1 \\times \\$2|| = \\$3' + ) .addAutoParam('a', PrimeColor.blue) .addAutoParam('b', PrimeColor.cyan) - .addAutoParam(axb.length().toFixed(2), PrimeColor.blue); - const f3 = new Formula('\\mathcal{V} &= h \\cdot \\mathcal{A} = \\$1 \\cdot \\$2 = \\$3') + .addAutoParam(axb.length().toFixed(2), PrimeColor.orange) + .addAutoParam('A', PrimeColor.blue); + const f3 = new Formula( + '\\mathcal{\\$4} &= \\$5 \\cdot \\mathcal{\\$6} = \\$1 \\cdot \\$2 = \\$3' + ) .addAutoParam(height.toFixed(2), PrimeColor.raspberry) - .addAutoParam(axb.length().toFixed(2), PrimeColor.blue) - .addAutoParam((height * axb.length()).toFixed(1), PrimeColor.darkGreen); + .addAutoParam(axb.length().toFixed(2), PrimeColor.orange) + .addAutoParam((height * axb.length()).toFixed(1), PrimeColor.darkGreen) + .addAutoParam('V', PrimeColor.yellow) + .addAutoParam('h', PrimeColor.raspberry) + .addAutoParam('A', PrimeColor.blue); return new Formulas(f1, f2, f3).align(); } @@ -56,7 +64,7 @@ color={PrimeColor.blue} hasBackground /> - + @@ -66,7 +74,7 @@ color={PrimeColor.cyan} hasBackground /> - + @@ -81,7 +89,7 @@ color={PrimeColor.darkGreen} />