// Scilab code Ex1.8: Pg 14 (2008) clc; clear; V = 24; // Potential difference,V R = 15; // Resistance, ohms // From Ohm's law, V = I*R, then solving for I I = V/R; // Electric current, A printf("\nThe current flowing through the resistor = %3.1f A", I) // Result // The current flowing through the resistor = 1.6 A