1 2 3 4 5 6 7
//Ex:3.16 clc; clear; close; V_s=5;//in volts V_c=0.8647*V_s; printf("Inductor voltage = %f V",V_c);