i have attached my codes in the attachment. please have a look. i run 'tests.m' file. the error that i get is_
"gamma" previously appeared to be used as a function or command, conflicting with its use here as the name of a variable. A possible cause of this error is that you forgot to initialize the variable, or you have initialized it implicitly using load or eval.
this error is shown on line 13 of the polyblock.m.
if i dont use bisection as a function and simply call it as a script inside polyblock.m
then the same error occurs at line 73 on polyblock.m
i am confused how to solve it.