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

1 a hot-air balloon is rising vertically 19 ftsec while the

1. A hot-air balloon is rising vertically 19 ft/sec while the wind is blowing horizontally at 13 ft/sec. Find the speed v of the balloon and the angle θ it makes with the horizontal. 2. Two perpendicular forces act on a ...

Nations around the world have joined forces to create what

Nations around the world have joined forces to create what are known as supranational organizations that work to solve the world's problems through agreements and multilateral decision making. In international trade, the ...

Tis question concerns the following matrix a

This question concerns the following matrix: A = ([0,-√5],[√-5,-4]). This matrix is symmetric so it can be orthogonally diagonalised. a} Enter the eigenvalues of Ain increasing order,separated by commas ? b) Find an eige ...

Research analysis and drawing conclusions for a american

Research, analysis, and drawing conclusions for a American Airlines operating in the international business environment, 5 pages. This paper will provide you an opportunity to explore the many strengths and weaknesses a ...

In your opinion why is the use of statistical methods so

In your opinion, why is the use of statistical methods so important with respect to the issue of quality control? What are the consequences to a business of a lapse in quality control? Of the statistical methods discusse ...

Enclosinga garden a gardener has 46 feet of fencing to be

Enclosinga Garden A gardener has 46 feet of fencing to be used to enclose a rectangular garden that has a border 2 feet wide surrounding it. See the figure. (a) If the length of the garden is to be twice its width, what ...

The spreadsheet contains data on 250 individuals 90 normal

The spreadsheet contains data on 250 individuals: 90 normal individuals from San Diego (the controls), and 160 individuals from Korea and China, all of whom were diagnosed with hepatocellular carcinoma (HCC). Serum sampl ...

A jury pool consists of 27 people 14 men and 13 women

A jury pool consists of 27 people, 14 men and 13 women. Compute the probability that a randomly selected jury of 12 people is all male.

Question 1 discuss the idea of a disruptive market

Question 1: Discuss the idea of a "disruptive" market innovation and strategy and provide examples. How can you provide leadership within an organization that can lead to product or go-to-market innovation? Please provid ...

On monday the high temp was 20c the low temp was -15c what

On Monday, the high temp was 20c. The low temp was -15c. What temp is halfway between the high and the low?

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate