//Faults and Protection// //Example 16.2// V=415;//AC input voltage in volts// PIV=1350;//peak inverse voltage of the device in volts// Vf=PIV/(sqrt(2)*V);//voltage safety factor of the device// printf('voltage safety factor of the device=Vf=%f',Vf);