Concept explainers
a.
ToRUN the program in exercise 3 to find whether the trinomial
a.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given polynomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 IF B==0 THEN GOTO 40 30 INPUT “ENTER SIGN OF B;”T$ 40 LET R=0 50 FOR I=1 TO A 60 IF I*I=A THEN R=I 70 NEXT I 80 LET S=0 90 FOR J=1 TO C 100 IF J*J=C THEN S=I 110 NEXT J 120 IF B==0 AND R==1 AND S==J THEN PRINT “THE GIVEN TRINOMIAL IS DIFFERENCE OF SQUARES” “AND ITS FACTORISATION IS “(“; R ”x+” S”)(“;R ”x-”S”)”; 130 IF R==I AND S==J AND 2*R*S==B THEN PRINT “THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL” “AND ITS FACTORISATION ARE”; “(“; R ”x” TS”)(“;R ”x” TS”)”; 140 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 150 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL
AND ITS FACTORISATION IS
b.
To RUN the program in exercise 3 to find whether the trinomial
b.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given polynomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 IF B==0 THEN GOTO 40 30 INPUT “ENTER SIGN OF B;”T$ 40 LET R=0 50 FOR I=1 TO A 60 IF I*I=A THEN R=I 70 NEXT I 80 LET S=0 90 FOR J=1 TO C 100 IF J*J=C THEN S=I 110 NEXT J 120 IF B==0 AND R==1 AND S==J THEN PRINT “THE GIVEN TRINOMIAL IS DIFFERENCE OF SQUARES” “AND ITS FACTORISATION IS “(“; R ”x+” S”)(“;R ”x-”S”)”; 130 IF R==I AND S==J AND 2*R*S==B THEN PRINT “THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL” “AND ITS FACTORISATION ARE”; “(“; R ”x” TS”)(“;R ”x” TS”)”; 140 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 150 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS DIFFERENCE OF SQUARES
AND ITS FACTORISATION IS
c.
To RUN the program in exercise 3 to find whether the trinomial
c.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given polynomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 IF B==0 THEN GOTO 40 30 INPUT “ENTER SIGN OF B;”T$ 40 LET R=0 50 FOR I=1 TO A 60 IF I*I=A THEN R=I 70 NEXT I 80 LET S=0 90 FOR J=1 TO C 100 IF J*J=C THEN S=I 110 NEXT J 120 IF B==0 AND R==1 AND S==J THEN PRINT “THE GIVEN TRINOMIAL IS DIFFERENCE OF SQUARES” “AND ITS FACTORISATION IS “(“; R ”x+” S”)(“;R ”x-”S”)”; 130 IF R==I AND S==J AND 2*R*S==B THEN PRINT “THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL” “AND ITS FACTORISATION ARE”; “(“; R ”x” TS”)(“;R ”x” TS”)”; 140 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 150 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS DIFFERENCE OF SQUARES
AND ITS FACTORISATION IS
d.
To RUN the program in exercise 3 to find whether the trinomial
d.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given polynomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 IF B==0 THEN GOTO 40 30 INPUT “ENTER SIGN OF B;”T$ 40 LET R=0 50 FOR I=1 TO A 60 IF I*I=A THEN R=I 70 NEXT I 80 LET S=0 90 FOR J=1 TO C 100 IF J*J=C THEN S=I 110 NEXT J 120 IF B==0 AND R==1 AND S==J THEN PRINT “THE GIVEN TRINOMIAL IS DIFFERENCE OF SQUARES” “AND ITS FACTORISATION IS “(“; R ”x+” S”)(“;R ”x-”S”)”; 130 IF R==I AND S==J AND 2*R*S==B THEN PRINT “THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL” “AND ITS FACTORISATION ARE”; “(“; R ”x” TS”)(“;R ”x” TS”)”; 140 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 150 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL
Chapter 4 Solutions
Algebra and Trigonometry: Structure and Method, Book 2
Additional Math Textbook Solutions
Differential Equations and Linear Algebra (4th Edition)
Elementary and Intermediate Algebra: Concepts and Applications (7th Edition)
Graphical Approach To College Algebra
College Algebra with Modeling & Visualization (6th Edition)
Elementary Algebra
- 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