summaryrefslogtreecommitdiff
path: root/260/CH9/EX9.6
diff options
context:
space:
mode:
Diffstat (limited to '260/CH9/EX9.6')
-rw-r--r--260/CH9/EX9.6/9_6.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/260/CH9/EX9.6/9_6.sce b/260/CH9/EX9.6/9_6.sce
new file mode 100644
index 000000000..da872b020
--- /dev/null
+++ b/260/CH9/EX9.6/9_6.sce
@@ -0,0 +1,14 @@
+//Eg-9.6
+//pg-400
+
+clc
+clear
+
+x=0.6;
+p=.3275911;
+t=1/(1+p*x);
+
+erfx=1-(.254829592*t-.284496736*t^2+1.421413741*t^3-1.453152027*t^4+1.061405429*t^5)*exp(-x^2);
+
+disp("erf(.6)")
+disp(erfx) \ No newline at end of file