diff options
Diffstat (limited to '3523/CH4/EX4.10.3/Ex4_3.sce')
-rw-r--r-- | 3523/CH4/EX4.10.3/Ex4_3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3523/CH4/EX4.10.3/Ex4_3.sce b/3523/CH4/EX4.10.3/Ex4_3.sce new file mode 100644 index 000000000..4fd8ae6e4 --- /dev/null +++ b/3523/CH4/EX4.10.3/Ex4_3.sce @@ -0,0 +1,12 @@ +//Example 3// Ch 4
+clc;
+clear;
+close;
+// given data
+a=4*1e4;
+b=15*1e5;
+lb=0;
+ub=0.0005;
+i=integrate('(a-b*sqrt(x))','x',lb,ub)
+as=exp(i);//Avalanche size
+printf('Avalache size %f',as)
|