Create a matlab program

Assignment Help MATLAB Programming
Reference no: EM1382411

A wood circular cylinder, having a specific gravity, S, of 0.54, floats in water as shown in Figure P4.

 

488_MATLAB function.png

Figure

For a floating body, the weight of the floating body equals the weight of fluid displaced, thus

                        2391_MATLAB function1.png                    where

            S = the specific gravity of the wood.

            γw= the specific weight of water.

            R = the radius of the cylinder.

            L = the cylinder length.

            V = the volume of water displaced

              1443_MATLAB function2.png

The integral was obtained from integral tables. Substituting the limits of integration gives:

2258_MATLAB function3.png

Substituting Equation c) into Equation (a) and rearranging terms and dividing by R2 gives:

 

2284_MATLAB function4.png (d)

Create a MATLAB program that will use MATLAB's fzero function to determine d for the following parameters: R = 0.5 m and   in steps      of 0.1. Create a table consisting of S and d.

Reference no: EM1382411

Questions Cloud

Examine why has there been such a relatively high incidence : Examine why has there been such a relatively high number of incidences of this and illustrate what it says about the business environment which the United States operates in.
What is the speed of the car at the bottom of driveway : A 2.50g bullet, travelling at a speed of 395m/s, strikes the wooden block of a ballistic pendulum. The block has the mass of 265g. How high does the combination rise above its initial position.
Regenerative thermal oxidizers : A company that manufactures regenerative thermal oxidizers made an investment 10 years ago that is now worth $1,300,000.
What is the acceleration of two falling sky divers : A 13.00 g bullet travelling 236 m/s penetrates a 2 kg block of wood and emerges cleanly at 179 m/s. If the block is stationary on a frictionless surface as hit, how fast does it move after the bullet emerges.
Create a matlab program : Create a MATLAB program that will use MATLAB's fzero function to determine d for the following parameters: R = 0.5 m and in steps of 0.1. Create a table consisting of S and d .
Describing practice of explaining technical issues : Technical writing is practice of explaining technical issues in ways that non-technical people can understand. Why would this be important in the grant writing process?
Working of real estate salesperson : You are a real estate salesperson working for Good Earth, Realtors, Inc. You receive 50 percent of all commissions received by the firm (net of MLS fees) for which you were either the listing agent or the selling agent.
Illustrate should you want to know if you were a debtor : Illustrate what should you want to know if you were a debtor in a credit contract. Can you name an easement which was on every piece of real property where you have lived.
Define the term corporation by estoppel : Define the term de facto corporation and list the 3 terms that must exist in order for it to exist. Define the term corporation by estoppel.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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