CAS Vars and integrals
|
08-24-2021, 06:09 PM
(This post was last modified: 08-24-2021 06:28 PM by C.Ret.)
Post: #2
|
|||
|
|||
RE: CAS Vars and integrals
Hello,
If you want the 't' variable to be local to your program, you have to declare it in the LOCAL statement. Otherwise, your code is using a global CAS variable named 't', that make it appears in the VAR CAS sub menu. Try this : #cas Beta_r(z,a,b):= BEGIN LOCAL funz,t; funz:=(t)→(t^(a-1)*(1-t)^(b-1)); RETURN int(funz(t),t,0,z); END; #end |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
CAS Vars and integrals - robmio - 08-24-2021, 05:37 AM
RE: CAS Vars and integrals - C.Ret - 08-24-2021 06:09 PM
RE: CAS Vars and integrals - Albert Chan - 08-24-2021, 08:56 PM
RE: CAS Vars and integrals - rprosperi - 08-24-2021, 11:56 PM
|
User(s) browsing this thread: 1 Guest(s)