Project 1
Q1)
Buck converter:- Buck converter step down DC voltage. It consists of Inductor, Capacitor and two switches which are transistor and diode. MOSFET is a switch that operates with on and off state. ON and OFF states get controlled by the Gate signal.

For 40V to 50V:-



Result:-
It shows that the output voltage 30V and the capacitor voltage is the same as output voltage.
The inductor current has resulted as 10A.
Q2) For buck ccm 400V to 500V




Result:- Inductor and capacitor values are taken in such a way that the L and C values are high. As the input voltage range is from 400 to 500 in buck converter. As per the different input values, the inductor and capacitor values are designed accordingly.
For Boost CCM 20V to 30V



Result:- Simulation displays that the output voltage after the run simulation shows that the output voltage is reaching 40V.