调用格式:
vpasolve(eqns, vars, init_guess, 'Random', randomvalue);
% 方程(组)eqns,变量vars,初值点init_guess(可缺省,在random模式下可写区间),'Random'设置randomvalue(可缺省)
示例:
syms a
eq = 12*(tan(a)-2*a)+20*tan(15)*(log(sec(a)+tan(a))-sin(a))==0;
answer = vpasolve(eq,a)
answer =
0