Some keys must keep in mind while using MATLAB
%s – print a string
%c – print a single character
%d – print a whole number
%f – print a floating point number
%\n – print a new line (go to the next line to continue printing)
%\t – print a tab
%\\ – print a slash
%% – print a percent sign

Following codes are given for MATLAB:

  • Iterative Method
  • Bisection Method
  • Share this with your friends