//Chapter 1 //Example 1.16 //Page 40 clear; clc; R = 12.5; I = 2.21; Scale = 10; Acc = 0.2; //Finding the voltage across resistor printf("The voltage across resistor is %.1f V",I*R);