summaryrefslogtreecommitdiff
path: root/1076/CH16/EX16.22/16_22.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1076/CH16/EX16.22/16_22.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1076/CH16/EX16.22/16_22.sce')
-rwxr-xr-x1076/CH16/EX16.22/16_22.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/1076/CH16/EX16.22/16_22.sce b/1076/CH16/EX16.22/16_22.sce
new file mode 100755
index 000000000..06861754c
--- /dev/null
+++ b/1076/CH16/EX16.22/16_22.sce
@@ -0,0 +1,24 @@
+clear
+clc
+
+V=33e3
+L=10
+Ce=.8
+data=[
+4e6 .8 10
+2e6 .8 6
+1e6 .8 8
+]
+rho=.0286*1e3
+P=2000
+q=0
+for i=1:3
+ I(i,1)=data (i,1)/(sqrt(3) * V * data(i,2))
+ E(i,1)= I(i)^2 * rho*3* data (i,3) * 1e-3
+ q=q+E(i)
+end
+Q=q*365*Ce
+
+a=sqrt(Q/P)
+
+mprintf("a=%.2f sq mm", fix(a*100)/100)