Calculate the derivation of the function by hand

Assignment Help Mechanical Engineering
Reference no: EM131328019

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.

Reference no: EM131328019

Questions Cloud

Determine the individual pressure drops to the nearest tenth : Determine the individual pressure drops to the nearest tenth (0.1) psi and the gage pressures to the nearest whole (1) psi
Learning in traditional classroom versus in online setting : Identify the primary differences between learning in a traditional classroom versus learning in an online setting.
Create a diagram that illustrates willowmills operations : Create a diagram that illustrates Willowmill's operations around the world. Include the tax rates in each country and the cost to manufacture the products in each area.
Provide some background about william cope moyers : Write a paper relating the information from the book Broken to any course content we have covered.- Provide some background about William Cope Moyers.
Calculate the derivation of the function by hand : Calculate the following for the function f(x) = e-3x - 2x. 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
Organize the presentation so that the information is clear : Organize the presentation so that the information is clear and visually appealing. Use technology and information resources to research issues in information systems.
Sketch a graph of h versus x : A box of fixed volume V has a square base with side length x. Write a formula for the height, h, of the box in terms of x and V. Sketch a graph of h versus x.
What is the minimum possible degree of the polynomial : Is the leading coefficient of the polynomial positive or negative?
How do you prepare a statement of cash flows : That is, how do you prepare a statement of cash flows using the indirect method? Don't use numbers but explain the mathematical calculations and line items.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

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