diff options
Diffstat (limited to '3755/CH12/EX12.4/Ex12_4.sce')
-rw-r--r-- | 3755/CH12/EX12.4/Ex12_4.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3755/CH12/EX12.4/Ex12_4.sce b/3755/CH12/EX12.4/Ex12_4.sce new file mode 100644 index 000000000..bf6c51c56 --- /dev/null +++ b/3755/CH12/EX12.4/Ex12_4.sce @@ -0,0 +1,14 @@ +clear
+//
+//
+//
+
+//Variable declaration
+P=10*10^-3; //power(W)
+d=1.3*10^-3; //diameter(m)
+
+//Calculation
+I=4*P/(%pi*d^2); //intensity of beam(W/m^2)
+
+//Result
+printf("\n intensity of beam is %0.1f kW/m^2",I/10^3)
|