summaryrefslogtreecommitdiff
path: root/1427/CH22/EX22.1/22_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH22/EX22.1/22_1.sce')
-rw-r--r--1427/CH22/EX22.1/22_1.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/1427/CH22/EX22.1/22_1.sce b/1427/CH22/EX22.1/22_1.sce
new file mode 100644
index 000000000..31afab4f1
--- /dev/null
+++ b/1427/CH22/EX22.1/22_1.sce
@@ -0,0 +1,6 @@
+//ques-22.1
+//Calculating volume of a cubic unit cell
+clc
+a=0.3;//edge length (in nm)
+V=a^3;//volume
+printf("The volume of the unit cell is %.0f*10^-30 m^3.",V*1000);