Question

a) i. A numcrical scheme is known to perform best if the height of the uniform subinterval is small enough in the interval (0



Solve b and c only

0 0
Add a comment Improve this question Transcribed image text
Answer #1

b)

Ans- (b) -2 lon 1002- 2037 9 -272 t 1013 6 m2 diagonally The coefficient mateix is not dominant los Reawranging - 9 - + 10xa-and afperoximation 2 o-14 ) : ng 0 -979 Tь (2) С, 11 | ++ (ре+ 1); 2 [o •158)) (о с • Чеѕ (+ = (р. 1995). - о - 78 99 10 3udFor ut Let iteration Ax-b 0-79 - 105.16 0 1.7095 HAxb) for 2nd iteration Ar-b = -0.1595 -0.0638 o Ian-b/l = 0.1718 3ad iteratc)

x=0;
y=0;
z=0;
A=[10 -1 0;-1 10 -2;0 -2 10];
b=[9;7;6];
e=zeros(4,1);
for i=1:4
    x=(9+y)/10;
    y=(7+x+2*z)/10;
    z=(6+2*y)/10;
    X=[x;y;z];
    fprintf('%i th iteration gives:',i);
    fprintf("\n")
    disp(x);
    disp(y);
    disp(z);
    e(i)=norm(A*X-b)
end

    
Add a comment
Know the answer?
Add Answer to:
Solve b and c only a) i. A numcrical scheme is known to perform best if...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by...

    Please do question 5 for me. Thanks Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by hand the first four iterations with the Jacobi method, using x()0 Hint: for the ease of calculation, keep to rational fractions rather than decimals Question 2 For the same linear system as in Question 1, compute by hand the first three iterations (10 marks) with the Gauss Seidel method,...

  • Question 1 (10 marks) For a linear system Ax b with 1 0-1 A-1 2-1 2-13 and b4 18 compute by hand ...

    Question 1 (10 marks) For a linear system Ax b with 1 0-1 A-1 2-1 2-13 and b4 18 compute by hand the first four iterations with the Jacobi method, usg0 Hint: for the ease of calculation, keep to rational fractions rather than decimals. (10 marks) Question 2 For the same linear svstem as in Question 1. compute by hand the first three iterations with the Gauss Seidel method, us0 Hint: for the ease of calculation, keep to rational fractions...

  • just 1,2,4 Problem 1 Consider the linear system of equations Ax = b, where x €...

    just 1,2,4 Problem 1 Consider the linear system of equations Ax = b, where x € R4X1, and A= 120 b = and h= 0.1. [2+d -1 0 0 1 1 -1 2+d -1 0 h2 0 -1 2 + 1 Lo 0 -1 2+d] 1. Is the above matrix diagonally dominant? Why 2. Use hand calculations to solve the linear system Ax = b with d=1 with the following methods: (a) Gaussian elimination. (b) LU decomposition. Use MATLAB (L,...

  • A bar with a length of 1 m has a fixed temperature of 100°C at one...

    A bar with a length of 1 m has a fixed temperature of 100°C at one end and the = 0 a) other end is fixed to the temperature of 0°C, as shown in Figure 1. The one dimensional finite difference steady state temperature distribution along the bar is given by: Ti_1 - 27; +Ti+1 If the bar is divided into five equal segments, derive a set of four finite difference equations using Equation (1) for the temperature distribution along...

  • answer for all questions.... How do modern operating systems solve this? [3 marks] i) This is...

    answer for all questions.... How do modern operating systems solve this? [3 marks] i) This is a snapshot of a page table and a translation look aside buffer (TLB) of an operating system (Assume that these are the only populated entries). Toble 1: Page Table Entry Virtual Page Page Frame Time Loaded Time R bit M bit number Referenced 2 0 60 161 0 1 1 1 130 0 160 1 2 26 162 0 1 30 3 20 163...

  • Please solve on only PART 2 b) and c) , PART 1 is only for REFERENCE...

    Please solve on only PART 2 b) and c) , PART 1 is only for REFERENCE :) Part I: Ene concept of a percentile (equivalently, quantile) is very important in data analysis. It applies to both samples and distributions. So, let's get some wi practice with them, starting with the binomial distribution. In prelab, you learned that the function gbinom(p. size prob) gives the p-th quantile of the binomial distribution with parameters n - size and pi prob. tocus on...

  • PLEASE ONLY DO D IN MATLAB. I DID A B AND C, dont need them. Intro...

    PLEASE ONLY DO D IN MATLAB. I DID A B AND C, dont need them. Intro to Computers for Engineers Recitation 11 In today's class, we are modeling a spacecraft. Please submit all functions you write. Pay very careful attention to names. If you name a function differently from what you are instructed, things might not work. Test your code using the scripts siml.m and sim2.m before trying to submit on zyLabs. A. [Submit on zyLabs] Write a function that...

  • i know a b c d e but i dont know f g h i and j please solve only ' f g h i and j' thank u 4) Jaintpor f tue con...

    i know a b c d e but i dont know f g h i and j please solve only ' f g h i and j' thank u 4) Jaintpor f tue cont rand vas Xand 4 en(a) Answer the question (2) → fing)-xy oswa , os46ì a) Conpaile the arginl puf of X as in Is). c) Compate the conditional pdf fou (ug) asin 15).。 Compute consitrono why or why nat? on ef the random, variable is the...

  • CHEM-C 105 Principles of Chemistry I Summer Semester Practice Midterm Exam. 7? questions Note that questions are...

    CHEM-C 105 Principles of Chemistry I Summer Semester Practice Midterm Exam. 7? questions Note that questions are graded by answer only and work doesn't count HOW do You Aind 1. In which of the following are the masses given in the correct order? A. eg < mg <g< kg the Correct order 2 B. eg < g < kg < mg C. kg <g<eg < mg D. mg< eg<g< kg 2. For each of the diagrams above, determine how accurate...

  • Value for transmissivity is 185,location is B,flow rate is 20 Question 1: No-flow boundary conditions are implemented by: Question 2: Flow Calculation with no abstraction or rech...

    Value for transmissivity is 185,location is B,flow rate is 20 Question 1: No-flow boundary conditions are implemented by: Question 2: Flow Calculation with no abstraction or recharge m2/day m/day Condition 1 flow is Condition 2 flow is Question 3: Recharge or abstraction at a node is calculated by: Question 4: Water Level and Flows for Condition 1 are: Water level at pumping/recharge node Flow accross boundary AB Flow accross boundary CD ..,..) is m3/dayFlow accross boundary BC m/dayFlow accross boundary...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT