summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.12/Ex7_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH7/EX7.12/Ex7_12.sce')
-rw-r--r--3769/CH7/EX7.12/Ex7_12.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH7/EX7.12/Ex7_12.sce b/3769/CH7/EX7.12/Ex7_12.sce
new file mode 100644
index 000000000..2af081e16
--- /dev/null
+++ b/3769/CH7/EX7.12/Ex7_12.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+V=220 //V
+P=60.0 //W
+P1=85 //w
+
+//Calculation
+//
+R=V**2/P
+V1=sqrt(P1*R)
+
+//Result
+printf("\n Maximum voltage is %0.1f V",V1)