CSCI 101: Intro to Computer Science
Assignment 2. Due: Mon, Jun 16
Solutions will be posted on Wed, Jun 18
Please ZIP all your work in a single archive hw2.zip and upload it on Canvas by midnight of the day above.
- (15 points)
Use a graphic calculator or
Maple software to solve the equation
x3 + 4x2 - 6x - 5 = 0.
If Maple is not installed on your computer, you can use any computer in campus. There Maple is accessible via the O network drive. 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));More information can be found in a Maple Tutorial.
Alternatively, you can use any Cubic Equation Solver, e.g. this one
Put the computed 3 numbers in a file hw2_1.txt - (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.
- (30 points)
Use Microsoft Excel to create a spreadsheet described in Part 2 of
Lab 2.2.
Name the resulting file hw2_3.xls - (25 points)
Use the Paint program to draw a house similar to one shown
below. This program can be found under
Start -> Programs -> Accessories -> Paint, and
is a part of a standard Windows 98/NT/2K/XP package.
The size of your picture must be 300x300 pixels.
Save your work by using the GIF format in a file hw2_4.gif.