Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Mechanical Engineering Expert

1) Calculate the following for the function f(x) = e-3x - 2x.

a. Calculate the derivation of the function by hand. Write a MATLAB function that calculates the derivative of this function and calculate the derivative at x = 0.5.

b. Develop an M-to evaluate the centered finite-difference approximations, at x = 0.5. Assume that dx = 0.1.

c. Repeat part (b) for the second-order forward and backward differences. Again Assume that dx = 0.1.

d. Using the results obtained in parts b and C, calculate the percentage error between actual value and the results of (b) and (c).

Use the following formulas:

Centered diff. df/dx = (f(i+1) -  f(I - 1))/2dx

Fwd. diff. df/dx  = (-f(i+2) + 4f (i+1)- 3f(i))/2dx

Bkwd. diff. df/dx = (3f(i)-4f(i-1)+f(i-2))/2dx

2) a. Use the three-point Gauss-Legendre formula to evaluate the following function between 0 and 0.8

f(x) = 3x + 5x2

Remember that you have to make a change of variable to make the integration between -1 to 1. Do all your calculations in MATLAB.

b) Calculate the value of the integral using a MATLAB built in function of your choosing.

1061_Table.png

3) Use any Matlab built-in function to solve the following differential equation in the range of t = 0 to 10 and plot the solution.

y' = 4e0.8t - 5y,   y(0) = 2.

Mechanical Engineering, Engineering

  • Category:- Mechanical Engineering
  • Reference No.:- M92082606

Have any Question?


Related Questions in Mechanical Engineering

Assignment -q1 explain the difference between the

Assignment - Q1. Explain the difference between the metacentric height of a ship during 'Partially Afloat condition and 'Free Floating' condition; aid a sketch to support your answer. Q2. With the aid of sketches, explai ...

Alocate ten minutes for the presentationuse audio visual

Allocate ten minutes for the presentation Use audio / visual / technological supports / aids where appropriate Use a minimum of 3 properly referenced articles. THEMES PRESENTATION TOPIC MEMORY Discuss the three learning ...

The aim of the project is to demonstrate certain aspects of

The aim of the project is to demonstrate certain aspects of engineering materials in different applications. The projects will be assessed on the basis of a written Research Report. The report should clearly show what yo ...

Materials behaviour from atoms to bridges assignment -

Materials Behaviour from Atoms to Bridges Assignment - Distributed loads and static equilibrium (Please note: you should show your steps with necessary figures) Q1. Two beam sections are jointed at C and supported at A b ...

Heat transfer and combustionyou will need graph paper a

HEAT TRANSFER AND COMBUSTION You will need graph paper, a calculator, a copy of Appendix 1 from lesson HTC - 4 - 2 and access to steam tables to answer this TMA. 1. A fuel gas consists of 75% butane (C 4 H 10 ), 10% prop ...

Mechanical engineering assignment task - solve the given

Mechanical Engineering Assignment Task - Solve the given problem. Task 1 - A spring with a one-turn loop of 40mm mean radius is formed from a round section of wire having 5 mm diameter. The straight tangential legs of th ...

Questions -q1 a qualitative estimate of the effect of a

Questions - Q1. A qualitative estimate of the effect of a wind-tunnel contraction (Figure) on turbulent motion can be obtained by assuming that the angular momentum of eddies does not change through the contraction. Let ...

Life cycle assessmentfor your chosen service eg white

LIFE CYCLE ASSESSMENT For your chosen service (e.g. white board markers), identify two alternatives of getting the service (e.g. brand A, brand B). Choose the most environmentally friendly option by conducting life cycle ...

Force exerted by jet on moving cart1 you need to determine

Force Exerted By Jet On Moving cart. 1. You need to determine the velocity of water that comes out from the nozzle of this system. need the equation please formulate the equation. 2. This water will strike a small cart a ...

Structural mechanics questions -q1 a 150-lb bucket is

Structural Mechanics Questions - Q1. A 150-lb bucket is suspended from a cable on the wooden frame. Determine the resultant internal loadings on the cross section at D, and at E. Q2. The shaft is supported at its ends by ...

  • 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