Open the script sol_sinint.m

  1. Copy and paste the commands.  Try different ezplot commands (without the % character).
  2. Change current directory to the directory of sol_sinint.m.  Then type sol_sinint at the prompt.
  3. Open a new M-file and call it "out.m"; then copy and paste the output from the "command window" into "out.m".
  4. Submit a print out of the M-file and the graph.

 

Hint

 

One can get help in Matlab by using the command "help" or "lookfor".

Try the following:

>> help help

>> help sin

>> help sinint

>> lookfor sin