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

A small business borrows 80000 at 84 interest compounded

A small business borrows $80,000 at 8.4% interest compounded monthly for 8 years. A. What is the monthly payment? B. What is the unpaid balance at the end of the first year? C. How much interest was paid in the first yea ...

How does the primary function of upward-flowing

How does the primary function of upward-flowing communication differ from that of downward-flowing communication? Essay of 350-500 words. (introduction, body and conclusion)

1 in how many years will 100000 grow to 2000 at 36

1. In how many years will $1000.00 grow to $2000 at 3.6% compounded quarterly? Answer with 2 decimal places. 2. A loan of $2000 taken out today is to be repaid by a payment of $1200 in six months and a final payment of $ ...

Consider an aumann model of incomplete information in which

Consider an Aumann model of incomplete information in which N = {I, II}, Y = {1, 2, 3, 4, 5, 6, 7, 8, 9}, FI = {{1},{2, 3},{4, 5},{6},{7},{8, 9}}, and FII = {{1},{2, 5},{3},{4, 7},{6, 9},{8}}. What are the connected comp ...

Assuming buying a propertywhat is the 5 most important

Assuming buying a property: What is the 5 most important items you seek to understand/verify during your short due diligence period It is better to buy it and sell it yourself, or sold to REIT

There were 244 tickets purchased for a major league

There were 244 tickets purchased for a major league baseball game. The lower box tickets cost $12.50 and the upper box cost $10.00 The total amount of money spent was $2517.50 How many of each kind of ticket were purchas ...

Consider an aumann model of incomplete information in which

Consider an Aumann model of incomplete information in which N = {I, II}, Y = {1, 2, 3, 4, 5, 6, 7, 8, 9}, FI = {{1, 2, 3},{4, 5, 6},{7, 8, 9}}, and FII = {{1, 5},{2, 6},{3, 4},{7},{8, 9}}. Answer the following questions: ...

Essayanswer the following question in essay formatyour

Essay Answer the following question in essay format. Your essay must include an introduction paragraph, a main section consisting of two or more paragraphs, and a conclusion paragraph. Your essay must include cited mater ...

Outline all the indicators showing a nation are in the

Outline all the indicators showing a nation are in the beginning of the recession.

Find thenbspareanbspand thenbspcircumferencenbspof a circle

Find the  area  and the  circumference  of a circle with  diameter 3cm. Use the value 3.14 for π, and do not round your answers. Be sure to include the correct units in your answers.

  • 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