summaryrefslogtreecommitdiff
path: root/3293/CH8/EX8.1/Ex8_1.sce
blob: c7248ff671ce75c3eb40be661e06e344e6b16add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//page 271
//Example 8.1
clc;
clear;
close;
n = round(rand() * 10 + 2);
a = round(rand(1,n) * 10)
b = round(rand(1,n) * 10)
disp(n,'n = ');
disp(a,'a = ');
disp(b,'b = ');
disp(a*b','Then, (a|b) = ');
//end