// Grob's Basic Electronics 11e // Chapter No. 03 // Example No. 3_3 clc; clear; // If a 12-Ohms resistor is carrying a current of 2.5 A, how much is its voltage? // Given data I = 2.5; // Current=2.5 Amps R = 12; // Resistance=12 Ohms V = I*R; disp (V,'The Voltage in Volts')