//Chapter 2, Problem 2 clc; I=10; //Current flows T=4*60; //Time converted in seconds Q=I*T; //Calculating charge printf("Electricity transfered = %f C",Q); //Displaying the result in coulombs