blob: 7af0949eabef4f1aa344d9a2272b960418c1bb77 (
plain)
1
2
3
4
5
6
7
|
// Calculating the value of resistance and capacitance
clc;
Voramp=-10;
disp('if voltage source is 10V then RC= 1 ms and if C=1 micro-F')
C=1;
R=1*10^-3*10^6;
disp(R,'value of resistance (ohm)= ')
|