This is the code I am trying to run, and I am unsure what is wrong with my nested loops.
Context: I am trying to the find the different values of c and l and calculate the associated costs Cc and Cl for both values . Ultimately I'd like to plot both results to see which combinations of c and l are cheapest. Thank you.
Cc = (10*c)-2000;
Cl = 900+825*l.^2-1725*l;