Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. By hand, calculate the cross sectional area of the trough, and then calculate the volume of the trough. 2. Write an m-file that finds

image text in transcribed

1. By hand, calculate the cross sectional area of the trough, and then calculate the volume of the trough.

2. Write an m-file that finds the volume of a trough with a cross sectional area defined by a fuction f(x) and the horzontal line segment given by g(x) = f(0) from x=0 to the second interception point at x=b . The length of the trough is L meters. The first line of the m-file should be

function vol = trough_volume(f,b,L)

3.Use your code to compute the volume of the trough in question 1. compare the two solutions and comment on any differences you observe.

4.What are the limitations to your code?

A 5 meter long trough has a crosectional area defined by the function f(x)--In (x + 0 01 ) the horzontal line segment given by g(x) = f(0) from x = 0 to the second interception point. Your task is to calculate the volume of the trough. + ex and

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

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

Prepare an ID card of the continent Antarctica?

Answered: 1 week ago

Question

What do you understand by Mendeleev's periodic table

Answered: 1 week ago

Question

=+free to pirate employees from competitors?

Answered: 1 week ago