1. The problem statement, all variables and given/known data Fourie analysis for a boost converter Where d = duty cycle, A = amplitude and t = time 2. Relevant equations Fx = (2At/d) for 0<t<d/2, -A+(2A/(1-d))*(1-t-d/2) for d/2<t<(1-d/2); (2A/d)*(t-1) for 1-d/2 <t<1. Where d = duty cycle, A = amplitude and t = time 3. The attempt at a solution My solution is kind off large, I need need another solution to compare my ans with before writing a script to execute this function.