answer.
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
Rufina
2 months ago
15

Use Euler's method to obtain a four-decimal approximation of the indicated value. Carry out the recursion of (3) in Section 2.6

yn + 1 = yn + hf(xn, yn) (3) by hand, first using h = 0.1 and then using h = 0.05. y' = 2x − 3y + 1, y(1) = 9; y(1.2) y(1.2) ≈ (h = 0.1) y(1.2) ≈ (h = 0.05)
Mathematics
1 answer:
AnnZ [12.3K]2 months ago
6 0

Answer:

At h=0.1, the calculated value of y(1.2) equals 15.920, and for h=0.05, y(1.2) amounts to 16.523.

Step-by-step explanation:

Given,

f(x,y)=\frac{dy}{dx}=2x+3y+1 with y(1)=9.

This means when x=1, y=9 initially.

To determine the value of y= f(x,y) at x_n=x_0+nh=1.2when h=0.1 and h=0.05, we will implement a C program using Euler's method resulting in, for h=0.1:

#include<stdio.h>

float fun(float x, float y)

{

  float f;

  f=2x+3y+1;

  return f;

}

main()

{

   float a,b,x,y,h,t,k;

   printf("\ Enter x0,y0,h,xn:");

   scanf("% f % f % f % f ", & a, &b, &h, &t);

   x=a;

   y=b;

   printf("\n x\t y\n");

   while (x<=t)

{

   k=h*fun(x,y);

   x=x+h;

   y=y+k;

   printf("%0.3f\%0.3f\n",x,y);

}

}

Using initial values x0=1, y0=9, h=0.1, and xn=1.2, we reach results, y(1.2)=15.920.

Subsequently, using values x0=1, y0=9, with h=0.05, and xn=1.2 yields y(1.2)=16.523.

You might be interested in
Manuel wants to go snowboarding with his friends. The closest ski and snowboard resort is approximately 20 miles west and 50 mil
PIT_PIT [12445]

Answer:

Step-by-step explanation:

First, we apply the Pythagorean theorem to determine the distance from Manuel’s home to the resort.

S1 = √50²+20²

S1 = √2500+400

S1 = √2900

S1 = 53.85m

Next, we find the distance from Manuel's home to his friend’s residence.

S2 = √15²+10²

S2 = √225+100

S2 = √325

S2 = 18.03m

The distance between the two boys and the resort will be represented as ∆S = S2 - S1.

∆S = 53.84 - 18.03

∆S = 35.81m

5 0
2 months ago
Eli is thinking of two numbers. If you add them, the answer is 13. If you subtract them, the answer is 3. What is one of the two
Svet_ta [12734]
Subtract 3 from the sum and then divide by 2. One number is 5 and the other is 8.
7 0
2 months ago
Other questions:
  • One hundred teachers attended a seminar on mathematical problem solving. The attitudes of representative sample of 12 of the tea
    9·1 answer
  • The final score of a figure skating competition is determined by finding the average of six judges' scores. Write a formula for
    5·2 answers
  • An urn contains two blue balls (denoted B1 and B2) and three white balls (denoted W1, W2, and W3). One ball is drawn, its color
    15·1 answer
  • Tia made a scale drawing of the White House for her history project. The actual length of the building is 168 feet, and its widt
    8·2 answers
  • Suppose a given control unit fails, on average, every 12,000 hours. It takes an average of 900 hours to repair and reboot this u
    10·1 answer
  • Victoria set a goal for the number of boxes of Girl Scout Cookies she wants to sell. So far, she has sold 33 boxes. If this is n
    6·1 answer
  • Each day Julian gives his dog, Banjo, 3 liters of water and 500 grams of food. Julian wants to track the total amount of the foo
    5·2 answers
  • Sal bought 2 shirts and a hat. Sal remembers each shirt was $10, and the total was $50. Which equation helps answer the question
    9·1 answer
  • The coach of a college basketball team records the resting pulse rates of the team's players. A confidence interval for the mean
    6·1 answer
  • 2. Starting at a fixed time, each car entering an intersection is observed to see whether it turns left (L), right (R), or goes
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!