summaryrefslogtreecommitdiff
path: root/165/CH15/EX15.8/ex15_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '165/CH15/EX15.8/ex15_8.sce')
-rw-r--r--165/CH15/EX15.8/ex15_8.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/165/CH15/EX15.8/ex15_8.sce b/165/CH15/EX15.8/ex15_8.sce
new file mode 100644
index 000000000..8dd4968d9
--- /dev/null
+++ b/165/CH15/EX15.8/ex15_8.sce
@@ -0,0 +1,8 @@
+//Example 15.8
+clc;
+
+C=0.047*10^-6; //in farads
+f=50; //in ohms
+x=2*%pi*f*C;
+R=invr(x);
+printf('\nValue of resistor R = %.2f k ohm\n',R/1000) \ No newline at end of file