summaryrefslogtreecommitdiff
path: root/3480/CH11/EX11.1/Ex11_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3480/CH11/EX11.1/Ex11_1.sce')
-rw-r--r--3480/CH11/EX11.1/Ex11_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3480/CH11/EX11.1/Ex11_1.sce b/3480/CH11/EX11.1/Ex11_1.sce
new file mode 100644
index 000000000..da9b0782e
--- /dev/null
+++ b/3480/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,22 @@
+clc
+
+m=4 //kg
+x=0.180 //m
+g=9.80 //m/s^2
+
+//solution a:
+F=m*g
+k=F/x
+disp(k,"the spring constant k in N/m is=")
+
+//sloution b:
+T=2*%pi*sqrt(m/k)
+disp(T,"the period T in sec is=")
+
+//solution c:
+v=1/T
+disp(v,"the frequency v in hz is")
+
+//solution d:
+W=0.5*k*x^2
+disp(W,"the total energy stored in Nm is=")