From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2381/CH1/EX1.1/ex_1.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2381/CH1/EX1.1/ex_1.sce (limited to '2381/CH1/EX1.1') 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)=") -- cgit