summaryrefslogtreecommitdiff
path: root/2513/CH5/EX5.2/5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2513/CH5/EX5.2/5_2.sce')
-rwxr-xr-x2513/CH5/EX5.2/5_2.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2513/CH5/EX5.2/5_2.sce b/2513/CH5/EX5.2/5_2.sce
new file mode 100755
index 000000000..3eec35449
--- /dev/null
+++ b/2513/CH5/EX5.2/5_2.sce
@@ -0,0 +1,21 @@
+clc
+//initialisation of variables
+y0=30000//in
+y1=172000//in
+y2=292000//in
+a=172//ft
+p=30//ft
+y=292//ft
+q=322000//ft
+g=313//ft
+n=0.05//ft
+d=-2.442//ft
+//CALCULATIONS
+L=[2*p*a*y2-(a)^2*q]/[p*y-(a)^2]//moreover
+m=(g-p)/p//ft
+N=n*d//in
+Y=g/[1+m*(N)]//in
+//RESULTS
+printf('the saturation populations=% f moreover',L)
+printf('the coefficients=% f in',N)
+printf('the equation of a logistic curve=% f in',Y)