Compute the percent error to three decimal places

Assignment Help Mathematics
Reference no: EM13718793

1. Use the second-order accurate central difference approximation and the first-order forward difference approximation to evaluate ∂(cos 2x) at x = Π/6 to four decimal places. A step size of Δx = 0.2 is to be used.

Compare this to the actual value of the derivative and compute the percent error to three decimal places for each approximation, defined by

%Error = 100(Numerical value - Analytical value/Analytical value )

Your percent error should include the proper sign (positive or negative).

2. Consider the following two-dimensional convection-diffusion equation:

∂u/∂t = u∂u/dx + v(∂2u/∂x2 + ∂2u/∂y2)

Obtain an explicit finite difference equation using first-order forward time, first-order backwards in space (for the convective term), and second-order central spatial differencing (for the diffusion terms).  You do not have to derive the difference approximations; simply use them.  Remember to include all super- and subscripts, as well as the "order" term including the lowest-order error term for each variable.

3. Consider a fluid bounded by two parallel plates extended to infinity such that no end effects are encountered. The walls and the fluid are initially at rest.  The lower wall is suddenly accelerated in the x-direction.  The coordinate system is such that the lower wall coincides with the xz-plane to which the y-axis is perpendicular.  The spacing between the two plates is denoted by h.

The equation for this problem is

∂u/∂t = v∂2u/∂y2

where u is the kinematic viscosity of the fluid. It is required to compute the velocity profile u = u(y,t). The problem has the following initial and boundary conditions

Initial Condition: 

                                t = 0, u = 1.0 m/s for y=0

                                         u = 0.0 m/s for 0 < y ≤ h

Boundary Condition:

                                          t ≥ 0, u = 1.0 m/s for y=0                           

                                                  u = 0.0 m/s for 0 < y ≤ h                       

The fluid has a kinematic viscosity of 0.000217 m2/s and h = 40 mm.  Your solution should be run until t = 1.08 seconds. Various time steps are to be used to investigate the numerical schemes and the effect of the time step on stability and accuracy.

Write a two code to solve this problem for the following schemes and conditions.

a) FTCS Explicit with time steps 0.002 and 0.00233 sec

b) FTCS Implicit with time steps 0.002 and 0.01 sec

If j = 1 at the lower surface and a step size of Dy = 0.001 m is used, then j at the upper surface will be 41.  Note that n = 1 corresponds to t = 0.

For each case of each method, plot the velocity profile for four difference times on the same graph: 0.27 sec, 0.54 sec, 0.81sec and 1.08 sec.  (You will have 4 plots in all, each with four curves.)  Remember to use proper plotting techniques, including title, axis labels, units, legend, and legibility.  Submit your plots in hardcopy, and a copy of your codes both in hardcopy and electronically on Canvas.

The file names for your codes should be:

firstname_lastname.ftcsexp.sp15.ext

firstname_lastname.ftcsimp.sp15.ext

whereext is the proper extension for the computer language you are using. MATLAB and other similar software is not permitted for this assignment.

Reference no: EM13718793

Questions Cloud

Why or why not companies are responsible for unemployment : Should companies are responsible for unemployment caused by their information systems? Why or why not?
Calculate the moment of inertia and the rotational a : Given the bond length of 1.278 Angstroms and having a 116.8 degree angle, calculate the moment of inertia and the rotational constants A, B and C.
Explore the various benefits of brand equity : ick a brand. Assess the extent to which the brand is achieving the various benefits of brand equity. Identify all of its brand elements and assess their ability to contribute to brand equity.
How much energy is released when steam converted to ice : How much energy (in kilojoules) is released when 250g of steam at 135*C is converted to ice at -20*C
Compute the percent error to three decimal places : two-dimensional convection-diffusion equation - The problem has the following initial and boundary conditions
Explore the concepts of livestock producers : Why should livestock producers understand reproduction and genetics? How would understanding these concepts make them better producers?
Proteins end up in a solution of high concentration of salts : Very often proteins end up in a solution of high concentration of salts at the end of a purification process. Propose a method to remove these salts.
Define what is the equilibrium pressure of the hydrogen gas : The gas arsine, AsH3, decomposes to form solid arsenic and hydrogen gas in the following equilibrium reaction: 2AsH3(g) 2As(s) + 3H2(g) You inject 280.0 torr of arsine into an evacuated chamber, and measure a total pressure on successive days th..
Explain the turbine engine propulsion : Which type of pressure wave do you think performs the most work in a turbine engine and why? Post a complete, original response.

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

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