diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3739/CH2/EX2.6/EX2_6.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3739/CH2/EX2.6/EX2_6.sce')
-rw-r--r-- | 3739/CH2/EX2.6/EX2_6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3739/CH2/EX2.6/EX2_6.sce b/3739/CH2/EX2.6/EX2_6.sce new file mode 100644 index 000000000..cde94a5a2 --- /dev/null +++ b/3739/CH2/EX2.6/EX2_6.sce @@ -0,0 +1,19 @@ +//Chapter 2, Example 2.6, page 38
+clc
+
+//Initialisation
+W=100*10**-12 //power in watt
+pi=3.14 //pi
+no=120*pi
+
+//Calculation
+Em=sqrt(2*no*W) //effective value of E
+Ee=Em/sqrt(2) //effective value of E
+Hm=sqrt((2*10**-10)/(no)) //effective value of H
+He=Hm/sqrt(2) //effective value of H
+
+//Result
+printf("Em = %.1f uV/m",(Em*10**6))
+printf("\nEe = %.1f uV/m",(Ee*10**6))
+printf("\nHm = %.3f uA/m",(Hm*10**6))
+printf("\nHe = %.2f uA/m",(He*10**6))
|