diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2534/CH2/EX2.11 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2534/CH2/EX2.11')
-rwxr-xr-x | 2534/CH2/EX2.11/Ex2_11.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2534/CH2/EX2.11/Ex2_11.sce b/2534/CH2/EX2.11/Ex2_11.sce new file mode 100755 index 000000000..0c6573611 --- /dev/null +++ b/2534/CH2/EX2.11/Ex2_11.sce @@ -0,0 +1,10 @@ +//Ex2_11
+clc
+C = 10*10^-6
+delta_V = 100
+delta_t = 10
+ic = C*delta_V/delta_t
+disp("C = "+string(C)+"F")//capacitance
+disp("delta_V = "+string(delta_V)+"V")//change in voltage
+disp("delta_t = "+string(delta_t)+"sec")//change in time
+disp("ic = C*(delta delta_V/delta_t) = "+string(ic)+"A")//calculation for instantaneous current
|