summaryrefslogtreecommitdiff
path: root/413/CH5/EX5.6
diff options
context:
space:
mode:
Diffstat (limited to '413/CH5/EX5.6')
-rw-r--r--413/CH5/EX5.6/Table_5_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/413/CH5/EX5.6/Table_5_1.sce b/413/CH5/EX5.6/Table_5_1.sce
new file mode 100644
index 000000000..33d26119e
--- /dev/null
+++ b/413/CH5/EX5.6/Table_5_1.sce
@@ -0,0 +1,14 @@
+clc
+clear
+x=1.9;
+function a=expsin(y)
+ a=(exp(x+y).*sin(x+y)-exp(x).*sin(x))/y
+endfunction
+function out=tab5(y)
+out=[y,expsin(y)]
+endfunction
+y=0.05
+for i=0:1:10
+disp(tab5(y))
+y=y.*0.5
+end \ No newline at end of file