summaryrefslogtreecommitdiff
path: root/291/CH7/EX7.8a/eg7_8a.sce
diff options
context:
space:
mode:
Diffstat (limited to '291/CH7/EX7.8a/eg7_8a.sce')
-rwxr-xr-x291/CH7/EX7.8a/eg7_8a.sce3
1 files changed, 3 insertions, 0 deletions
diff --git a/291/CH7/EX7.8a/eg7_8a.sce b/291/CH7/EX7.8a/eg7_8a.sce
new file mode 100755
index 000000000..737939d88
--- /dev/null
+++ b/291/CH7/EX7.8a/eg7_8a.sce
@@ -0,0 +1,3 @@
+function result= estimator(X, n)
+ result= (sum(X) +1)/(n+2);
+endfunction \ No newline at end of file