summaryrefslogtreecommitdiff
path: root/509/CH12/EX12.1/12_1.sci
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /509/CH12/EX12.1/12_1.sci
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '509/CH12/EX12.1/12_1.sci')
-rw-r--r--509/CH12/EX12.1/12_1.sci17
1 files changed, 17 insertions, 0 deletions
diff --git a/509/CH12/EX12.1/12_1.sci b/509/CH12/EX12.1/12_1.sci
new file mode 100644
index 000000000..867923c1d
--- /dev/null
+++ b/509/CH12/EX12.1/12_1.sci
@@ -0,0 +1,17 @@
+// Chapter 12 Example 1//
+clc
+clear
+// span length=l,ultimate strength=s,safety factor=sf//
+l=160;// in m//
+s=8000;// in N//
+sf=4;
+// working stress=t//
+t=s/sf;
+printf("\n Working Stress T = %.2f N\n",t);
+//sag of line=d,weight of conductor=w//
+w=4;// in N/m //
+d=w*l^2/(8*t);
+printf("\n Sag of the line = %.2f m\n",d);
+// length of conductor in spans=L//
+L=l+((w^2*l^3)/(24*t^2));
+printf("\n Length of the conductor in spans = %.2f m\n",L); \ No newline at end of file