summaryrefslogtreecommitdiff
path: root/2381/CH1/EX1.17/ex_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '2381/CH1/EX1.17/ex_17.sce')
-rwxr-xr-x2381/CH1/EX1.17/ex_17.sce16
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 ")