summaryrefslogtreecommitdiff
path: root/2381/CH1/EX1.1
diff options
context:
space:
mode:
Diffstat (limited to '2381/CH1/EX1.1')
-rwxr-xr-x2381/CH1/EX1.1/ex_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2381/CH1/EX1.1/ex_1.sce b/2381/CH1/EX1.1/ex_1.sce
new file mode 100755
index 000000000..278b0e7ab
--- /dev/null
+++ b/2381/CH1/EX1.1/ex_1.sce
@@ -0,0 +1,13 @@
+//Example 1 // FREQUENCY AND TIME PERIOD
+clc;
+clear;
+close;
+format('v',6)
+//ph=50*x^2+100 in joule/kg
+m=10;//mass in kg
+f=10^3/m;//joule/kg
+w=sqrt(f);//oscillations
+fr=w/(2*%pi);//oscillations/sec
+tp=1/fr;//seconds
+disp(fr,"frequency of oscillation is ,(oscillations/seconds)=")
+disp(tp,"time period is,(seconds)=")