Assignment1

Assignment1 - TCSS 371 Name: Student No: Homework 1 (week 2...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 TCSS 371 Name: Student No: Homework 1 (week 2 assignment) Due: Start of class, 10/11/10 Chapter 1: 1.) From book: a) ax + b i) Input to first multiply box is a and x. Output is a * x ii) Input to second add box is (a*x) and b. Output is (a*x)+b b) (w+x+y+z)/4 =(w+x+y+z) * 0.25 i) Input to first add box is w and x. Output is w+x ii) Input to second add box is y and z. Output is y+z iii)Input to third add box is (w+x) and (y+z). Output is w+x+y+z iv) Input to fourth multiply box is (w+x+y+z) and 0.25. Output is 0.25*(w+x+y+z) c) a^2+ 2ab+ b^2= (a+b)^2 = (a+b)* (a+b) i) Input to first add box is a and b. Output is a+b ii) Input to second multiply box is (a+b) and (a+b). Output is (a+b)*(a+b) From Assignment a) ax^2 +bx+ c = x(ax+b)+c i) Input to first add box is ax and b. Output is ax+b ii) Input of second multiply box is x and (ax+b). Output is x(ax+b) iii)Input of third add box is x(ax+b) and c. Output is x(ax+b)+c b) c(ax - by) - d = c(ax + (-b)y) + (-d) i) Input to first multiply box is a and x. Output is a * x ii) Input to second multiply box is (-b) and y. Output is -by iii)Input to third add box is (a*x) and ((-b)*y). Output is (ax -by) iv) Input to fourth multiply box is c and (ax-by). Output is c(ax-by) v) input to fifth add box is (-d) and c(ax-by). Output is (c(ax-by)-d) c) y= ax/(b+a)= ax*(1/b+a) i) Input to first multiply box is a and x. Output is a * x ii) Input to the second add box is b and a. Output is b+a iii) Input to the third multiply box is 1/(a+b) and ax. Output is ax/(b+a). 2.) From book:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 10/15/2010.

Page1 / 9

Assignment1 - TCSS 371 Name: Student No: Homework 1 (week 2...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online