// FUNDAMENTALS OF ELECTICAL MACHINES // M.A.SALAM // NAROSA PUBLISHING HOUSE // SECOND EDITION // Chapter 1 : REVIEW OF ELECRTIC CIRCUITS // Example : 1.1 clc;clear; // clears the console and command history // Given data Q = 4 // chagre in C t = 0.54 // time in sec // caclulations I = Q/t // current in A // display the result disp("Example 1.1 solution"); printf(" \n Current is \n I = %.2f A ", I);