Exercises

Answer each question.

  1. How do you start|open|launch Matlab?

    On a CAE Windows machine, click the Start button and look for Matlab program.

  2. How do you start|open|launch Maple?

    On a CAE Windows machine, click the Start button and look for Maple program.

  3. How do I start|open|launch Fortran?

    You don't. Fortran is not a program like Maple and Matlab are. It is a programming language (not also an application). To run Fortran codes, you must edit the program, compile (and link) the codes, and then run the executable that is created by the compiler and linker.

    For example, you could remote connect to a linux workstation, use vi to edit a file with your Fortran codes, save the file with the name myprog.f and then use the gfortran compiler program by executing this command "gfortran -a myprog myprog.f" to compile your program. To run that program, you would type "myprog" and press Enter.

  4. How do I compute the factorial in Excel?

    Excel also has a factorial command. First, save a value in a cell of your spreadsheet, lets say in cell A1. Then, left-click a different cell and type the formula:

    =fact(A1)

    If you really want to program in Excel, you can do that too. Creating interactive macros greatly increases the generality of any work you do in Excel.