summaryrefslogtreecommitdiff
path: root/3293/CH4/EX4.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3293/CH4/EX4.9
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3293/CH4/EX4.9')
-rwxr-xr-x3293/CH4/EX4.9/Ex4_9.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3293/CH4/EX4.9/Ex4_9.sce b/3293/CH4/EX4.9/Ex4_9.sce
new file mode 100755
index 000000000..569b30889
--- /dev/null
+++ b/3293/CH4/EX4.9/Ex4_9.sce
@@ -0,0 +1,22 @@
+//page 133
+//Example 4.9
+clc;
+clear;
+close;
+disp('M is the ideal in F[x] generated by:');
+disp('(x-1)*(x+2)^2');
+disp('(x+2)^2*(x+3)');
+disp('(x-3)','and');
+x = poly(0,"x");
+p1 = (x-1)*(x+2)^2;
+p2 = (x+2)^2*(x-3);
+p3 = (x-3);
+disp('M = (x-1)*(x+2)^2 F[x] + (x+2)^2*(x-3) + (x-3)');
+disp('Then M contains:');
+t = 1/2*(x+2)^2*((x-1) - (x-3));
+disp(t);
+disp('i.e., M contains (x+2)^2');
+disp('and since, (x+2)^2 = (x-3)(x-7) - 17');
+disp('So M contains the scalar polynomial 1.');
+disp('So, M = F[x] and given polynomials are relatively prime.');
+//end