. Consider the function v(r) r(r 1/2) (r-1) for r e (0, 1]. Determine the transformed...
3. Consider the function()x(x-1/2)(1) for z E 0,1]. Determine the transformed function u() introduced in the previous question. Show that | -1 u(E)dE-: 0. (Hint: you can do this without evaluating the function.) Determine the values of the midpoint rule,the simple trapezoidal rule (with two points) and of the Gaussian rule with 2 quadrature points. What do you observe about the accuracy of these rules? [10pts] 3. Consider the function()x(x-1/2)(1) for z E 0,1]. Determine the transformed function u() introduced...
Question 1 (Quadrature) [50 pts I. Recall the formula for a (composite) trapezoidal rule T, (u) for 1 = u(a)dr which requires n function evaluations at equidistant quadrature points and where the first and the last quadrature points coincide with the integration bounds a and b, respectively. 10pts 2. For a given v(r) with r E [0,1] do a variable transformation g() af + β such that g(-1)-0 and g(1)-1. Use this to transform the integral に1, u(z)dz to an...
3. (15p.) Approximate the following integral using the two-point Gaussian quadrature rule | (2 + a)*e¢8–1)-+de 2 B=1 ju a=8 0
1. The two-point forward difference quotient with error term is given by where ξ e ll, l + hl. In class we showed an additional error term appears to due to computer rounding error, e(r). Denoting (z) f(x) +e(x) as what the com- puter stores, and supposing f"(x)M and e() e where e, M are constants, we obtained an upper bound for the error between f(r) and the computed forward difference quotient 2c h Find the minimum value of the...
5. Let f a, b R be a 4 times continuously differentiable function. For n even, consider < tn = b, a to < t< an uniform partition of [a, b] with b- a , i = 0,1,.. , n - 1 h t Let T denote the composite Trapezoidal rule associated with the above partition which approx imates eliminate the term containing h2 in the asymptotic expansion. Interprete the result which you obtain as an appropriate numerical quadrature rule...
1. Solve the boundary value problem ut =-3uzzzz + 5uzz, u(z, 0) = r(z) (-00 < z < oo, t > 0), using direct and inverse Fourier transforms U(w,t)-홅启u(z, t) ei r dr, u(z,t)-二U( ,t) e ur d . You need to explain where you use linearity of Fourier transform and how you transform derivatives in z and in t 2. Find the Fourier transform F() of the following function f(x) and determine whether F() is a continuous function (a)...
(40 pts) 2a. Show that u(z) is the solution to the problem where k(x)-1 for x < 1/2 and k = 2 for x > 1 /2. 2b. Set up the weak form for the differential equation above and the resulting element stiffness and element load vector and calculate the element stiffness matrix and load vector for 4 quadratic elements by using the Gaussian quadrature that is going to exactly calculate the integrals Then set up the global K and...
Matrix operations 22. Suppose you are given a matrix of the form cos(() - sin(0) R(0) = sin() cos(0) Consider now the unit vector v = [1,0)" in a two dimensional plane. Compute R(O)v. Repeat your computations this time using w = [0, 1]". What do you observe? Try thinking in terms of pictures, look at the pair of vectors before and after the action of R(O). 23. You may have recognised the two vectors in the previous question to...
1. Let U C IRt be open, UR be a function, a U and 0 A v E R" such that Dof(a) exists. Show that DAvf(a) exists for every 0 λ E R, and DAwf(a-λDuf(a). 3 marks 1. Let U C IRt be open, UR be a function, a U and 0 A v E R" such that Dof(a) exists. Show that DAvf(a) exists for every 0 λ E R, and DAwf(a-λDuf(a). 3 marks