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
the pattern continues, what would be the eighth number in the pattern?4. 25, 28, 32, 37, 43 ______ PLS HELP ME
fredd [130]

25,28,32,37,43,50,58,67.

\boxed{The\:eighth\:number\:in\:the\:pattern\:is\:67.}

\large\mathfrak{{\pmb{\underline{\red{Step-by-step\:explanation}}{\orange{:}}}}}

25, 28, 32, 37, 43,50,58,67\\ ✒ \: 25 + 3 = 28 \\ ✒ \: 28 + 4 = 32 \\ ✒ \: 32 + 5 = 37 \\ ✒ \: 37 + 6 = 43 \\ ✒ \: 43 + 7 = 50 \\ ✒ \: 50 + 8 = 58 \\ ✒ \: 58 + 9 = 67

\large\mathfrak{{\pmb{\underline{\orange{Happy\:learning }}{\orange{.}}}}}

4 0
2 years ago
Solve 5(85) using mental math with the help of distributive properties
Karo-lina-s [1.5K]

Answer:

425

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Given the figure below with m<br> HELP ASAP. I’LL MARK YOU BRAINLIEST!!
Naya [18.7K]

Answer:

c

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
Which point lies on the circle centered at the origin with radius V5?
7nadin3 [17]

Answer:

2, _/21

Step-by-step explanation:

6 0
3 years ago
Which system of equations has the same solution as the one above ?
Ber [7]

Answer:

x+4y=-35

-8x-4y=28

Step-by-step explanation:

The answer to the original equations is (1, -9). You can solve that by using substitution by moving the 4y over and substituting that equation for x on the second part of the top equation. Using elimination, the second set of answers will give you the same, (1, -9)!

7 0
3 years ago
Other questions:
  • 1) g(x) = -x - 3<br> h(x) = x + 5<br> Find (g + h)(x)
    15·2 answers
  • 3.184 rounded to the nearest tenth
    5·2 answers
  • How can you tell from the structure of the equation that it is quadratic?
    14·1 answer
  • Suppose<br> cos(π/2−x) =3/5, cos x =4/5<br> find sin, tan, csc, sec, cot
    13·1 answer
  • The property tax on a $360,000.00 house is $5400.00. At this rate, what is the property tax on a house that is $470,000.00?
    5·1 answer
  • 1. What fraction is equivalent to 0.28?
    6·2 answers
  • If points of a region represent equally-likely outcomes, then you can find probabilities by comparing areas.... T/F?
    7·1 answer
  • Complete the factored form.<br> 45x2 + 6x - 7 = (3x - 1)( )
    6·1 answer
  • Eve plays basketball. She makes 7 free throws for every 3 free throws that she misses. If she missed 27 free throws at
    10·1 answer
  • Pls can someone help me<br><img src="https://tex.z-dn.net/?f=%20log10%20%5Csqrt%7B36%7D%20%20%2B%20%20%20%20log10%20%20%5Csqrt%7
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!