Concept explainers
a.
Torun the program in exercise 1to find whether the giventrinomial
a.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given trinomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 INPUT “ENTER SIGN OF B;”T$ 30LET R=0 40 FOR I=1 TO A 50 IF I*I=A THEN R=I 60 NEXT I 70 LET S=0 80 FOR J=1 TO C 90 IF J*J=C THEN S=I 100 NEXT J 110 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”)”; 120 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 130 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL
AND ITS FACTORISATION ARE
b.
To run the program in exercise 1 to find whether the given trinomial
b.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given trinomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 INPUT “ENTER SIGN OF B;”T$ 30 LET R=0 40 FOR I=1 TO A 50 IF I*I=A THEN R=I 60 NEXT I 70 LET S=0 80 FOR J=1 TO C 90 IF J*J=C THEN S=I 100 NEXT J 110 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”)”; 120 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 130 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL
AND ITS FACTORISATION ARE
c.
To run the program in exercise 1 to find whether the given trinomial
c.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given trinomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 INPUT “ENTER SIGN OF B;”T$ 30 LET R=0 40 FOR I=1 TO A 50 IF I*I=A THEN R=I 60 NEXT I 70 LET S=0 80 FOR J=1 TO C 90 IF J*J=C THEN S=I 100 NEXT J 110 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”)”; 120 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 130 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL
d.
To run the program in exercise 1 to find whether the given trinomial
d.
Explanation of Solution
Given:
If the polynomial is perfect square trinomial, the program should print its factorization.
The given trinomial is
Calculation:
The following is the required BASICProgram-
10 INPUT “ENTER A, B AND C:” A, B, C$ 20 INPUT “ENTER SIGN OF B;”T$ 30 LET R=0 40 FOR I=1 TO A 50 IF I*I=A THEN R=I 60 NEXT I 70 LET S=0 80 FOR J=1 TO C 90 IF J*J=C THEN S=I 100 NEXT J 110 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”)”; 120 ELSE PRINT “THE GIVEN TRINOMIAL IS NOT A PERFECT SQUARE TRINOMIAL” 130 END
DRY RUN of the program:-
SAMPLE OUTPUT:
ENTER A, B AND C
THE GIVEN TRINOMIAL IS PERFECT SQUARE TRINOMIAL
AND ITS FACTORISATION ARE
Chapter 4 Solutions
Algebra and Trigonometry: Structure and Method, Book 2
Additional Math Textbook Solutions
Elementary Statistics: Picturing the World (7th Edition)
Pre-Algebra Student Edition
Thinking Mathematically (6th Edition)
University Calculus: Early Transcendentals (4th Edition)
A First Course in Probability (10th Edition)
Calculus: Early Transcendentals (2nd Edition)
- Consider the following elevation function for a region of irregular terrain: z(x, y) = 1 x² + y² 25 Here, z is the elevation of the terrain over a point (x, y) with x and y being the horizontal coordinates. The region of interest lies between x = 0 and x = 5, and y 0 and y = 5. Your tasks are the following: = 1. Analyze how the elevation changes with respect to x and y. To find the elevation changes, calculate the partial derivatives of the elevation function z with respect to x and 2. Calculate the total volume of soil above the 0-level (z region of interest. = y. 0). To do so, integrate z(x, y) over the wholearrow_forwardA truck loaded with rocks weighs 14,260 lb. If the truck weighs 8420 lb, how much do the rocks weigh?arrow_forwardPlease help on question 16b attached. thxarrow_forward
- Math 60arrow_forwardmath 62arrow_forwardMake up two polynomial functions, f(x) and g(x). • f(x) should be of degree 3 or higher. g(x) should be of degree 4 or higher. • Find f(3) in each of the three ways: substitution, remainder theorem (synthetic division), and long division. You should get the same answer three times for f(3). Find g(-2) once using your choice of the three methods.arrow_forward
- 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