Final answer:
To minimize the cost of installing the cable, the distance from C to P should be 0 meters, and the cost will be $120.
Step-by-step explanation:
To minimize the cost of installing the cable, we need to find the distance from C to P. Let's break down the problem step by step:
- Let x be the distance from C to P.
- The cost of running the cable from C to P is 8x.
- The distance from P to M is 12 meters.
- The cost of running the cable from P to M is 10 * 12 = 120 dollars.
- The total cost of installing the cable is 8x + 120.
To minimize the cost, we need to minimize the expression 8x + 120. Since the cost per meter is the same for every meter of cable, the cost will be minimized when the distance from C to P is as short as possible. Therefore, the distance from C to P should be 0 meters, and the cost will be 120 dollars.