question: Write an m‐file that returns the plot ofclcy= 5 * sqrt ( k^0.5) over the range 1 ≤k≤ 5 in discrete increments of Δk= 0.5 as long as I y I< 8 .

my m-file is;

clear

k=1: 0.5:5;

y = 5 * sqrt ( k.^ 0.5)

plot(k,y)

Is that true? Is everything all right?