diff options
Diffstat (limited to '2459/CH20/EX20.1/Ex20_1.sce')
-rw-r--r-- | 2459/CH20/EX20.1/Ex20_1.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2459/CH20/EX20.1/Ex20_1.sce b/2459/CH20/EX20.1/Ex20_1.sce new file mode 100644 index 000000000..beac32ff8 --- /dev/null +++ b/2459/CH20/EX20.1/Ex20_1.sce @@ -0,0 +1,10 @@ +//chapter20
+//example20.1
+//page437
+
+V_NL=400 // V
+V_FL=300 // V
+
+regulation=((V_NL-V_FL)/V_FL)*100
+
+printf("percent voltage regulation = %.3f percent \n",regulation)
|