summaryrefslogtreecommitdiff
path: root/620/CH23/EX23.3/example23_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH23/EX23.3/example23_3.sce')
-rw-r--r--620/CH23/EX23.3/example23_3.sce5
1 files changed, 5 insertions, 0 deletions
diff --git a/620/CH23/EX23.3/example23_3.sce b/620/CH23/EX23.3/example23_3.sce
new file mode 100644
index 000000000..38b06c719
--- /dev/null
+++ b/620/CH23/EX23.3/example23_3.sce
@@ -0,0 +1,5 @@
+x_c=2;
+i=25;
+v=i*x_c;
+vm=sqrt(2)*v;
+disp("the peak voltage (in V) is"); disp(vm); \ No newline at end of file