diff options
Diffstat (limited to '3717/CH6/EX6.7/Ex6_7.sce')
-rw-r--r-- | 3717/CH6/EX6.7/Ex6_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3717/CH6/EX6.7/Ex6_7.sce b/3717/CH6/EX6.7/Ex6_7.sce new file mode 100644 index 000000000..a66165f05 --- /dev/null +++ b/3717/CH6/EX6.7/Ex6_7.sce @@ -0,0 +1,15 @@ +// Ex6_7 Page:105 (2014)
+clc;clear;
+l = 1; // Orbital angular momentum quantum number
+m = [1, 0, -1]; // The possible z-components of l
+printf("\nThe possible orientations of vector L with respect to the z-axis are:");
+for i = 1:3
+ theta = acosd(m(i)/sqrt(l*(l+1)));
+ printf("\ntheta = %d degree (m = %d)", theta, m(i));
+end
+
+// Result
+// The possible orientations of vector L with respect to the z-axis are:
+// theta = 45 degree (m = 1)
+// theta = 90 degree (m = 0)
+// theta = 135 degree (m = -1)
\ No newline at end of file |