blob: 625a94ba0857e6a863f60560287ce21e1490b159 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
c1=5;
v1=25;
c2=10;
v2=20;
c3=1;
v3=50;
disp("Part a");
c=c1+c2+c3;
disp("the total capacitance (in μF) is"); disp(c);
disp("Part b");
disp("the maximum working voltage (in V) s"); disp(v2);
disp("Part c");
q=v2*c;
disp("the maximim charge (in μC) that can be stored is");disp(q);
|