Here is what I have so far. Keep getting errors. Trying to take the derivative of meanline and then plot this function over the length of x.
x = 0:0.1:2;
c = 2;
meanline = c*(((x./c).^0.9)-(x./c));
thickness_distribution = ((2*c)/5)*(((x./c).^0.5)-(x./c));
slope_meanline = diff(meanline);