For several values of r and n, plot your data on a single plot…

Question Answered step-by-step For several values of r and n, plot your data on a single plot… For several values of r and n, plot your data on a single plot (have at least 3 example ) I need help to get two more example in the same plot Image transcription textIntro.ipynb X problem 7.ipynb X + G Code . [21]: %matplotlib inline import matplotlib. pyplot as pit def balance(p, r, n , t) : time= number= for i in range (1+n*t) : a= i*1/n time . append (a) for i in time: b=p*(1+r/n)**(n*i ) number. append (b) return time , number p=60000 r=0.5 n=3 t=3 time, number=balance( p, r, n, t) fig=plt. … Show more… Show more Computer Science Engineering & Technology Python Programming CSC 110 Share QuestionEmailCopy link Comments (0)