summaryrefslogtreecommitdiff
path: root/929/CH6/EX6.6.a/Example6_6_a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /929/CH6/EX6.6.a/Example6_6_a.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '929/CH6/EX6.6.a/Example6_6_a.sce')
-rwxr-xr-x929/CH6/EX6.6.a/Example6_6_a.sce45
1 files changed, 45 insertions, 0 deletions
diff --git a/929/CH6/EX6.6.a/Example6_6_a.sce b/929/CH6/EX6.6.a/Example6_6_a.sce
new file mode 100755
index 000000000..e5eed2580
--- /dev/null
+++ b/929/CH6/EX6.6.a/Example6_6_a.sce
@@ -0,0 +1,45 @@
+//Example 6.6(a)
+
+clear;
+
+clc;
+
+R=100*10^3;
+
+R1=2*10^3;
+
+R2=18*10^3;
+
+b=R1/(R1+R2);
+
+A0=-(1+(R2/R1))*R;
+
+a0=2*10^5;
+
+ft=1*10^6;
+
+ro=100;
+
+fB=b*ft;
+
+Ri=[R+((R1*R2)/(R1+R2))]/(1+(a0*b));
+
+Ro=ro/(1+(a0*b));
+
+fb=ft/a0;
+
+printf("A(jf)=(%d V/A)",A0);
+
+printf("/(1+(jf/%.d))",fB);
+
+printf("\nZi(jf)=%.d",Ri);
+
+printf("*(1+j(f/%.d))",fb);
+
+printf("/(1+(jf/%.d)) ohms",fB);
+
+printf("\nZo(jf)=%.d",Ro*10^3);
+
+printf("*(1+j(f/%.d))",fb);
+
+printf("/(1+(jf/%.d)) mohms",fB); \ No newline at end of file