Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Math Expert


Home >> Math

Question 1: A containing tank is to be constructed that will hold oil when filled. The shape of the tank is to be a cylinder (including a base) surmounted by a cone (i.e., with a conical top). The cone's height is always equal to its radius which is also the radius of the cylinder. The cost to construct the cylinder portion of the tank is $300 per square meter while the cost for the cone portion is $400 per square meter. Write a function that takes two inputs (TotalVolume and r) and calculates and displays the total cost of constructing the tank. For this problem, when TotalVolume = 500 and r=5.0, the result should be: $112,280. Use the variables listed below. "pi" is a predefined number. Name your function Tank1.m

TotalVolume = Vcone + Vcylinder
Vcone = 1/3(pi*r*r*r)
Vcylinder = pi*r*r*h, where h is height of the cylinder
SAcone = pi*r*r*sqrt(2)
SAcylinder = 2*pi*r*h
SAcylinderbase = pi*r*r

Question 2: Add the following feature to your solution - instead of entering the radius, solve for the optimum radius and plot the cost as a function of the radius, stepping the radius from 1.0 - 7.0 in steps of 0.1. For this problem, TotalVolume = 500. Note that TotalVolume should still be an input to your function, and that you should use 500 as your input value when you call it in the command window. Output the optimal radius and the lowest cost it produces. Hint: you may want to store the radii values in an array and the output from your function in a second array. Name your function Tank2.m.

Question 3: Add the following feature to your solution - change the cost structure to allow discounts as follows - for the cylindrical portion of the tank, the cost is $300 per square meter up to and including 200 square meters. Any part of the cylindrical surface area in excess of 200 square meters gets discounted 10%. Similarly, the cost of the conical portion of the tank is $400 per square meter up to and including 100 square meters. Any part of the conical surface area in excess of 100 square meters gets discounted 20%. Note that the discount is only applied to the excess surface area. As in the previous step, solve for and plot the cost as a function of the radius for a volume of 500, stepping the radius from 1.0 - 7.0 in steps of 0.1. Note that TotalVolume should still be an input to your function, and that you should use 500 as your input value when you call it in the command window.   Output the optimal radius and the lowest cost it produces. Name your function Tank3.m.

Question 4: Now, create a new function by placing Tank3.m in a loop with user inputs for minimum volume, maximum volume, and volume increment, i.e., 500, 1000, 100, and output the optimal radius and cost at that radius. Make a single plot showing the curves for all the volumes - each curve representing a single distinct volume. Name your function Tank4.m.

Math, Academics

  • Category:- Math
  • Reference No.:- M91600369
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in Math

1 suppose that n 10088821 is a product of two distinct

1. Suppose that n = 10088821 is a product of two distinct primes, and Φ(n) = 10082272. Determine the prime factors of n. 2. It is easy to show that the converse of Fermat's Theorem does not hold; i.e., the congruence a n ...

Assignment -question 1 let t and or 0 1 be a boolean

Assignment - Question 1. Let (T, ∧, ∨,', 0, 1) be a Boolean Algebra. Define ∗ : T × T → T and o : T × T → T as follows: x ∗ y := (x ∨ y)' x o y := (x ∧ y)' (a) Show, using the laws of Boolean Algebra, how to define x ∗ y ...

Question 1 - for the ivp of ode y t-1e-y y1 0 find an

Question 1 - For the I.V.P of ODE y' = (t-1)e -y , y(1) = 0, find an approximation to y(1.2) using the following numerical methods with Δt = 0.1. Compare the numerical solution with the exact solution and compute the err ...

Mathematics- algebraic geometry problemlet k denotes an

Mathematics- Algebraic Geometry Problem Let K denotes an algebraically closed field and let P 1 be constructed as in Example 5.5(a) in Gathmanns notes, i.e. P 1 is the gluing of X 1 = A 1 and X 2 = A 1 along  the open su ...

Assignment - solving the five question in the very details

Assignment - Solving the five question in the very details, thanks a lot. Question - Let a ∈ P n be a point. Show that the one-point set {a} is a projective variety, and compute explicit generators for the ideal I p ({a} ...

Question you will recommend a course of action regarding

Question: You will recommend a course of action regarding strategic planning in light of the issue the healthcare organization is facing. Be sure to address the following: 1. Provide a brief summary of the issue facing t ...

Mathematics- algebraic geometry problemlet k denotes an

Mathematics- Algebraic Geometry Problem Let K denotes an algebraically closed field and let P 1 be constructed as in Example 5.5(a) in Gathmanns notes, i.e. P 1 is the gluing of X 1 = A 1 and X 2 = A 1 along  the open su ...

Maths assignment - 1 analysis of a data setusing a

Maths Assignment - 1. Analysis of a data set Using a continuous data set you are requested to collect in the types of data and gathering data section, perform a statistical analysis on your data. You have opportunities t ...

Questions - provide solution to the following questionsq1

Questions - Provide solution to the following questions: Q1. Evaluate the following: ∫xsin3xdx Q2. If , then for what value of α is A an identity matrix? Q3. The line y = mx + 1 is a tangent to the curve y 2 = 4x. Find t ...

Questions -q1 prove the following identitiesa sinx y sinx

Questions - Q1. Prove the following identities a. sin(x + y) + sin(x - y) = 2 sin x cos y b. sec(x - y) = cos(x + y)/(cos 2 x - sin 2 y) c. tan 2 x - sin 2 x = (tan x sin x) 2 Q2. Solve the following equations for x ∈ [0 ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As