l=input('l=');for t=0:100 if t>2 g=((3/(309*0.0014))*((((0.0000126*(t-2))/l)*80.4)-(l/6))); elseif t>80 g=l-((80.4/309)*exp(((((-3*0.0000126)/(0.0014*l))*(t-80))))); else g=0; end disp (g);endt=0:100;plot (t,g)
can someone explain how to plot graph using this coding because the don't get the graph.
Best Answer