diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /564/CH5/EX5.4/5_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '564/CH5/EX5.4/5_4.sce')
-rwxr-xr-x | 564/CH5/EX5.4/5_4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/564/CH5/EX5.4/5_4.sce b/564/CH5/EX5.4/5_4.sce new file mode 100755 index 000000000..6121bb9c3 --- /dev/null +++ b/564/CH5/EX5.4/5_4.sce @@ -0,0 +1,15 @@ +pathname=get_absolute_file_path('5_4.sce')
+filename=pathname+filesep()+'5_4data.sci'
+exec(filename)
+clear
+AC=(AB^2 +BC^2)^0.5;
+delBC=BC*delT*alpha;
+F1=[AB/BC;1;AB/BC;1;-AC/BC;-AC/BC];
+L=[AB;BC;AB;BC;AC;AC];
+for i=1:6
+ X(i)=L(i)*F1(i)*F1(i);
+end
+R=(-delBC*A*E)/sum(X);
+F=R*F1;
+disp("Force (AB,BC,CD,DA,AC,DB):");
+printf("\n %f N",F);
\ No newline at end of file |