diff options
Diffstat (limited to '2075/CH4/EX4.11/pe4_11.sce')
-rwxr-xr-x | 2075/CH4/EX4.11/pe4_11.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2075/CH4/EX4.11/pe4_11.sce b/2075/CH4/EX4.11/pe4_11.sce new file mode 100755 index 000000000..199e62787 --- /dev/null +++ b/2075/CH4/EX4.11/pe4_11.sce @@ -0,0 +1,12 @@ +//example 4.11
+clc; funcprot(0);
+// Initialization of Variable
+P=20;
+R=8;
+Vi=1.23;
+//calculation
+V=(P*R)^.5;
+disp(V,"output voltage in V")
+G=V/Vi;
+disp(G,"gain:")
+clear()
|