Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

QUIZ 1

1. 2^51
2. NaN
3. 3fc999999999999a
4. clears the command window
5. X=[1:3]’;
6. ax.YLabel.Rotation=0;
7. (4 8 1 1)
8. 50
9. -1.9x10^8
10. xold=6.428577e-01
x=6.428568e-01

QUIZ 2

1. 2.25
2. 2.25
3. 2.20
4. Newton's method / secant method / bisection method
5. 8X10^-8
6. P=((SQRT5)+1)/2
7. ½+(SQRT3/2) i
8. (1,0.5)
9. r=fzero(@(v) sqrt(u0^2-v^2) - v*tan(v),v0)
10. 0

QUIZ 3

1. 2
2. B
3. 80sec
4. 23 sec
5. n(n2+1)
6. O(n)
7. 175
8. λ1=10.0099
9. x = U\(L\b)
10. a

QUIZ 4

1. hf(h/2)+(ch^3)/12
2. h/2(f(0)+f(h))-(ch^3)/6
3. h/3(f(0)+4f(h)+f(2h)-(12eh^5)/45
4. 7/2
5. Sqrt pi/2(f(−sqrt2/2)+f(sqrt2/2))
6. 0.0625
7. I=integral(@(x) func(x,a,b,c), 0, Inf)
8. g0(x)=2x, \quad g_1(x) = -(x-1) + 2g1(x)=−(x−1)+2
9. 3n−1
10. hn−1bn−2−(hn−1+hn−2)bn−1+hn−2bn=0
QUIZ 5

1. x(2Δt)=1+(Δt)^2
2. x(Δt)=1+1/2(Δt)^2
3. f(t,x)+αΔtft(t,x)+βΔtf(t,x)fx(t,x)
4. d
5. Modified Euler's method
6. the third-order method requires one less stage and the fifth-order method requires two more
stages.
7. 18
8. 0.0091917
9. C
10. F(ξ)=y′(xf)−yf′

QUIZ 6

1. The steady, laminar fluid flow over an aerofoil


2. D
3. B
4. Φk+nx−Φk=0
5. 20,000×20,000
6. 396
7. B
8. C
9. Doubled
10. the time step.

You might also like