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 --- 746/CH4/EX4.11/4_11.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 746/CH4/EX4.11/4_11.sce (limited to '746/CH4/EX4.11/4_11.sce') diff --git a/746/CH4/EX4.11/4_11.sce b/746/CH4/EX4.11/4_11.sce new file mode 100755 index 000000000..718c78372 --- /dev/null +++ b/746/CH4/EX4.11/4_11.sce @@ -0,0 +1,16 @@ +//PLOTTING// +pathname=get_absolute_file_path('4.11.sce') +filename=pathname+filesep()+'4.11-data.sci' +exec(filename) +//Evaluating the value of Vb: +Vb=V*(1-cosd(theta))*d*A/M +//Value of U/V for various values of t +t=0:20; +[m n]=size(t) +for i=1:n + U_V(i)=Vb*t(i)/(1+Vb*t(i)); +end + +//Plotting U/V vs t: +plot(t,U_V) +xtitle('U/V vs t','t (in sec)','U/V') -- cgit