summaryrefslogtreecommitdiff
path: root/656/CH1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /656/CH1
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '656/CH1')
-rw-r--r--656/CH1/EX1.1/example1_1.pdfbin0 -> 6469 bytes
-rw-r--r--656/CH1/EX1.1/example1_1.sce29
-rw-r--r--656/CH1/EX1.2/example1_2.pdfbin0 -> 6703 bytes
-rw-r--r--656/CH1/EX1.2/example1_2.sce20
-rw-r--r--656/CH1/EX1.3/example1_3.pdfbin0 -> 6558 bytes
-rw-r--r--656/CH1/EX1.3/example1_3.sce21
-rw-r--r--656/CH1/EX1.4/example1_4.pdfbin0 -> 6958 bytes
-rw-r--r--656/CH1/EX1.4/example1_4.sce33
-rw-r--r--656/CH1/EX1.6/example1_6.pdfbin0 -> 5860 bytes
-rw-r--r--656/CH1/EX1.6/example1_6.sce24
-rw-r--r--656/CH1/EX1.7/example1_7.pdfbin0 -> 11334 bytes
-rw-r--r--656/CH1/EX1.7/example1_7.sce79
-rw-r--r--656/CH1/EX1.8/example1_8.pdfbin0 -> 9007 bytes
-rw-r--r--656/CH1/EX1.8/example1_8.sce70
-rw-r--r--656/CH1/EX1.9/example1_9.pdfbin0 -> 8135 bytes
-rw-r--r--656/CH1/EX1.9/example1_9.sce30
16 files changed, 306 insertions, 0 deletions
diff --git a/656/CH1/EX1.1/example1_1.pdf b/656/CH1/EX1.1/example1_1.pdf
new file mode 100644
index 000000000..495ef36de
--- /dev/null
+++ b/656/CH1/EX1.1/example1_1.pdf
Binary files differ
diff --git a/656/CH1/EX1.1/example1_1.sce b/656/CH1/EX1.1/example1_1.sce
new file mode 100644
index 000000000..f92b8fdf0
--- /dev/null
+++ b/656/CH1/EX1.1/example1_1.sce
@@ -0,0 +1,29 @@
+// e be the electron charge in coulombs (c)
+e=-1.6*10^-19;
+
+// n be the no. of electrons
+
+n=4600;
+
+//total charge q in coulombs (c)
+
+q=n*e;
+
+
+disp("q=")
+disp(q)
+units='coulombs C';
+q1=[string(q) units];
+disp(q1)
+// In coulombs
+
+
+// the total charge is -7.36*10^-16 coulombs
+
+
+
+
+
+
+
+
diff --git a/656/CH1/EX1.2/example1_2.pdf b/656/CH1/EX1.2/example1_2.pdf
new file mode 100644
index 000000000..013c5dfa6
--- /dev/null
+++ b/656/CH1/EX1.2/example1_2.pdf
Binary files differ
diff --git a/656/CH1/EX1.2/example1_2.sce b/656/CH1/EX1.2/example1_2.sce
new file mode 100644
index 000000000..d3e7a7aa3
--- /dev/null
+++ b/656/CH1/EX1.2/example1_2.sce
@@ -0,0 +1,20 @@
+// let q be the function of t q=f(t)
+
+deff('q=f(t)','q=5*t*sin(4*%pi*t)');
+
+//i is the current at t=0.5seconds in Amperes
+
+derivative(f,0.5);
+
+ i=ans;
+
+disp("i=")
+disp(i)
+units='Amperes A'
+i=[string(i) units];
+disp(i)
+// in amperes A
+
+
+// the current i is 31.415 Amperes
+
diff --git a/656/CH1/EX1.3/example1_3.pdf b/656/CH1/EX1.3/example1_3.pdf
new file mode 100644
index 000000000..e49851643
--- /dev/null
+++ b/656/CH1/EX1.3/example1_3.pdf
Binary files differ
diff --git a/656/CH1/EX1.3/example1_3.sce b/656/CH1/EX1.3/example1_3.sce
new file mode 100644
index 000000000..ec65f6b32
--- /dev/null
+++ b/656/CH1/EX1.3/example1_3.sce
@@ -0,0 +1,21 @@
+// q be the charge in coulombs and i be the current in Ampere
+
+// i is given by i=(3*t^2-t)
+
+//charge is to be found between t=1s and t=2s
+
+integrate('3*t^2-t','t',1,2);
+
+// the charge between 1s and 2s is 5.5 coulombs
+
+q=ans;
+
+disp("q=")
+disp(q)
+units='Coulombs C'
+q=[string(q) units];
+disp(q)
+// in coulombs
+
+
+// the charge is 5.5 coulombs
diff --git a/656/CH1/EX1.4/example1_4.pdf b/656/CH1/EX1.4/example1_4.pdf
new file mode 100644
index 000000000..11095af33
--- /dev/null
+++ b/656/CH1/EX1.4/example1_4.pdf
Binary files differ
diff --git a/656/CH1/EX1.4/example1_4.sce b/656/CH1/EX1.4/example1_4.sce
new file mode 100644
index 000000000..7e5b321c1
--- /dev/null
+++ b/656/CH1/EX1.4/example1_4.sce
@@ -0,0 +1,33 @@
+// i be the current in amperes i=2A
+
+// it flows for time t=10s
+
+// q be the total charge given by q=i*t
+
+i=2;
+
+t=10;
+
+q=i*t;
+
+// total charge is 20 coulombs
+
+// energy is 2.3KJ ( kilo joules)
+
+w=2.3*10^3;
+
+// voltage drop v in volts given by= v=w/q
+
+v=w/q;
+
+disp("v=")
+disp(v)
+units='Volts V'
+v=[string(v) units];
+disp(v)
+// in volts V
+
+
+
+// voltage drop is 115v
+
diff --git a/656/CH1/EX1.6/example1_6.pdf b/656/CH1/EX1.6/example1_6.pdf
new file mode 100644
index 000000000..92adb9bee
--- /dev/null
+++ b/656/CH1/EX1.6/example1_6.pdf
Binary files differ
diff --git a/656/CH1/EX1.6/example1_6.sce b/656/CH1/EX1.6/example1_6.sce
new file mode 100644
index 000000000..15db24387
--- /dev/null
+++ b/656/CH1/EX1.6/example1_6.sce
@@ -0,0 +1,24 @@
+p=100;
+
+t=2*3600;
+
+disp("t=")
+disp(t)
+// in seconds
+disp("sec")
+
+
+e=p*t;
+
+disp("e=")
+disp(e)
+units='Joules J'
+e1=[string(e) units];
+disp(e1)
+// in joules
+
+
+// energy is 720000joules
+
+
+
diff --git a/656/CH1/EX1.7/example1_7.pdf b/656/CH1/EX1.7/example1_7.pdf
new file mode 100644
index 000000000..4475ecff4
--- /dev/null
+++ b/656/CH1/EX1.7/example1_7.pdf
Binary files differ
diff --git a/656/CH1/EX1.7/example1_7.sce b/656/CH1/EX1.7/example1_7.sce
new file mode 100644
index 000000000..fc378d99a
--- /dev/null
+++ b/656/CH1/EX1.7/example1_7.sce
@@ -0,0 +1,79 @@
+//For p1, the 5-A current is out of the positive terminal (or into the negative terminal hence,
+
+// power(p) in watts is given by p=V*I
+
+// v voltage in volts and i current in Amperes
+
+p1=20*-5;
+
+disp("p1=")
+disp(p1)
+units='Watts W'
+p1=[string(p1) units];
+disp(p1)
+
+// in watts
+
+
+// power in p1 is -100w ie. the supplied power
+
+//For p2 and p3, the current flows into the positive terminal of the element in each case. hence,
+
+p2=12*5;
+
+disp("p2=")
+disp(p2)
+units='Watts W'
+p2=[string(p2) units];
+disp(p2)
+
+// in watts
+
+
+// p2 is 60w absorbed power
+
+p3=8*6;
+
+disp("p3=")
+disp(p3)
+units='Watts W'
+p3=[string(p3) units];
+disp(p3)
+
+// in watts
+
+
+// p3 is absorbed power
+
+//For p4,we should note that the voltage is 8V(positive at the top), the same as the voltage for p3, since both the passive element and the dependent source are connected to the same terminals.
+
+// i current is 5A
+
+p4=8*(-0.2*5);
+
+disp("p4=")
+disp(p4)
+units='Watts W'
+p4=[string(p4) units];
+disp(p4)
+
+// in watts
+
+
+// p4 is -8w supplied power
+
+// now...
+p1=-100;
+p2=60;
+p3=48;
+p4=-8;
+
+p0=p1+p2+p3+p4;
+disp(p0)
+
+disp("W")
+// in watts W
+
+// this shows that total power supplied equals total power absorbed.
+
+
diff --git a/656/CH1/EX1.8/example1_8.pdf b/656/CH1/EX1.8/example1_8.pdf
new file mode 100644
index 000000000..bb1a3daae
--- /dev/null
+++ b/656/CH1/EX1.8/example1_8.pdf
Binary files differ
diff --git a/656/CH1/EX1.8/example1_8.sce b/656/CH1/EX1.8/example1_8.sce
new file mode 100644
index 000000000..92e2c4be5
--- /dev/null
+++ b/656/CH1/EX1.8/example1_8.sce
@@ -0,0 +1,70 @@
+// e be the charge of an electron e=-1.6*10^-19c
+
+// q be the charge, q=n*e where n is the no. of electrons
+
+// t is the time in seconds
+
+//i=q/t
+
+//i=(n*e)/t
+
+e=-1.6*10^-19;
+
+disp("e=")
+disp(e)
+// in coulombs C
+disp("C")
+
+n=10^15;
+
+disp(n)
+
+
+t=1;
+
+disp("t=")
+disp(t)
+// in seconds
+disp("sec")
+
+i=(n*e)/t;
+
+disp("i=")
+disp(i)
+// in amperes A
+disp("A")
+
+
+
+// i current is -0.00016A
+
+// power in watts P=V*I
+
+p=4;
+
+disp("p=")
+disp(p)
+// in watts W
+disp("W")
+
+
+
+v=p/i;
+
+disp("v=")
+disp(v)
+// in Volts V
+disp("V")
+
+
+// voltage needed to accelerate electron beam to 4w is 25000V
+
+V/1000;
+
+disp("V=")
+disp(V/1000)
+disp("KV")
+
+
+// V is 25Kv
+
diff --git a/656/CH1/EX1.9/example1_9.pdf b/656/CH1/EX1.9/example1_9.pdf
new file mode 100644
index 000000000..f827db450
--- /dev/null
+++ b/656/CH1/EX1.9/example1_9.pdf
Binary files differ
diff --git a/656/CH1/EX1.9/example1_9.sce b/656/CH1/EX1.9/example1_9.sce
new file mode 100644
index 000000000..c775aed3a
--- /dev/null
+++ b/656/CH1/EX1.9/example1_9.sce
@@ -0,0 +1,30 @@
+// total power P consumed is 3300Kwh
+
+// base monthly charge BMH is 12$
+
+//First 100 kWh @ $0.16/kWh = $16.00 ; Next 200 kWh @ $0.10/kWh = $20.00; Remaining 100 kWh @ $0.06/kWh = $6.00
+
+charge=16+12+20+6;
+
+disp(charge)
+units='Coulombs C'
+Q=[string(charge) units];
+disp(Q)
+// in coulombs C
+
+
+// total charge is 54$
+
+// avg cost AC is
+
+AC=charge/(100+200+100);
+
+disp(AC)
+units='Cents/KWH'
+AC=[string(AC) units];
+disp(AC)
+
+
+//13.5 cents/KWH
+
+