summaryrefslogtreecommitdiff
path: root/165/CH5/EX5.1/ex5_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '165/CH5/EX5.1/ex5_1.sce')
-rw-r--r--165/CH5/EX5.1/ex5_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/165/CH5/EX5.1/ex5_1.sce b/165/CH5/EX5.1/ex5_1.sce
new file mode 100644
index 000000000..338da18e6
--- /dev/null
+++ b/165/CH5/EX5.1/ex5_1.sce
@@ -0,0 +1,9 @@
+//Example 5.1
+clc;
+
+R=100*10^3; //Given value of resistence
+C=1*10^-6; //Given value of Capacitor
+Vin=1; //Input Voltage
+t=1; //Given time
+Vo=Vin*t/(R*C); //Output Voltage after time t
+disp(Vo,'Output Voltage') \ No newline at end of file