summaryrefslogtreecommitdiff
path: root/995/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '995/CH6/EX6.2/Ex6_2.sce')
-rwxr-xr-x995/CH6/EX6.2/Ex6_2.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/995/CH6/EX6.2/Ex6_2.sce b/995/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..655914baa
--- /dev/null
+++ b/995/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,8 @@
+//Ex:6.2
+clc;
+clear;
+close;
+X_c=3.18;
+R=100;
+V_rip=1*(X_c/sqrt(R^2+X_c^2));
+printf("Ripple voltage = %f V",V_rip); \ No newline at end of file