Finds the value of a using a numerical method

Assignment Help MATLAB Programming
Reference no: EM131933

Prepare a pipe network system that transfers water from the upper pipe to the lower pipe. Note that Figure is a plan view and the elevation is constant across all pipes. The static pressure difference between points A and D is designed to be PA - PD = 3 atm (1 atm = 1 standard atmospheric pressure = 101.3 kPa). It is required to make sure that the speed of the flow through every pipe is at least 2 m/s so that there is no sediment build-up.

A square-wave pulse is given in Figure (a) with its corresponding Fourier transform in Figure (b).

1614_Finds the value of a using a numerical method.png

The analytical result for the Fourier transform is

1048_Finds the value of a using a numerical method1.png

If a particular signal has the property a = 5, use a numerical method to evaluate a from the signal F(ω). (This sounds perverse, but pretend you have data for a signal and you don't know the value: at least you know whether your code is any good!) To attempt this, you should calculate a value of ω where either ω is a known function of a or F(ω) is a known function of a. The main numerical method you use should not rely on complex MATLAB functions. You should validate your code using another numerical method and verify your code by using the same numerical method but solving by hand for 3 iterations.

Requirements

You must produce MATLAB code which:

1. Finds the value of a using a numerical method that has been taught in the content.

2. Validates the numerical method using any other numerical method available to you and reports the result to the Command Window.

3. Validates both numerical methods by computing the relative error compared to the analytical solution and reports the result to the Command Window.

Reference no: EM131933

Questions Cloud

Prepare a businesspartner : Prepare a BusinessPartner class that contains a company name, first name and a telephone number.
Evaluate function when f is u-u continuous : Evaluate function when f is U-U continuous.
Determine the weighted average cost of capital : Determine the weighted average cost of capital and the weighted marginal cost (WMCC) for each range of total financin
The marie simulator : Depending on how comfortable you are with using the MARIE simulator after reading
Finds the value of a using a numerical method : Finds the value of a using a numerical method
Online vs. face-to-face classes : Communication A significant distinction between online and face-to-face classes lies in the area of communication.
Evaluate the exit velocity : Evaluate the valve closure to achieve a water exit velocity
Create a consumer price index : Create a Consumer Price Index
Create a database from scratch : Create a database from scratch that contains, at a minimum, the elements listed below

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