Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use matlab language to solve, do quesiton 1b thanks. 3rd screenshot is the figure(1) Background You have been asked to manage a project to

Please use matlab language to solve, do quesiton 1b thanks. 3rd screenshot is the figure(1)

image text in transcribedimage text in transcribedimage text in transcribed

Background You have been asked to manage a project to install a pipeline from an offshore gas platform to an onshore gas processing plant. A rough schematic is shown in Figure 1. The aim is to determine the cheapest design solution possible. The platform is D km offshore, and L km along the coastline from the processing plant. The pipeline will follow a straight line from the platform to the shore, and hit land at a point that is a distance x from that point on the shore that is closest to the platform. It is assumed that the coastline is a straight line. Offshore gas platform L Onshore gas processing plant D Water Land Figure 1: A schematic of the gas pipeline from an offshore gas platform to an onshore gas processing plant. Note: Q1a-Q1f are independent from Q1g-Q1h. Note: figure(1) in Q1a.m contains a plot marking the locations of the offshore gas platform and onshore gas plant, which will be used in Q1b. Q1a "Company 1" has quoted the cost of laying a subsea pipeline of $C31 per kilometre (regardless of water depth) and the cost of laying onshore pipeline at $Coi per kilometre. In the Q1a.m file, create a function handle for the cost of the pipeline with inputs x. Calculate the cost of the pipeline for 0 SX S120km with D = 40km, L = 120km, Cs1 = $2.5 x 10/km and Co1 = $2 x 106/km. In figure(2), plot the cost against x using 100 equally spaced points in x. *You should have two figure windows by the end of this task. Note that figure(H) makes the current figure, forces it to become visible, and raises it above all other figures on the screen. If Figure H does not exist, and H is an integer, a new figure is created with handle H. Q1b In the Q1b.m file, create a function handle for the derivative of the cost with respect to the distance x (hardcode the derivative equation into the m-file file, do not use the symbolic toolbox). Calculate the derivative of the cost for 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions

Question

Define organisation chart

Answered: 1 week ago

Question

What are the advantages of planning ?

Answered: 1 week ago

Question

Explain the factors that determine the degree of decentralisation

Answered: 1 week ago

Question

What Is acidity?

Answered: 1 week ago

Question

Explain the principles of delegation

Answered: 1 week ago

Question

=+free to pirate employees from competitors?

Answered: 1 week ago