COM 1100 Professor Fell Quiz 3B Solution

1.

1   1
2   3
3   8
4   19
5   42
6   89

2.

0 1
10 10
120 100
1240 1000

3.

for (int K = 1; K < 1000; K = 2*K)
	cout << K << endl;

4.

double Poly(double x){
	return (3*x*x + 2*x + 5);
}


Last Updated: October 11, 1997 1:00 pm by
Harriet Fell
College of Computer Science, Northeastern University
360 Huntington Avenue #161CN,
Boston, MA 02115
Internet: fell@ccs.neu.edu
Phone: (617) 373-2198 / Fax: (617) 373-5121
The URL for this document is: http://www.ccs.neu.edu/home/fell/COM1100/QUIZ/QUIZ3BSolution.html