summaryrefslogtreecommitdiff
path: root/1322/CH5/EX5.7.a/48sampleex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1322/CH5/EX5.7.a/48sampleex1.sce')
-rwxr-xr-x1322/CH5/EX5.7.a/48sampleex1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1322/CH5/EX5.7.a/48sampleex1.sce b/1322/CH5/EX5.7.a/48sampleex1.sce
new file mode 100755
index 000000000..d46605594
--- /dev/null
+++ b/1322/CH5/EX5.7.a/48sampleex1.sce
@@ -0,0 +1,14 @@
+
+//f(x):x->3x;g(x):x->x-2;fg(5)
+clear;
+clc;
+close;
+x=poly(0,'x');
+f=3*x;
+g=x-2;
+// fg= f(g(x))=f(x-2)=3*(x-2)
+x=5;
+fg=3*(x-2)
+
+
+