Questions
Consider the system modeled by the differential equation dy/dt - y = t with initial condition y(0) = 1

Consider the system modeled by the differential equation

                              dy/dt - y = t    with initial condition y(0) = 1

the exact solution is given by y(t) = 2et − t − 1

 

Note, the differential equation dy/dt - y =t can be written as

                                              dy/dt = t + y

using Euler’s approximation of dy/dt = (y(t + Dt) – y(t))/ Dt

                              (y(t + Dt) – y(t))/ Dt = (t + y)

                               y(t + Dt) = (t + y)Dt + y(t)

                              New Value = change + current value

 

 

  1. Using R implement Euler’s method directly to numerically solve the equation and construct a Table as below – list data to four digits past the decimal point. Submit your R session

               time     ∆t = 0.1           ∆t = 0.0001        Exact Value       %Relative                  %Relative

                                                                                                             Error ∆t = 0.1       Errort = 0.0001                    

                  0

                 0.1

                 0.2

                 0.3

                 0.4

                 0.5

                 0.6

                 0.7

                 0.8

                 0.9

                 1.0

In: Advanced Math

Solve equations 1.) y'-y=t/y 2.) y'-(1/t)y=y2sin(t) 3.) y'+y=y2cos(t) 4.) y'-2y=cos(t)/(y1/2)

Solve equations

1.) y'-y=t/y

2.) y'-(1/t)y=y2sin(t)

3.) y'+y=y2cos(t)

4.) y'-2y=cos(t)/(y1/2)

In: Advanced Math

6- Write a C++ program that determines the amount of memory used by char, short int,...

6- Write a C++ program that determines the amount of memory used by char, short int, unsigned short int, float, and double types and display the information on the screen. You program should also display the typical range for each data type.

In: Advanced Math

Where is the function ln(sin x ) defined and continuous?

Where is the function ln(sin x ) defined and continuous?

In: Advanced Math

3-24 Today’s Electronics specializes in manufacturing modern electronic components. It also builds the equipment that produces...

3-24 Today’s Electronics specializes in manufacturing modern electronic components. It also builds the equipment that produces the components. Phyllis Weinberger, who is responsible for advising the president of Today’s Electronics on electronic manufacturing equipment, has developed the following table concerning a proposed facility:

Profit

Strong Market

Fair Market

Poor Market

Large Facility

550,000

110,000

-310,000

Medium Sized Facility

300,000

129,000

-100,000

Small Facility

200,000

100,000

-32,000

No Facility

0

0

0

a. develop an opportunity loss table.

Opportunity Loss Table

Outcome

Large

0

310,000

Medium

250,000

100,000

Small

350,000

32,000

No facility

550,000

0

b. what is the minimax regret decision?

Opportunity Loss Table

Outcome

Max Regret

Large

0

19,000

310,000

310,000

Medium

250,000

0

100,000

250,000

Small

350,000

29,000

32,000

350,000

No facility

550,000

129,000

0

550,000

The minimax regret decision rule states the best alternative is the medium-sized facility.

Just need help with making an excel spreadsheet showing formulas for these answers .

In: Advanced Math

Find the general solution of the following equations: y′′ −4y′ +4y=0; y′′ −5y′ +6y=0; y′′ −...

Find the general solution of the following equations:

y′′ −4y′ +4y=0; y′′ −5y′ +6y=0; y′′ − 2y′ = 0

In: Advanced Math

Solve the differential equation y'' − y' − 2y = 9e^2t , with initial conditions y(0)...

Solve the differential equation y'' − y' − 2y = 9e^2t , with initial conditions y(0) = 3, y' (0) = −2, using two different methods. Indicate clearly which methods you are using. First method:

Second method:

In: Advanced Math

Obtain the general solution of the following equation 4Uxx+12Uxy+9Uyy-9U = 9

Obtain the general solution of the following equation 4Uxx+12Uxy+9Uyy-9U = 9

In: Advanced Math

Let f : V mapped to W be a continuous function between two topological spaces V...

Let f : V mapped to W be a continuous function between two topological spaces V and W, so that (by definition) the preimage under f of every open set in W is open in V : Y is open in W implies f^−1(Y ) = {x in V | f(x) in Y } is open in V. Prove that the preimage under f of every closed set in W is closed in V . Feel free to take V = W = R^n to simplify things. Hint: show that the “preimage of” operation plays nice with set-complements, and then use the fact that every closed set is the complement of some open set. Note that R^n is both open and closed as a subset of itself.

In: Advanced Math

A solution of hydrochloric acid accidentally leaks into a spring fed freshwater lake, which in turn...

A solution of hydrochloric acid accidentally leaks into a spring fed freshwater lake, which in turn feeds a single stream. the acid leaks into the lake at a rate of 2 gallons per hour and has a concentration if 3 pounds per gallon. The lake initially contains 4000 gallons of water. Water flows into the lake from the spring at a rate of 100 gallons per hour and fluid flows out of the lake into the stream at a rate of 100 gallons per hour.
a) Set up the initial value problem that models the dynamics if acid in the lake.
b) Solve the initial value problem from part a.
c) compute the amount of acid in the lake after 1 hour

In: Advanced Math

please do as many as possible 2.25: Each point in the plane is randomly assigned one...

please do as many as possible
2.25:
Each point in the plane is randomly assigned one of two colors, red
or green. Show that for any real number l > 0, there exist two
points on the plane a distance l apart, that are either both assigned
red or both assigned green. (Hint: consider equilateral triangles.)

2.18:
Suppose you have a circle of radius 1 with center at the origin.
Suppose that 200 points are picked on the circle, of integer degrees,
where by degree of the point, we mean the degree measure of the
angle made by the radius through that point with respect to the
positive x-axis. Show that at least two points must be antipodal,
i.e, at opposite ends of a diameter of the circle. What is the least
number k of points that you can pick as described and still be
guaranteed that you will have a pair of antipodal points?

2.16:
Write down any 10 integers in a list. Label them a1, a2, ... , a10.
Prove that some sequence of consecutive terms ai, ai+1, ai+2, ... ,
aj in your list (with 1  i  j  10) is sure to add to a multiple
of 10. (Note: it is possible that j = i. Hint: let a0 be an arbitrary
integer, and consider the set of integers a0, a0 + a1, a0 + a1 + a2, ... , a0 + a1 + ··· + a10.)

2.14
Given any integer n 1, show that there exists an integer, whose
digits are all either 0 or 1, that is divisible by n. (Hint: you know
that if you take any set of n + 1 integers, the di↵erence of some two
of them must be divisible by n. Now try to choose your set of n + 1
integers carefully!)

In: Advanced Math

By computing both sides, show that for an m × n matrix A, vectors u and...

By computing both sides, show that for an m × n matrix A, vectors u and v ∈ Rn , and a scalar s ∈ R, we have (a) A(sv) = s(Av); (b) A(u + v) = Au + Av; (c) A(0) = 0. Here 0 denotes the zero vector. Is the meaning of 0 on the two sides identical? Why or why not? Hint: Let x = (x1, . . . , xn) and y = (y1, . . . , yn) be vectors in Rn . The definition of vector equality is that x = y if and only if, for each i between 1 and n, we have xi = yi . So verify this property for the vectors in (a), (b), (c).

In: Advanced Math

How do you determine convexity/concavity of a function f(x,y)? How about a function f(x,y,z)?

How do you determine convexity/concavity of a function f(x,y)? How about a function f(x,y,z)?

In: Advanced Math

1.Determine whether S spans V . Justify your answers. V = C ^0 [−1, 1] (the...

1.Determine whether S spans V . Justify your answers.

V = C ^0 [−1, 1] (the vector space of continuous functions on [−1, 1]) and S = {1, t, t2 , t3 , . . . }.

2.Let S be a set in a vector space V and v any vector. Prove that span(S) = span(S ∪ {v}) if and only if v ∈ span(S).

In: Advanced Math

PROOFS: 1. State the prove The Density Theorem for Rational Numbers 2. Prove that irrational numbers are dense in the set of real numbers

 

PROOFS:

1. State the prove The Density Theorem for Rational Numbers

2. Prove that irrational numbers are dense in the set of real numbers

3. Prove that rational numbers are countable

4. Prove that real numbers are uncountable

5. Prove that square root of 2 is irrational

In: Advanced Math