summaryrefslogtreecommitdiff
path: root/548/CH10/EX10.1/10_01.sce
diff options
context:
space:
mode:
Diffstat (limited to '548/CH10/EX10.1/10_01.sce')
-rwxr-xr-x548/CH10/EX10.1/10_01.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/548/CH10/EX10.1/10_01.sce b/548/CH10/EX10.1/10_01.sce
new file mode 100755
index 000000000..1108f7849
--- /dev/null
+++ b/548/CH10/EX10.1/10_01.sce
@@ -0,0 +1,6 @@
+pathname=get_absolute_file_path('10_01.sce')
+filename=pathname+filesep()+'10_01data.sci'
+exec(filename)
+dl=strain*l;disp(dl,"dl=","dl=strain*l","elongation of the rod dl:")
+printf("\Answer:\n")
+printf("\n\elongation of the rod under this load: %f m\n\n",dl)