summaryrefslogtreecommitdiff
path: root/876/CH6/EX6.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /876/CH6/EX6.10
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 '876/CH6/EX6.10')
-rwxr-xr-x876/CH6/EX6.10/Ex6_10.sce12
-rwxr-xr-x876/CH6/EX6.10/Ex6_10.txt3
-rwxr-xr-x876/CH6/EX6.10/Ex6_10t.txt12
3 files changed, 27 insertions, 0 deletions
diff --git a/876/CH6/EX6.10/Ex6_10.sce b/876/CH6/EX6.10/Ex6_10.sce
new file mode 100755
index 000000000..65a64d608
--- /dev/null
+++ b/876/CH6/EX6.10/Ex6_10.sce
@@ -0,0 +1,12 @@
+//caption:Find input voltage
+//Ex6.10
+clc
+clear
+close
+Vref=5//reference voltage(in V)
+t1=0.2//coumts when input voltage is applied(in sec)
+R=100*10^3//resistance(in ohm)
+C=10^-6//capacitance(in F)
+t2=R*C
+Vin=(t2/t1)*Vref
+disp(Vin,'input voltage(in V)=') \ No newline at end of file
diff --git a/876/CH6/EX6.10/Ex6_10.txt b/876/CH6/EX6.10/Ex6_10.txt
new file mode 100755
index 000000000..f000c40b5
--- /dev/null
+++ b/876/CH6/EX6.10/Ex6_10.txt
@@ -0,0 +1,3 @@
+ input voltage(in V)=
+
+ 2.5 \ No newline at end of file
diff --git a/876/CH6/EX6.10/Ex6_10t.txt b/876/CH6/EX6.10/Ex6_10t.txt
new file mode 100755
index 000000000..65a64d608
--- /dev/null
+++ b/876/CH6/EX6.10/Ex6_10t.txt
@@ -0,0 +1,12 @@
+//caption:Find input voltage
+//Ex6.10
+clc
+clear
+close
+Vref=5//reference voltage(in V)
+t1=0.2//coumts when input voltage is applied(in sec)
+R=100*10^3//resistance(in ohm)
+C=10^-6//capacitance(in F)
+t2=R*C
+Vin=(t2/t1)*Vref
+disp(Vin,'input voltage(in V)=') \ No newline at end of file