summaryrefslogtreecommitdiff
path: root/3407/CH10/EX10.2/Ex10_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3407/CH10/EX10.2/Ex10_2.sce')
-rw-r--r--3407/CH10/EX10.2/Ex10_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3407/CH10/EX10.2/Ex10_2.sce b/3407/CH10/EX10.2/Ex10_2.sce
new file mode 100644
index 000000000..5e466c2a8
--- /dev/null
+++ b/3407/CH10/EX10.2/Ex10_2.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+funcprot(0);
+
+//given data
+a_ = 1/3;
+
+//Calculations
+R2_R1 = 1/(1-a_)^0.5;
+R3_R1 = 1/(1-2*a_)^0.5;
+R3_R2 = ((1-a_)/(1-2*a_))^0.5;
+
+//Results
+printf('R2/R1 = %.3f\n R3/R1 = %.3f\n R3/R2 = %.3f',R2_R1,R3_R1,R3_R2);