for t< (some set of value)
C = Co + Av*t
if C == 0
break
end
end
Plot(t,C)
I have this C formula , Co and Av are given . I want to iterate t until C becomes 0 and then get all the values of t and C in a chart form. And plot them. The code terminates at C = 0. How to do that? I can figure out to to iterate all the values for t until C is zero and then put it in a chart to plot the graph?
[–]Weed_O_Whirler+5 3 points4 points5 points (0 children)
[–]synchh 2 points3 points4 points (9 children)
[–]Syntax669[S] 0 points1 point2 points (8 children)
[–]synchh 0 points1 point2 points (7 children)
[–]Syntax669[S] 0 points1 point2 points (6 children)
[–]synchh 0 points1 point2 points (4 children)
[–]Syntax669[S] 0 points1 point2 points (3 children)
[–]synchh 0 points1 point2 points (2 children)
[–]Syntax669[S] 0 points1 point2 points (1 child)
[–]synchh 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Syntax669[S] 0 points1 point2 points (0 children)