clear; clc; disp("--------------Example 3.2----------------") printf("The voltage of battery is a constant; this constant value can be considered a sine wave .\nFor example, the peak value of an AA battery is normally 1.5 V.")