diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2210/CH2/EX2.5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2210/CH2/EX2.5')
-rwxr-xr-x | 2210/CH2/EX2.5/2_5.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2210/CH2/EX2.5/2_5.sce b/2210/CH2/EX2.5/2_5.sce new file mode 100755 index 000000000..0fd313f7e --- /dev/null +++ b/2210/CH2/EX2.5/2_5.sce @@ -0,0 +1,13 @@ +//Chapter 2, Problem 5
+clc
+f=1.6*10^6 //frequency in hertz
+Zoc_mag=900 //magnitude in ohm of open circuit impedance
+Zoc_ang=-30 //angle in degree of open circuit impedance
+Zsc_mag=400 //magnitude in ohm of short circuit impedance
+Zsc_ang=-10 //angle in degree of short circuit impedance
+
+//calculation of charactersitics impedance
+Z0_mag=sqrt(Zoc_mag*Zsc_mag)
+Z0_ang=Zoc_ang-Zsc_ang
+
+printf("Z0 (magnitude) = %d ohm\n Z0(angle) = %d degree",Z0_mag,Z0_ang)
|