Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

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

Assume thatnbsptheta is an angle in standard position whose

Assume that θ is an angle in standard position whose terminal side contains the point (15, -8). Find the exact values of THE 6 major trigonometric functions (sin, cos, tan cotan, csc) (Simplify your answer. Type an integ ...

In which quadrant would the terminal side of theta lie and

In which, quadrant would the terminal side of θ lie and is subject to the given conditions cos θ 0?

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 ...

Al was an attorney in a small town and was very well

Al was an attorney in a small town and was very well respected. A couple retained Al to represent them on the purchase of a home. Before closing, Al informed the couple of payments that they were required to make by chec ...

During most of the 20th century the united states was

During most of the 20th Century, the United States was clearly recognized as an innovation leader with an emphasis on technological innovation. Has that changed in the 21st Century? Have other countries begun to overtake ...

In 450 words with referencesdiscuss why productivity is

In 450 words with references: Discuss why productivity is important, particularly in a healthcare organization. How do staffing models and labor optimization algorithms contribute towards productivity? During project man ...

A city has a population of 380000people suppose that each

A city has a population of 380,000people. Suppose that each year the population grows by 8%. What will the population be after 10 years?

Starting with the number six and counting by 2s i need to

Starting with the number six and counting by 2s I need to know what the 100th number would be? Most of all I need to know the formula is to figure it out.

Essay read in the real world - retailmanufacturing - coca

Essay Read "In the Real World - Retail/Manufacturing - Coca Cola" on page 233 in the textbook, and answer the Quick Preview questions on page 234. After completing the exercise, answer the following questions in essay fo ...

Assignment 1 should you believe a statistical studywe are

Assignment 1: Should You Believe a Statistical Study? We are bombarded by statistical information from a wide variety of sources. Much of the statistical research performed in the world is conducted with a great deal of ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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