diff options
Diffstat (limited to '2075/CH9/EX9.8/pe9_8.sce')
-rwxr-xr-x | 2075/CH9/EX9.8/pe9_8.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2075/CH9/EX9.8/pe9_8.sce b/2075/CH9/EX9.8/pe9_8.sce new file mode 100755 index 000000000..79de417ec --- /dev/null +++ b/2075/CH9/EX9.8/pe9_8.sce @@ -0,0 +1,12 @@ +//example 9.8
+clc;funcprot(0);
+//Initialization of Variable
+f1=60;//frequency
+V=150;//voltage
+f2=31;//kHz
+//calculation
+f3=f1*4;
+disp(f3*2^7/1000,"pwm fundamental frequency in kHz:")
+Vo=V*10^(-4.2);
+disp(Vo*1000,"output voltage in V:")
+clear()
|