Economic Program for Cost function has a problem , need help
Posted: 25 Jun 2021, 10:31
i have this program but there is a problem if i put 0 to profit function and then {0,0,0,0} as reported in the istruction , then if i want to introduce a cost function of order 2 as : 0*x^3+3*x^2+1 the program crashes cause of the first zero (and the creation of a list formed by 3 elements instead of 4 , using the comand polycoeffs() ) someone can fix this problem? HELPPP