Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Other Engineering Expert

Question 1

A forward difference approximation to the first derivative of a function f(x) at xi is given by the formula

(df/dx)= [a1f(xi) + a2f(xi + Δx) + a3f(xi + 2Δx) + a4f(xi + 3Δx) + a5f(xi + 4Δx] / 12Δx

where Δx is the mesh spacing.

(a) Determine coefficients a1, a2, a3, a4, and a5 so that the finite difference approximation is 4th order accurate. You can use Taylor's series expansions, the method of undetermined coefficients or Lagrange polynomial approximation for your derivation, however you should show each step clearly in your calculations.

(b) Use the approximation derived in part (a) to determine the first derivative of the function

f(x) = x3Sin(2x) - 2x

at xi = -3.0 for Δx = 0.1, 0.01, and 0.001. Also calculate the error for each Δx value by using the exact derivative of the function at the given point.

Comment on the results you have obtained.

Question 2

Approximate the function given in part (b) of question 1 using a

(a) natural cubic spline with 13 equally spaced data points on the interval -3.0 ≤ x ≤ 3.0.

(b) clamped cubic spline with 13 equally spaced data points on the interval -3.0 ≤ x ≤ 3.0. For the boundary condition at x = -3.0 approximate the first derivative with the finite difference formula derived in question 1 with ?x = 0.5. For the boundary condition at x = 3.0, use the exact value of the derivative.

For each part (part (a) and part (b)): plot the function and the approximation to the function on the same figure. On another figure plot the
error distribution. Give the error values at x = -2.8, -1.4, 0.0, 1.4, and 2.8 for each case. Using the plots and the error values, comment on the performance of the approximations obtained in part (a) and part (b).

Question 3 Numerically evaluate the integral

x1=0x2=2  y1=0y2=3 (2x 5 +(x2/3) + x)(y3 -(y/4)+ 1)dydx

by using Gaussian quadrature in both directions. For the quadrature in each direction, use the formula with the minimum number of points, which will give you the exact value of the integral in the absence of round-off errors. You can do this problem by hand, with the computer routine you have developed, or using both. However, you should give a full description about your solution and explain your reasoning in the selection of the quadrature formula.

Question 4

dy/dt = (y2 + y)/t,  1.0 ≤ t ≤ 3.0,  y(1) = -2.0

Approximate the solution to the above initial value problem using

(a) 4-step Runge-Kutta Method

(b) 2-step Adams-Bashforth Method

(c) Euler Explicit Method

with a time step of h = 0.1. For the Adams-Bashforth Method, use starting values obtained from 4-stage Runge-Kutta method. For each method, tabulate the error at each time step using the exact solution to this problem:

y(t) = 2t/ (1 - 2t)

Show the approximate solutions and the exact function in the same graph. In another graph, plot the error distributions. Note that you may need to give a separate plot for the error of 4-stage Runge-Kutta scheme to see the trend in a larger scale. Comment on the performance of each method by specifying possible advantages and/or disadvantages.

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M91523881
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Other Engineering

Part 1configure verify and troubleshoot wan links and ip

Part 1 Configure, verify and troubleshoot WAN links and IP services Answer to all questions below: 1. What is the name of the Safe Work Australia code of practise that provides guidance on how to manage the risks of elec ...

Assignment 11 what is the purpose of ore reserve and

ASSIGNMENT 1 1. What is the purpose of ore reserve and resource estimation? Why are resource and reserve estimates important to the mining industry? 2. What is meant by ore? What is meant by the term waste? How is the di ...

Engineering analysis assignment -for every problem provide

Engineering Analysis Assignment - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Plot the function f(t) = (x+5) 2 /(4+3x 2 ) for -3 ≤ x ≤ 5. using plot command. Use the ar ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Question 1 define rock mechanics discuss the main

Question 1 . Define rock mechanics. Discuss the main objectives of the application of rock mechanics in mining. Question 2. Define stress. Draw a diagram and define the normal and shear stress by resolving the resultant ...

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

Homework - risk and decision management1 you are working

Homework - Risk and Decision Management 1) You are working program X. The total budget allocated to the program is $100 M and it is to be completed in 24 mo. range (R) and passenger capacity (C) are two key performance p ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

  • 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