diff options
Diffstat (limited to '3293/CH2/EX2.11/Ex2_11.sce')
-rwxr-xr-x | 3293/CH2/EX2.11/Ex2_11.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3293/CH2/EX2.11/Ex2_11.sce b/3293/CH2/EX2.11/Ex2_11.sce new file mode 100755 index 000000000..abeb416ae --- /dev/null +++ b/3293/CH2/EX2.11/Ex2_11.sce @@ -0,0 +1,17 @@ +//page 39
+//Example 2.11
+clear;
+clc;
+close;
+disp('V is the space of all polynomial functions over F.');
+disp('S contains the functions as:')
+x = poly(0,"x");
+n = round(rand()*10);
+disp(n,'n = ');
+for i = 0 : n
+ f = x^i;
+ printf('f%d(x) = ',i);
+ disp(f);
+end
+disp('Then, V is the subspace spanned by set S.');
+//end
|