ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 06 Apr 2024 07:24:17 +0200Substitution using function-call syntax and unnamed arguments has been removed. You can use named arguments insteadhttps://ask.sagemath.org/question/76824/substitution-using-function-call-syntax-and-unnamed-arguments-has-been-removed-you-can-use-named-arguments-instead/I am trying to evaluate a definite integral whose upper limit is a variable. Here are the lines,
var('x')
var('x_')
assume(x,'real',x>0)
assume(x_,'real',x_>=0)
f(x) = integrate(1/sqrt(0.3*(1+x_)^3+0.7),x_,0,x)
And then I want to plot f as a function of x,
plot(f(x),(x,0.1,10))
This produces an error with the following error message,
verbose 0 (3897: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 200 points.
verbose 0 (3897: plot.py, generate_plot_points) Last error message: 'Substitution using function-call syntax and unnamed arguments has been removed. You can use named arguments instead, like EXPR(x=..., y=...)'
Can anyone suggest what I'm doing wrong?
Thank you.leejtSat, 06 Apr 2024 07:24:17 +0200https://ask.sagemath.org/question/76824/