-Polynomials don't have answers.
This question just wants you to add 2 polynomials.
The pencil work under the first one is incorrect.
Here's what you need to do to find the sum of polynomials:
-- Remove parentheses.
(If there's a plus sign before the whole parentheses, then just erase the parentheses. If there's a minus sign before the whole thing, then change the sign of each term inside, and erase the parentheses.)
-- Add up all the x² terms.
Like this ...
x² + x² = 2x²
or
2x² + 7x² = 9x²
-- Add up all the x³ terms the same way.
-- Add up all the 'x' terms the same way.
-- Add up the plain numbers.
-- Write down all the sums as a new polynomial.
Answer:
Question Answer
What is the length of a segment when the coordinates of its endpoints are (-4,5) and (-6,9)? 4.5
What is the length of a segment when the coordinates of its endpoints are (-4,5) and (-6,9)? 10.8
Step-by-step explanation:
<span>#include <iostream>
using namespace std;
class InventoryTag {
public:
InventoryTag();
int getQuantityRemaining() const;
void addInventory(int numItems);
private:
int quantityRemaining;
};
InventoryTag::InventoryTag() {
quantityRemaining = 0;
}
int InventoryTag::getQuantityRemaining() const {
return quantityRemaining;
}
void InventoryTag::addInventory(int numItems) {
if (numItems > 10) {
quantityRemaining = quantityRemaining + numItems;
}
}
int main() {
InventoryTag redSweater;
int sweaterShipment = 0;
int sweaterInventoryBefore = 0;
sweaterInventoryBefore = redSweater.getQuantityRemaining();
sweaterShipment = 25;
cout << "Beginning tests." << endl;
// FIXME add unit test for addInventory
/* Your solution goes here */
cout << "Tests complete." << endl;
return 0;
}</span>
Answer:
1. 9
2. -3
Step-by-step explanation: