diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2381/CH1/EX1.17/ex_17.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2381/CH1/EX1.17/ex_17.sce')
-rwxr-xr-x | 2381/CH1/EX1.17/ex_17.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2381/CH1/EX1.17/ex_17.sce b/2381/CH1/EX1.17/ex_17.sce new file mode 100755 index 000000000..c13f58466 --- /dev/null +++ b/2381/CH1/EX1.17/ex_17.sce @@ -0,0 +1,16 @@ +//Example 17 // possible values and energy +clc; +clear; +close; +r1=2;//from graph +r2=4.5;//units from graph +disp("possible values of r are "+string(r1)+" units and "+string(r2)+" units") +osc=1-(-2.5);//units +disp("maximum energy of oscillations for r=2 units is "+string(osc)+" units ") +osc1=0.5-(-1);//units +disp("maximum energy of oscillations for r=4.5 units is "+string(osc1)+" units ") +t=1;//from graph +v=0;//from graph +e=t+v;// +disp(e,"total energy is,(unit)=") +disp("at infinity V = "+string(v)+" therefore T = "+string(t)+" unit ") |