summaryrefslogtreecommitdiff
path: root/446/CH5/EX5.3
diff options
context:
space:
mode:
Diffstat (limited to '446/CH5/EX5.3')
-rwxr-xr-x446/CH5/EX5.3/5_3.sce6
-rwxr-xr-x446/CH5/EX5.3/5_3.txt3
2 files changed, 9 insertions, 0 deletions
diff --git a/446/CH5/EX5.3/5_3.sce b/446/CH5/EX5.3/5_3.sce
new file mode 100755
index 000000000..890ff505c
--- /dev/null
+++ b/446/CH5/EX5.3/5_3.sce
@@ -0,0 +1,6 @@
+clear
+clc
+disp('Ex-5.3');
+x1=0;x2=L;
+xavg=(2/L)*integrate('sin(%pi*x/L)^2','x',x1,x2);
+printf('The average value of x is found out to be L/2 which apparently is independent of Qunatum state.'); \ No newline at end of file
diff --git a/446/CH5/EX5.3/5_3.txt b/446/CH5/EX5.3/5_3.txt
new file mode 100755
index 000000000..2d67566fa
--- /dev/null
+++ b/446/CH5/EX5.3/5_3.txt
@@ -0,0 +1,3 @@
+
+ Ex-5.3
+The average value of x is found out to be L/2 which apparently is independent of Qunatum state. \ No newline at end of file