Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Engineering Mathematics Expert

Problem 1. Use the second-order accurate central difference approximation and the first-order forward difference approximation to evaluate ∂(cos2x)/∂x 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).

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

∂u/∂t = u.∂u/∂x + ν(∂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 allsuper- and subscripts, as well as the "order" term including the lowest-order error term for each variable.

Problem 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 = ν∂2u/∂y2

where ν 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 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 Δy = 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

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

?Hello I want the C++ code of this assignment. I need the all graph code in MAtalb, so Graph can be plotted in Matlab. so please send me the Matlab code for Graph and 2 C++ code for given Assignment?.?

Engineering Mathematics, Engineering

  • Category:- Engineering Mathematics
  • Reference No.:- M91774438
  • Price:- $75

Guranteed 36 Hours Delivery, In Price:- $75

Have any Question?


Related Questions in Engineering Mathematics

Assignment - lp problemsthe data for all the problems in

Assignment - LP problems The data for all the problems in this HW are included in the LP_problems_xlsx spreadsheet Problem 1: Cash Planning A startup investment project needs money to cover its cash flow needs. At the en ...

Question suppose g is an undirected connected weighted

Question : Suppose G is an undirected, connected, weighted graph such that the edges in G have distinct edge weights. Show that the minimum spanning tree for G is unique.

Clculus assignment -q1 find the total differential of w

CALCULUS ASSIGNMENT - Q1. Find the total differential of w = x 3 yz + xy + z + 3 at (x, y, z) = (1, 2, 3). Q2. Find the value of the double integral ∫∫ R (6x + 2y 2 )dA where R = {(x, y)| - 2 ≤ y ≤ 1, y 2 ≤ x ≤ 2 - y. Q3 ...

Problem 1given a sequence xn for 0lenle3 where x0 1 x1 1

Problem # 1: Given a sequence x(n) for 0≤n≤3, where x(0) = 1, x(1) = 1, x(2) = -1, and x(3) = 0, compute its DFT X(k). (Use DFT formula, don't use MATLAB function) Use inverse DFT and apply it on the Fourier components X ...

Question a signal starts at point x as it travels to point

Question : A signal starts at point X. As it travels to point Y, it loses 8 dB. At point Y, the signal is boosted by 10 bB. As the signal travels to point Z, it loses 7 dB. The dB strength of the signal at point Z is -5 ...

Analytical methods for engineers assignment - calculusthis

ANALYTICAL METHODS FOR ENGINEERS ASSIGNMENT - CALCULUS This assignment assesses Outcome - Analyse and model engineering situations and solve problems using calculus. Questions - Q1. Differentiate the following functions ...

Q undirected vs directed connectivitya prove that in any

Q: Undirected vs. directed connectivity. (a) Prove that in any connected undirected graph G = (V, E) there is a vertex v ? V whose removal leaves G connected. (Hint: Consider the DFS search tree for G.) (b) Give an examp ...

Question suppose that g is a directed graph in class we

Question : Suppose that G is a directed graph. In class we discussed an algorithm that will determine whether a given vertex can reach every other vertex in the graph (this is the 1-to-many reachability problem). Conside ...

Question a suppose that you are given an instance of the

Question : (a) Suppose that you are given an instance of the MST problem on a graph G, with edge weights that are all positive and distinct. Let T be the minimum spanning tree for G returned by Kruskal's algorithm. Now s ...

1 this problem concerns of the proof of the np-completeness

(1) This problem concerns of the proof of the NP-completeness of 300L a) Convert the formula F into a 300L graph b) Find a solution for the 300L instance of F and verify that it is a solution for F F = (Z 1 V Z 2 ) ^ (z ...

  • 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