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

  What is risk management

What is risk management? Why is the identification of risks, by listing assets and their vulnerabilities, so important to the risk management process?

  Implementation of information security management policy

There are many factors that contribute to the success - or otherwise - of the implementation of an information security management policy in an organisation as big as eBay.

  Why should we feel bound by moral constraints

In your answer, reflect on the question "Why be moral?" Is the question asking for self-interested reasons for being moral, and if so does it already presuppose that only self-interest, not morality, provides valid reasons for conduct?

  What is a cost benefit analysis

What is risk appetite? Explain why risk appetite varies from organization to organization.

  Determining the failed bios update

How can you recover your system from a failed BIOS update?

  How many issue slots are wasted due to hazards

Now assume you have 2 SS CPUs. How many cycles will it take to execute these two threads? How many issue slots are wasted due to hazards?

  Write a class polybius, that encrypts and decripts strings

Write two function encode and decode. Encode accepts a string of upper case letters and returns a string of digits. Decode accepts a string of digits and returns a string of upper case letters.

  Definition to represent a race result for a competitor

No longer in the race as they may have been pulled due to injury, disqualified for violating rules during the race, or the time they took to race in seconds with accuracy to 2 decimal places. Design a data definition to represent a race result for..

  Explain remote batch-processing operation

A band is always equal to? In signal power as light travels down fiber is called. what does remote batch-processing operation in which data is only input to central computer would need?

  What does ifconfig do in linux

1. What does ifconfig do in Linux? 2.What are the ranges used for private ip addressing.

  Relation of bearing pressure on soil nail head

What is the relation of bearing pressure on soil nail head to the ratio La/Lb, where La is the length of soil nail before the potential slip circle while Lb is the length of soil nail beyond the potential slip circle?

  Use of authentication types techniques impact security

Explain how the use of authentication types techniques impact security

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