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

In this discussion you will solve quadratic equations by

In this discussion, you will solve quadratic equations by two main methods: factoring and using the quadratic formula. Read the following instructions in order and view the example to complete this discussion. Please com ...

For a normal distribution with mean of 80 and a standard

For a normal distribution with mean of 80 and a standard deviation of 8, find the number of standard deviations the raw score 67 is from the mean (Give answer as a positive value rounded to nearest hundredth).

Select a grade level ccrs related to measurement and

Select a grade level CCRS related to Measurement and Data.  Using the Class Profile, create one lesson plan with instructional activities that: Makes comparisons; Uses models of measuring units; Uses measuring instrument ...

Hookes law states that the force needed to stretch a spring

Hooke's law states that the force needed to stretch a spring is proportional to the amount the spring is stretched. If 20.00 lb stretches a certain spring 10.0 In, how much will the spring be stretched by a force of 9.00 ...

Mexico does it export what are its approaches to exporting

Mexico. Does it export? What are its approaches to exporting (direct, indirect, passively filling orders or selling to domestic buyers)? Does it import? What are its motivations for importing (specialization or labor, gl ...

A firm is evaluating two machines the first costs 250000

A firm is evaluating two machines. The first costs $250,000 and will require annual maintenance of $30,000 per year for 10 years. At the endof 10 years, the salvage value will be $75,000. The second machine costs$400,000 ...

By weight the ratio of chlorine to sodium in a salt is 5012

By weight, the ratio of chlorine to sodium in a salt is 50.12 to 27.00 How much sodium is contained in 41.00 kg of salt? Please explain and show work

Calculate the return on investment for 1900 shares of a

Calculate the return on investment for 1,900 shares of a mutual fund purchased with an offer price of $15.26 if the shares were sold with a NAV of $18.35. The shares paid a dividend of $0.88per share during ownership. Pl ...

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

Can anyone explain me like when we use the phythgorean

Can anyone explain me like when we use the phythgorean triplet in triangle there are many triplet so how we know when to use this one.

  • 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