% Problem 1.c
clear; clf;
hh = 0:380;
f_of_h = criticalityCondition(hh);
plot(hh,f_of_h);
% above plot has singularities, plot again
hh = 150:0.1:200;
f_of_h = criticalityCondition(hh);
plot(hh,f_of_h);