Matematyka
Rozwiązanie zadanego układu równań metodą podstawiania:
$\begin{cases}5x+2y=33-1x
\\ -5x-4y=-33
\end{cases}$
$2y+6x=33-4y-5x=-33
$
$
$
$
$
$varc=document.getElementById("myCanvas");
$
$varctx=c.getContext("2d");
$
$ctx.font="18pxArial";
$
$ctx.strokeStyle="#202020";ctx.strokeStyle="#b22222";ctx.strokeText("y",5,24);ctx.font="12pxArial";
$
$ctx.moveTo(35,24);ctx.lineTo(370,24);ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("9",5,48);ctx.moveTo(35,48);ctx.lineTo(370,48);ctx.stroke();
$
$ctx.strokeText("8",5,72);ctx.moveTo(35,72);ctx.lineTo(370,72);ctx.stroke();
$
$ctx.strokeText("7",5,96);ctx.moveTo(35,96);ctx.lineTo(370,96);ctx.stroke();
$
$ctx.strokeText("6",5,120);ctx.moveTo(35,120);ctx.lineTo(370,120);ctx.stroke();
$
$ctx.strokeText("5",5,144);ctx.moveTo(35,144);ctx.lineTo(370,144);ctx.stroke();
$
$ctx.strokeText("4",5,168);ctx.moveTo(35,168);ctx.lineTo(370,168);ctx.stroke();
$
$ctx.strokeText("3",5,192);ctx.moveTo(35,192);ctx.lineTo(370,192);ctx.stroke();
$
$ctx.strokeText("2",5,216);ctx.moveTo(35,216);ctx.lineTo(370,216);ctx.stroke();
$
$ctx.strokeText("1",5,240);ctx.moveTo(35,240);ctx.lineTo(370,240);ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("0",5,264);ctx.moveTo(35,264);ctx.lineTo(370,264);ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("-1",5,288);ctx.moveTo(35,288);ctx.lineTo(370,288);ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("-5",27,310);ctx.moveTo(35,0);ctx.lineTo(35,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("-4",51,310);ctx.moveTo(59,0);ctx.lineTo(59,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("-3",75,310);ctx.moveTo(83,0);ctx.lineTo(83,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("-2",99,310);ctx.moveTo(107,0);ctx.lineTo(107,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("-1",123,310);ctx.moveTo(131,0);ctx.lineTo(131,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("0",147,310);ctx.moveTo(155,0);ctx.lineTo(155,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("1",171,310);ctx.moveTo(179,0);ctx.lineTo(179,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("2",195,310);ctx.moveTo(203,0);ctx.lineTo(203,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("3",219,310);ctx.moveTo(227,0);ctx.lineTo(227,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("4",243,310);ctx.moveTo(251,0);ctx.lineTo(251,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("5",267,310);ctx.moveTo(275,0);ctx.lineTo(275,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("6",291,310);ctx.moveTo(299,0);ctx.lineTo(299,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("7",315,310);ctx.moveTo(323,0);ctx.lineTo(323,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.strokeStyle="#202020";ctx.strokeText("8",339,310);ctx.moveTo(347,0);ctx.lineTo(347,290);ctx.strokeStyle='#eee9e9';ctx.stroke();
$
$ctx.beginPath();ctx.moveTo(197,0);ctx.lineTo(292,288);ctx.lineWidth=3;ctx.strokeStyle="#ff3399";ctx.stroke();
$
$ctx.beginPath();ctx.moveTo(101,0);ctx.lineTo(329,288);ctx.lineWidth=3;ctx.strokeStyle="#006633";ctx.stroke();
$
i: Ostateczne rozwiązanie to:
2y = -6x + 33
y = -3x + 33/2
-5x - 4•(-3x+33/2) = -33
7x = 33
7x = 33
x = 33/7
x = 33/7
y = -3x+33/2 y = -3(33/7)+33/2 = 33/14
{x,y} = {33/7,33/14}