1 2 3 4 5 6 7 8
clc; slewrate=500000; Vpk=0.001; fmax=slewrate/(2*3.14*Vpk); disp('Hz',fmax,"fmax="); //The provided in the textbook is wrong