blob: 232868a93343819c2396b1960b86c4ed9d3173c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear;
clc;
RL=500 //load resistance in ohm
C1=100*10^-6 //capacitance in F
C2=50*10^-6 //capacitance in F
L=5 //in H
f=50 //frequency in Hz
//Calculation
Y=0.216/(RL*C1*C2*L*(2*%pi*f)^3)
format("v",8)
disp(Y,"Ripple factor Y= ") //The answers vary due to round off error
|