How do I correct this? I'm writing code for a 2nd order bvp, and have ann invalid expression error on this line.
function dydx = odefun( z, y, wc, (pi*D^2)/4*k, qs, {piDh)*(T-Ta) ) dydx = [ y(2); ( wc * y(2) - qs * y(1) - (piDh)*(T-Ta) ) / piD^2/4*k ]; end
I've tried adjusting the parentheses, not really sure what next to do.
Best Answer