CSCI 101: Intro to Computer Science

Solutions to Assignment 2

  1. (15 points)   Use a graphic calculator or Maple software to solve the equation x3 + 4x2 - 6x - 5 = 0.

    Solution

    To solve the equation with Maple you can enter the following command line:
    evalf(solve(x^3 + 4*x^2 - 6*x - 5 = 0, x));

    The computer then returns the following roots:
    1.618034
    -5.000000
    -0.618034

  2. (30 points)   Use Microsoft Word to produce the layout of the document specified in Part 1 of Lab 2.1.
    • The first line has to be aligned to the right and use a 16-point font. The rest of the document should use a 12-point font.
    • The words TO and FROM appeared in lines 2 and 3 must be in bold, and these two lines must be aligned to the left.
    • Split the text in two paragraphs. The second paragraph must start with "I am sure ...". The paragraphs must be separated by a blank line.
    • The text in two paragraphs of the note must be aligned to the right and to the left.
    • The signature must be italized and separated from the note by a blank line.
    • Correct all misspelled words.
    • Fix the spacing in the memo.
    • Customize the memo to include your name and the name of your favorite instructor.

    Solution

    Check the document here.

  3. (30 points)   Use Microsoft Excel to create a spreadsheet described in Part 2 of Lab 2.2.

    Solution

    Check the spreadsheet here.