Dear Kral;
I saw it 's document. it is correct.
also your equation is correct , but when voltage along with current are depend to each other.
for example in resistor.
in resistor when we double it's voltage, current is doubeled too.
but in this specific situation, when current doubld voltage not change (it is fixed), thus we need average value.
Regards,
Davood.
Added after 17 minutes:
Dear Mengghee
Do you check my suggestion (circuit)?
any way,
you said
"in that page, the inductor current waveform looks like a square wave"
your switching regulator is buck boost. but that wave for you mentioned is for step down switching regulator.
in step down convertor we have 2 mode of operation.
1- continues current mode
2- discontinues current mode
that wave form you mention is for continus current mode.
if inductor value is high enaugh convertor going to work in this mode, and current wave form
going to like square wave.
but if inductor value is small, inductor current can reach to zero, and wave form would be sawtooth.
in boost convertor current must be discountinus, and it can not operate in continus mode.
Regards,
Davood.