Matlab Code
x=linspace(0,pi);
f=x;
g=pi/2-(4/pi)*cos(x)-(4/9*pi)*cos(3*x);
plot(x,f,'b',x,g,'g')
Output
Let V-cy,"I with the inner pnduet urheo” _ 2.Cno,(r)dr. Yun are given that to.be fmeti mur)..mhr)...
4) Consider the inner product space P2(R), with inner product (a) Use the Gram-Schmidt process to construct an orthonormal basis from the basis (b) Using your answer to part (a), give the least squares approximation in P2(R) to the function f(x)on the interval [0, 1. Hint: You may use the following result without proof f Ine* dr = (-1)"(ane-n!), where ao = 1, an- | n. + | , for n-1, 2, ). 4) Consider the inner product space P2(R),...
q2 please (1) Evaluate the integral (r-1) min(a, y) dy dr, Jo Jo where min(x, y) is the minimum value of r and y. (2) Let f,g : R → R be functions of one variable such that f" and g" are continuous. Show that (f"(x)-g"(y)) dydx = f(0) + g(0)-f(2)-9(2) + 2f'(2) + 2g'(0). o Jo (3) Let a > 0. In spherical coordinates, a surface is defined by r = 2acos φ for 0 φ 1. Find the...
Problem 6. Let V be a vector space (a) Let (--) : V x V --> R be an inner product. Prove that (-, -) is a bilinear form on V. (b) Let B = (1, ... ,T,) be a basis of V. Prove that there exists a unique inner product on V making Borthonormal. (c) Let (V) be the set of all inner products on V. By part (a), J(V) C B(V). Is J(V) a vector subspace of B(V)?...
Let clo, π] := {f : [0, π] → R I f is continuous). With addition and scalar multiplication defined in the usual way, this is a vector space. Let the inner product on CO,T] be defined analogous to (21), that is, (me) :-o u(z)r(z) dz. sinx and g(x) = 2.2. Which is "bigger": f or g? (a) Let f(x) (b) g? xplain. (c) Find a nontrivial function in CIO, π], which is orthogonal to f. d) Find a nontrivial...
Problem 1. Let the inner prodct )be deined by (u.v)xu (x) v (x) dx, and let the norm |I-ll be defined by ull , ).Consider the target function f (x) with the approximating space P e', and work 2. Use Gram-Schmidt orthogonalization with this inner product to find orthogonal polynomials p (x) through degree four. Standardize your polynomials such that p, (1) 1 (b) Find the best degree 4 approximation to f(x) using the specified norm, and working with this...
(4) Evaluate the line integral F dr where C is the epicycloid with parametrization given by r(t) 5 cos t - gradient of the function f(x, y) = 3 sin(ry) + cos(y2) cos 5t and y(t) = 5 sin t - sin 5t for 0 < t < 2« and F is the (5) EvaluateF dr where F(x, y) with counterclockwise orientation (2y, xy2and C is the ellipse 4r2 9y2 36 _ F dr where F(r, y) = (x2 -...
QUESTION 9 Set up the iterated integral for evaluating S SS Fr, 0, 2) dz r dr de over the given region D. D D is the right circular cylinder whose base is the circle 1-2cose in the xy-plane and whose top lies in the plane 26-x-y. cos sin ) S" s2.com fit, 0, 2) dar dr de 0 sin e 6-sin-coso 52" s 'S ft , z) dar dr de so 0 0 0 0 2 cos 0 -pleos...
a) The power P dissipated in a resistor is given by P(V, R) = y, where V is the voltage and Ris the resistance. If V = 156 Vand R = 412, find the change AP in Pand its approximation dPresulting from a change SV = 2 Vin V and a change of SR= -0.1812 in R. 13 marks b) Calculate all first- and second-order partial derivatives of the function f(x, y, z) = xy: cos(yz2). 12 marks
Orthogonal projections. In class we showed that if V is a finite-dimensional inner product space and U-V s a subspace, then U㊥ U↓-V, (U 1-U, and Pb is well-defined Inspecting the proofs, convince yourself that all that was needed was for U to be finite- dimensional. (In fact, your book does it this way). Then answer the following questions (a) Let V be an inner product space. Prove that for any u V. if u 0, we have proj, Pspan(v)...
Exercice 1 We consider the function f(x) = 2 #0 and for r > 0. let S, = {€ C/2 = r} with positive orientation. For 0 < <R, we denote by r the curve consisting of SRUT-R,-€) US, UL, R), where S = {z E C/121 = } with negative orientation. 1. Prove that o = [513)dz = [5(=)dz + [s()de – [ (dz + 1" $(x)dr.