Write a function to calculate the cost of laying the cable

Assignment Help Basic Computer Science
Reference no: EM131339152

Telecommunications A cable company wants to provide service for residents of an island. The distance from the closest point on the island's beach, point A, directly to the mainland at point B is 2 kilometers. The nearest cable station, point C, is 10 kilometers downshore from point B. It costs $3500 per kilometer to lay the cable lines underground and $5000 per kilometer to lay the cable lines under water. The line comes to the mainland at point M. Let x be the distance in kilometers from point B to point M.

a. Write a function to calculate the cost of laying the cable.

b. At what distance x should the cable come to shore to minimize cost?

Reference no: EM131339152

Questions Cloud

How serious is the threat of catastrophic terrorism : How serious is the threat of catastrophic terrorism?Can catastrophic attacks be prevented?How would a catastrophic terrorist attack affect American homeland security culture?According to the author in your Case Studies text, why does the Radical Rig..
How the design process can be used to meet client : This reflective essay is an evaluation of how well you understand how the design process can be used to meet client needs within realistic constraints
Focus on the network communications devices : Explain in detail how a network you use at work or home is configured and explain the logic behind it. Focus on the network communications devices here, not the servers (if any)
Find the best product mix of bathtubs : To maintain an adequate supply of both models, the manufacturer would like the number of model A tubs made to be no more than 5 times the number of model B tubs. Find the best product mix of bathtubs.
Write a function to calculate the cost of laying the cable : Telecommunications A cable company wants to provide service for residents of an island. The distance from the closest point on the island's beach, point A, directly to the mainland at point B is 2 kilometers.
Determine equivalent units and the costs per equivalent unit : Determine equivalent units and the costs per equivalent unit for materials and conversion for the year. Determine the amount of cost that should be assigned to the ending work in process and finished goods inventories.
Steps of the security life cycle model : Could the threat have been prevented by utilizing the steps of the security life cycle model? Why, or why not? Does the e-commerce sacrifice any form of customer service by implementing security measures? Explain.
Find the position of the particle each time it is at rest : When the position of a particle as a function of time t is modeled by a polynomial function
Explain the ethical approach concerning means and ends : Explain the ethical approach concerning means and ends that you would apply if you had a role as the chief of police in your hometown.Complete the page requirement.Analyze the ethical issues involved with balancing means and ends in the criminal ju..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Hash algorithm used by protocols such as radius

1. In 1996, the Message Digest 5 (MD5) hash algorithm used by protocols such as RADIUS (Remote Authentication Dial In User Service) to protect passwords was found to have a weakness that could subject it to collision attacks. In 2004, researchers sho..

  Write algorithm to locate the first occurrence of name jean

Write an algorithm to locate the first occurrence of the name JEAN in a list of names arranged in random order. .how you could improve the algorithm if the list of names were arranged in alphabetical order.

  What specific data about the entities will need to be stored

Create the following diagrams: a context diagram a workflow diagram an activity diagram a sequence diagram.

  How has configuration for connecting input-output changed

How has the configuration for connecting input/output (I/O) devices to computers on the motherboard changed since the late 1980s?

  Create each thread as its arrival time comes

Create each thread as its arrival time comes, keep it in working state and terminate as the CPU time finishes.

  Associative and commutative property

What is the difference between the associative and commutative property

  Determine and sketch its power density spectrum

Determine and sketch its power density spectrum.

  Give examples of real-life problems involving geometry

Give an example of a problem that involves an inequality rather than an equation.

  Determine the temperature drop during this process

Refrigerant-134a is throttled from the saturated liquid state at 700 kPa to a pressure of 160 kPa. Determine the temperature drop during this process and the final specific volume of the refrigerant.

  Question regarding the member variable

Your class should have a constructor, one additional method and at least one member variable (e.g. boolean isOn to turn the item on or off). Be sure you demonstrate your class works properly by constructing an instance of it and calling your metho..

  Describe the ocp in your own words

Describe the OCP in your own words. Why is it important to create abstractions that serve as an interface between components?

  Compare the conventional and renormalized som algorithms

Compare the conventional and renormalized SOM algorithms, keeping in mind the following two issues:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd