summaryrefslogtreecommitdiff
path: root/620/CH3/EX3.12/example3_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH3/EX3.12/example3_12.sce')
-rw-r--r--620/CH3/EX3.12/example3_12.sce4
1 files changed, 4 insertions, 0 deletions
diff --git a/620/CH3/EX3.12/example3_12.sce b/620/CH3/EX3.12/example3_12.sce
new file mode 100644
index 000000000..523b2cf08
--- /dev/null
+++ b/620/CH3/EX3.12/example3_12.sce
@@ -0,0 +1,4 @@
+p1=50;
+p2=30;
+n=p2/p1*100;
+disp("the efficeiency (in %) of the power supply is"); disp(n); \ No newline at end of file