diff options
Diffstat (limited to '887/CH12/EX12.1/12_1.sce')
-rwxr-xr-x | 887/CH12/EX12.1/12_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/887/CH12/EX12.1/12_1.sce b/887/CH12/EX12.1/12_1.sce new file mode 100755 index 000000000..62b51100c --- /dev/null +++ b/887/CH12/EX12.1/12_1.sce @@ -0,0 +1,17 @@ +clc
+//initialisation of variables
+K= 2
+VGS1= 5 //V
+VGS2= 4 //V
+VGS3= 3 //V
+VGS4= 2 //V
+//CALCULATIONS
+id1= K*(VGS1-2)^2
+id2= K*(VGS2-2)^2
+id3= K*(VGS3-2)^2
+id4= K*(VGS4-2)^2
+//RESULTS
+printf ('iD = %.f V ',id1)
+printf ('\n iD = %.f V ',id2)
+printf ('\n iD = %.f V ',id3)
+printf ('\n iD = %.f V ',id4)
|