diff options
Diffstat (limited to '2459/CH15/EX15.3/Ex15_3.sce')
-rw-r--r-- | 2459/CH15/EX15.3/Ex15_3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2459/CH15/EX15.3/Ex15_3.sce b/2459/CH15/EX15.3/Ex15_3.sce new file mode 100644 index 000000000..048dc3129 --- /dev/null +++ b/2459/CH15/EX15.3/Ex15_3.sce @@ -0,0 +1,13 @@ +//chapter15
+//example15.3
+//page321
+
+P=50 // W
+R=8 // ohm
+
+// since p=V^2/R we get
+V=(P*R)^0.5
+I=V/R
+
+printf("ac output voltage = %.3f V \n",V)
+printf("ac output current = %.3f A \n",I)
|