А)......
1)А=0, В=0
(0→0)&(0v1)=1&1=1
2)A=1, B=0
(1→0)&(1v1)=0&1=0
3)A=0, B=1
(0→1)&(0v0)=1&0=0
4)A=1, B=1
(1→1)&(1 v0)=1&1=1
б).......
1) A=0, B=0
(0<=> 0)&(0&0)v (1&1)= 1&0 v1= 0v1=1
2) A=1, B=0
(1<=>0)&(1&0)v(0&1)=0&0v0=0v0=0
3) A= o, B=1
(0<=>1)&(0&1)v(1&0)=0&0v0=0v0=0
4) A=1, B=1
(1<=>1)&(1&1)v(0&0)=1&1v0=1&0=0
Program abc;
uses GraphABC;
const
scale = 20;
step = 0.001;
var
x0, y0, x1, y1: integer;
x, y, min, max, a, b, c: real;
begin
setwindowsize(1000, 800);
DrawInBuffer := true;
// write(' введите промежуток для функции(min значение-enter- max значение) ');
// read(min, max);
writeln('a=');
read(a);
writeln('b=');
read(b);
writeln('c=');
read(c);
x0 := WindowWidth div 2;
y0 := WindowHeight div 2;
line(20, y0, WindowWidth - 20, y0);
line(x0, 20, x0, WindowHeight - 20);
min := trunc((20 - x0) / scale);
max := trunc((WindowWidth - 20 - x0) / scale);
x := min;
while x <= max do
begin
x1 := trunc(x0 + x * scale);
y := a * x * x * x + b * x * x + c;
y1 := trunc(y0 - y * scale);
PutPixel(x1, y1, clGreen);
y := a * x * abs(sin(x));
y1 := trunc(y0 - y * scale);
PutPixel(x1, y1, clBlue);
x := x + step;
end;
end.
1.147(10)=2113(4)=93(16)
2.2132(4)=158(10), А6Е=<span><span>2670(10)
3.ВА12(16)
11110(2)</span></span>