Hi,
From http://localhost:/kernelspecs/sagemath/doc/prep/Calculus.html:
%auto
f(x)=x^3+1
@interact
def _(c=(1/3,(-1,1))):
P=plot(f,(x,-1,1))
fprime=derivative(f,x)
L(x)=fprime(c)*(x-c)+f(c)
Q=plot(L,(x,-1,1),color="red", linestyle="--")
show(P+Q+point((c,f(c)), pointsize=4
Hi,
Sage behavior seems to be different on the console:
~/sage-9.6/b01$ ./sage
┌┐
│ SageMath version 9.6.beta1, Release Date: 2022-02-13 │
│ Using Python 3.8.10. Type "help()" for help. │
└
Hi,
Le samedi 19 février 2022 à 03:28:03 UTC+1, hohoa...@gmail.com a écrit :
>
>
>1. In [3] only gives A^4 in Out [3] (missing A^0, A^1, A^2 and A^3)
>2. In [4] gives no output (but In [8] does)
>3. In [6] gives no output (but In [7] does)
>
> There is no bug in all this. To display