Concept explainers
To find:A BASIC program that produces the product
Explanation of Solution
Given information: A product of two factors
BASIC program.
Concept used:To get the product, multiply second factor by each term of first factor and then use distributive rule to expand it and add like terms together. Use PRINT command to print a statement and INPUT command to enter a variable`s value.
Calculation: BASIC program to get product
10 PRINT “Program to find product (Ax+B)(Cx+D)”;
20 PRINT “Enter values of A , B , C and D .“;
30 INPUT A,B,C,D;
40 (A*x+B)*(C*x+D)=(A*C)*x*x+(A*D+B*C)*x+B*D;
50 PRINT “(Ax+B)(Cx+D)=”;A*C;”x^2+”;(A*D+B*C);”x+”;B*D; 60 END
Output: Program to find product
Enter values of A,B,C,D= 8 9 9 -8
Here line 10-20, print different messages. Line 30 asks for values of variables A , B , C and D to input. Line 40 simplifies the product of two factors given. LINE 50 returns the result of the given product.
Further simplify the given product as follows.
Conclusion: Above result calculated manually is correct as it is same as produced by the output of this BASIC program.
Chapter 5 Solutions
Algebra: Structure And Method, Book 1
Additional Math Textbook Solutions
A Problem Solving Approach To Mathematics For Elementary School Teachers (13th Edition)
University Calculus: Early Transcendentals (4th Edition)
Algebra and Trigonometry (6th Edition)
Basic Business Statistics, Student Value Edition
Elementary Statistics
Pre-Algebra Student Edition
- Algebra and Trigonometry (6th Edition)AlgebraISBN:9780134463216Author:Robert F. BlitzerPublisher:PEARSONContemporary Abstract AlgebraAlgebraISBN:9781305657960Author:Joseph GallianPublisher:Cengage LearningLinear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage Learning
- Algebra And Trigonometry (11th Edition)AlgebraISBN:9780135163078Author:Michael SullivanPublisher:PEARSONIntroduction to Linear Algebra, Fifth EditionAlgebraISBN:9780980232776Author:Gilbert StrangPublisher:Wellesley-Cambridge PressCollege Algebra (Collegiate Math)AlgebraISBN:9780077836344Author:Julie Miller, Donna GerkenPublisher:McGraw-Hill Education