![]() What happens if you do not specify the variable for which the equation is to be solved? If there is only one symbolic variable in the expression, it will solve for it by default. Of course there might be more than one solution for a. To solve a single equation f(x) = 0, this reduces to a=solve(f,x). Here, f1,f2.,fn are symbolic expressions that are to be made zero, v1,v2.,vn are the variables in alphabetical order to be solved for, and a1,a2.,an are the corresponding answers. The command is of the form =solve(f1,f2.,fn,v1,v2.,vn). If this is not possible, it then attempts to find a numeric solution in variable precision format. ![]() It firstly attempts to find an exact analytic solution. “Maple” uses the solve facility which can solve n simultaneous algebraic or transcendental equations for n unknowns. You have seen that fzero numerically finds where a function is zero in MATLAB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |