↧
Answer by niles for Hello, I have the following code:def f(a,b,c,x): xtemp=a...
A [lambda function](http://www.secnetix.de/olli/Python/lambda_functions.hawk) might be the quickest workaround: plot(lambda t: f(10000000,1,0.01,t),3,20) And if you don't want to get the deprecation...
View ArticleComment by Lynda for Hello, I have the following code:def f(a,b,c,x): xtemp=a...
Thank you Niles it works well for my needs
View ArticleVariable range()
Hello, I have the following code: def f(a,b,c,x): xtemp=a for i in range(b,x): xtemp=xtemp-xtemp*c return xtemp var('t') plot(f(10000000,1,0.01,t),3,20) and got the error TypeError: range() integer end...
View Article
More Pages to Explore .....