blob: 7051abf23f9b92d6367e31a2264cadc4016e545b (
plain)
1
2
3
4
5
6
7
8
|
//Example 20_1
clc();
clear;
//To findout the time that it has to wait after turning off the set before it is safe to touch capacitor
r=10^6 //Units in Ohms
c=10^-5 //Units in F
ti=r*c //Units in Sec
printf("We have to wait for a time of t=%d sec",ti)
|