Ask Question, Ask an Expert


Ask Math Expert

Home >> Math

Instructions for computer part:

• The grader must be able to run one script, or one script for every problem and obtain the desired outcome (graphs, printed values, ect. . . ).
• Please be sure the filename is of the form “last name” then an “underscore” followed through the “problem set number” (and problem number if multiple files).

For illustration Newhall_HW9.m would include all answers generated by one file while Newhall_HW9_2.m would only have problem 2 within the script.

• Be sure to also comprise any files containing functions you have written.
• Please also comprise your last name in subject line.

The written parts must be turned in as usual on paper.

1. (20pts) (written) The backwards Euler different operator is given by
Nhyn = yn − yn−1/ hn − f(tn, yn)

For differential equation y′= f(t, y). Determine the order of the local truncation error. describe why this diference operator is consistent.

2. (40pts) consider the Van der Pol oscillator
x′′− µ(1 − x2)x′+ x = 0

(a) (Written) prepare this equation as a system of first order equations

(b) Taking µ = 2, use MatLab’s routine ode45 to find out the solution for initial value problem x(0) = 0 and x′(0) = 5 from t = 0 to t = 40. Plot x as a function of t and also plot x vs x′ in phase-space.

(c) Repeat for the initial conditions x(0) = 0 and x′ (0) = 0.01.

(d) (Written) what is the fixed point of the system? Use your numerical results to argue what the long time behavior of the system is.

3. (40pts) Consider the differential equation give by
y′= −10(y − sin t)

(a) (Written) Derive by hand exact solution that satisfies the initial condition
y(0) = 1.

(b) Numerically obtain the solution to the IVP using Forward Euler with a step size of h = 0.1 from t = 0 to t = 3. Print the value of the approximate solution at time t = 3. Also plot the exact solution (with a solid line) and the approximate solution (with square markers) on the same plot.

(c) Numerically determine the relative global error,
eh = |1 − yh(3)/y(3)|

Of your approximate solution at t = 3 when h = h, h/2, h/4, h/8 and h/16.
Plot the log of the relative error vs. the log of the spacing h. (written)
describe why this verifies your scheme is convergent to order 1.

Math, Academics

  • Category:- Math
  • Reference No.:- M9815

Have any Question? 

Related Questions in Math

Strategic recommendationsnbspin developing this assignment

Strategic Recommendations   In developing this assignment, you have an opportunity to synthesize and apply the concepts, principles, and theories. You will be writing a paper in response to the following hypothetical sit ...

There were 246 apple stores worldwide in 2008 and 317 apple

There were 246 Apple stores worldwide in 2008 and 317 Apple stores worldwide in 2010. Write a Linear equation in slope-intercept form models this growth. Let x stand for the number of years after 2008 and y =the number o ...

1nbspyou deposit 6000 in an account earning 6 interest

1. You deposit $6000 in an account earning 6% interest compounded monthly. How much will you have in the account in 10 years? 2. You deposit $3000 in an account earning 8% interest compounded  continuously . How much wil ...

Your goal is to describe the details of a more-or-less

Your goal is to describe the details of a more-or-less feasible business in the renewable energy or more general sustainability sector. Do not propose a major enterprise: propose something that is feasible (or close to f ...

An earthquake was recorded as 1057nbsptimes more powerful

An earthquake was recorded as 10 5.7  times more powerful than a reference level zero earthquake. What was the magnitude of this earthquake on the Richter scale? R = logI/I 0

At the age of 35 to save for retirement you decide to

At the age of 35, to save for retirement, you decide to deposit $100 at the end of each month in an IRA that pays 5.3.% compound monthly. A) How much will you receive when you retire at the age of 65? B) Find the interes ...

Mpl project- pharmaceutical clinical trial distribution a

MPL Project- Pharmaceutical Clinical Trial Distribution A pharmaceutical company, named "LongerLife", plans to deliver clinical trials to three different clinics (C1, C2, and C3). The trials are used for the emergency tr ...

Problem 1a generous university benefactor has agreed to

Problem 1: A generous university benefactor has agreed to donate a large amount of money for student scholarships. The money can be provided in one lump sum of $12 million in Year 0 (the current year), or in parts, in wh ...

1 show that when you apply node splitting to a nonreducible

1. Show that when you apply node splitting to a nonreducible ow graph, and then perform T1-T2 reduction on the resulting split graph, you wind up with strictly fewer nodes than you started with. 2. What happens if you ap ...

A ship leaves port on a bearing of 310deg north of east and

A ship leaves port on a bearing of 31.0° north of east and travels 13.3 mi. The ship then turns due east and travels 4.2 mi. How far is the ship from port, and what is its bearing from port? (Do not round until the final ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen