Answer:
Let x be the discounting price of a surfing lessons per person
Let y be the discounted price of a surfing lessons per person
The cost of taking a surfing lesson and go parasailing is $130
x + y = 130--------------(i)
25 people take
Surfing lessons, and 30 people go parasailing and a total of $3,650 is collected
25x + 30y = 3650--------------(ii)
We solve for y using equ (i):
y = 130 - x ------------(iii)
Substitute equ (iii) to equ (ii) and solve for x
25x + 30(130 - x) = 3650
25x + 390 - 30x = 3650
-5x = -250
-x = 50
We solve for y using equ (iii):
y = 130 - x
y = 130 - 50
y = 80
So, the discounted price to take a surfing lesson is $50 and the discounted price to go parasailing is $80
Answer:
Step-by-step explanation:
We use trig to answer these questions:
sin x = opposite side of a triangle / hypotenuse
cos x = adjacent side / hypotenuse
Construct a right triangle with hypotenuse 4 m and lower angle 68 degrees.
The height of the top of the ladder is then defined by:
sin 68 degrees = height / 4 m, which yields (4 m)(sin 68) = height =
3.71 m
and the distance of the bottom of the ladder from the wall as follows:
cos 68 degrees = horizontal distance / hypotenuse =
1.50 m
<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:
42 ft, 60 ft, 84 ft
Step-by-step explanation:
let x be the shortest side , then the other 2 sides are 2x and x + 18, so
x + 2x + x + 18 = 186 , that is
4x + 18 = 186 ( subtract 18 from both sides )
4x = 168 ( divide both sides by 4 )
x = 42
Then lengths of sides are
x = 42 ft
2x = 2 × 42 = 84 ft
x + 18 = 42 + 18 = 60 ft