You are on page 1of 7

Sistem Persamaan Linear dan Pertidaksamaan satu variabel

Penilai : Abdul Karim - SMA Nasima Semarang , email :


thinklogic2003@gmail.com
Sistem Persamaan Linear Dua Variabel (hal 2)
> solve({4*x-3*y=6,x+2*y=7},{x,y});#contoh 1 hal 2
{ x3, y2 }
> solve({y=5*x-5,y=x^2+2*x-3},{x,y});#contoh 2 hal 2
{ x1, y0 }, { x2, y5 }

Metode Grafik (hal 3)


> with(plots):
> implicitplot({2*x+3*y-12=0,x-y-1=0},x=-3..8,y=-5..8);#hal 3

> implicitplot({x-2*y-4=0,x-2*y-2=0},x=-3..8,y=-5..8);#hal 3 gambar


grafik salah pada handout

> solve({3*x-y=3,x+2*y=8},{x,y});#contoh (i) hal 4


{ x2, y3 }
> implicitplot({3*x-y=3,x+2*y=8},x=-3..8,y=-5..8);#grafiknya

> solve({2*x-y=7,4*x-2*y=14},{x,y});#contoh (ii) hal 4


{ xx, y2 x7 }
> implicitplot({2*x-y=7,4*x-2*y=14},x=-3..8,y=-10..8);#grafiknya

Metode Eliminasi (hal 5)


> solve({2*x-y+2=0,x+y-5=0},{x,y});#metode eliminasi
{ x1, y4 }
> eq:=p*(2*x-y+2)+q*(x+y-5)=0;#persamaan pada handout salah ketik
eq := p ( 2 xy2 )q ( xy5 )0
> implicitplot({subs(p=1,q=-2,eq),subs(p=1,q=1,eq),subs(p=-2,q=1,eq)
,subs(p=1,q=4,eq)},x=-3..8,y=-10..8);

> solve({subs(p=1,q=-2,eq),subs(p=1,q=1,eq)},{x,y});
{ x1, y4 }
> solve({3*x-y=3,x+2*y=8},{x,y});#contoh hal 6
{ x2, y3 }

Metode eliminasi dengan maple


> p1:=3*x-y=3;
p1 := 3 xy3
> p2:=x+2*y=8;
p2 := x2 y8

eliminasi y
> simplify(2*p1+p2);
7 x14
> isolate(%,x);
x2

eliminasi x
> simplify(p1-3*p2);

7 y-21
> isolate(%,y);
y3

Metode Substitusi (hal 7)


> p1:=3*x-y=3;
p1 := 3 xy3
> p2:=x+2*y=8;
p2 := x2 y8
> isolate(p1,y);
y3 x3
> subs(%,p2);
7 x68
> isolate(%,x);
x2
> subs(%,%%%);
y3

Analisis SPLDV (hal 9)


> p1:=a[1]*x+b[1]*y=c[1];
p1 := a1 xb1 yc1
> p2:=a[2]*x+b[2]*y=c[2];
p2 := a2 xb2 yc2

eliminasi y
> simplify(b[2]*p1-b[1]*p2);
b2 a1 xb1 a2 xb2 c1b1 c2
> isolate(%,x);
x

b2 c1b1 c2
b2 a1b1 a2

eliminasi x
> simplify(a[2]*p1-a[1]*p2);
a2 b1 ya1 b2 ya2 c1a1 c2
> isolate(%,y);
y

a2 c1a1 c2
b1 a2b2 a1

Masalah yang terkait SPLDV (hal 10)


> solve({2*x+y=20,2*x+2*y=28},{x,y});#contoh 1 hal 11
{ x6, y8 }
> solve({x+y=60,x+3*y=96},{x,y});#contoh 2 hal 12

{ x42, y18 }
>

You might also like