summaryrefslogtreecommitdiff
path: root/1109/CH13/EX13.6/13_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1109/CH13/EX13.6/13_6.sce')
-rwxr-xr-x1109/CH13/EX13.6/13_6.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1109/CH13/EX13.6/13_6.sce b/1109/CH13/EX13.6/13_6.sce
new file mode 100755
index 000000000..0c9f0e44a
--- /dev/null
+++ b/1109/CH13/EX13.6/13_6.sce
@@ -0,0 +1,16 @@
+clear;
+clc;
+Vs1=25;Is1=1;Is2=2; //values with output terminal short circuited
+Vo1=10;Vo2=50;Io2=2; //values with input terminal open circuited
+Vs2=0;
+h11=Vs1/Is1;
+printf("The h-parameters are:\n");
+printf("-h11 = %f ohms\n",h11); //with output terminals short circuited
+h21=Is2/Is1;
+printf("-h21 = %f\n",h21); //with input terminals open circuited
+h12=Vo1/Vo2;
+printf("-h12 = %f\n",h12); //with input terminals open circuited
+h22=Io2/Vo2;
+printf("-h22 = %f mho",h22); //with output terminals short circuited
+//the difference in result of h22 is due to erroneous value in textbook.
+disp("The difference in result of h22 is due to erroneous value in textbook")