10-23-2019, 02:26 PM
I wrote the program for the cas mode.
After a lot of runs in the CAS Vars menu the garbage or/and empty-names variables appear. This issue happens while running my other cas programs.
Command line:
Before running:
After running:
CAS Vars mem:
Code:
#cas
zf74(X,Y,γ,a,b):=
BEGIN
LOCAL f,v;
PRINT("---------------------------------");
PRINT("W#7, P#4:");
γ:=unapply(γ,x);
X:=unapply(X,{x,y});
Y:=unapply(Y,{x,y});
f:=expand(simplify(subst(X(x,y)+Y(x,y)*diff(γ(x),x),y=γ(x))));
PRINT("f(x)="+f+";");
PRINT("F(x)="+expand(simplify(∫(f,x)))+";");
v:=∫(f,x,a[1],b[1]);
PRINT(suppress("∫(f(x)"," ")+", x, "+a[1]+", "+b[1]+")="+v+when(FP(v)≠0,"="+ROUND(v,4),"")+";");
PRINT("---------------------------------");
1;
END;
#end
After a lot of runs in the CAS Vars menu the garbage or/and empty-names variables appear. This issue happens while running my other cas programs.
Command line:
Before running:
After running:
CAS Vars mem: