1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
taurus [48]
3 years ago
10

Consider the ODE, dy dx = y 2 1 + x (2) subject to condition y = 1 when x = 0, use your Euler code from class (modified if neces

sary) to find the solution to the above equation. The equation has the solution: y = 1 1 − ln(1 − x) (3) Compare the analytical and Euler result. Explain any differences
Mathematics
1 answer:
makkiz [27]3 years ago
4 0

Answer:

Computation.

Step-by-step explanation:

I'm not really sure if that's the analytical solution of the inital value problem,

because y(0)=11-ln(1-0)(3)=11. Howevwer, let us procede with the given values...

Let us assume that we are going to use euler with n=2 (two steps) and h=0.2(the size of each step)

The update rules of the Euler Methode are

X_i = X_{i-1}+h=X_0+ih

m_i=\dfrac{dY}{dX} \biggr \rvert_{x_i} \\\\Y_{i+1}=m_i\cdot h+y_i

Since the initial value problem tells us that Y=1 when X=0, we know that

X_0=0 and that Y_0=1. Then, we have

X_0=0\\\\X_1=0.2\\\\X_2=0.4

and

Y_0=1\\\\m_0=21 \cdot Y_0 + X_0 \cdot 2=21 \cdot 1 + 0=21\\\\Y_1=0.2 \cdot 21 + 1 =5.2\\\\m_1=21 \cdot Y_1 + X_1\cdot 2=21 \cdot 5.2 + 0.2 \cdot 2=109.6\\ \\Y_2=m_1 \cdot h + Y_1 = 109.6 \cdot 0.2 + 5.2= 27.12

which gives us the points (0,1), (0.2, 5.2) and (0.4, 27.12).

Now, since we want to compare the analyticaland the Euler result, we first compute the value of y=11-ln(1-x)(3) for the values x=0, 0.2 and 0.4. We get that

y(0)=11-\ln(1-0)(3)=11-ln(1)(3)=11\\\\Y(1)=11-\ln(1-0.2)(3)=11.67\\\\Y(2)=11-\ln(1-0.4)(3)=12.53

and we compute Y(i)-Y_i for each i.

It holds

Y(0)-Y_0=11-1=10\\\\Y(1)-Y_1=11.67-5.2=6.47\\\\Y(2)-Y_2=12.53-27.12=-14.59

which tells us that we have a really bad approximation, as I already stated there must be a mistake in the analytical solution since the intial values don't coincide. Also note that the curve that we get using the euler methose is growing faster than the analitical solution.

You might be interested in
Two angles of a triangle have measures of 55° and 65°.
ivann1987 [24]
The third angle is 180-55-65 = 60°.

Exterior angles are 180-55 = 125°, 135°, 120°
7 0
3 years ago
How do you work out 2/3 of 15? 4/5? of 20? 1/5 of 85? 1/8 of 96 2/5 of 65? 3/5 135? 4/5 of 200? 3/10 of 30? 3/10 of 25?
solniwko [45]

Answer:

Take your numerator times the whole number, then divide by the denominator. For example,

2x15= 30

30/3= 10

2/3 of 15 would be 10


8 0
3 years ago
The radioactive substance polonium-210, with a half-life of 138.39 days, is present in tobacco. Suppose that the soot in an ex-s
Ksju [112]

Answer:

16.07 milligrams

Step-by-step explanation:

From the question,

Using the formula of radioactive decay,

R/R' = 2ᵃ/ᵇ..................... Equation 1

Where R = Original mass of the polonium-210, R' = Final mass of polonium-210 after decaying, a = Total disintegration time, b = half life of polonium-210.

Make R' the subject of the equation

R' = R/(2ᵃ/ᵇ)................ Equation 2

Given: R = 100 milligrams, a = 1 years = 365 days, b = 138.39 days

Substitute these values into equation 2

R' = 100/(2³⁶⁵⁰⁰/¹³⁸³⁹)

R' = 100/(6.222)

R' = 16.07 milligrams of plonium-210

3 0
3 years ago
A study indicated that residents of manchester wasted 2695 gallons of water this tear. That is 50% less than last year . How man
Alenkasestr [34]

Answer:

5390 gallons of water was wasted by the city's residents last year.

Step-by-step explanation:

Let x denotes gallons of water wasted by the city's residents last year.

Gallons of water wasted by the city's residents this year = 2695 gallons

This is 50% less than last year.

Therefore,

x-\frac{50}{100}x=2695\\\\\frac{50}{100}x=2695\\\\\frac{x}{2} =2695\\\\x=2(2695)

x=5390 gallons

So, 5390 gallons of water was wasted by the city's residents last year.

7 0
3 years ago
What is the volume of a Peerman with a base area of 8 ft.² and a height of 12 feet
zaharov [31]
U just multiply them. V=A*h=96ft^3
3 0
4 years ago
Other questions:
  • Show that 5/6 - 3/4 = 1/12
    5·2 answers
  • Whoever gets this right gets brainlyess answer and it's worth 10 points :)
    8·1 answer
  • Which operation should be used to solve x + 3 = 7?
    7·2 answers
  • What is the square root of ten
    10·1 answer
  • Ignacio divides a sub into 3 equal pieces for his friends. What fraction of the sub does each friend receive?
    7·2 answers
  • The quotient of 5/31 divided by 15/24
    9·2 answers
  • marcys breakfast table has a square table top with an area of 36 square feet. what is the diagonal length of the table top​
    13·1 answer
  • 210 students were asked whether they want to go to a water park or a roller skating rink for a class party.
    5·1 answer
  • Write an expression for 113 decreased by w
    9·2 answers
  • the scale from a square park to a drawing is 5 m to 1 cm .the actual park has an area of 1600 m2 .what is the area of the drawin
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!