# I need help on this question Thanks 1. Let g(x) = x2 and h(x, y, z) =x+ y + z, and let f(x, y) be the function defined... I need help on this question Thanks

1. Let g(x) = x2 and h(x, y, z) =x+ y + z, and let f(x, y) be the function defined from g and f by primitive recursion. Compute the values f(1, 0), f(1, 1), f(1, 2) and f(5, 0). f(5, ). f(5, 2)

As we know recursion refers to function calling itself.

Example x+y

f(x,0)=x

f(x,y+1)=f(x,y)+1

f(1,0)=1

f(1,1)=f(1,0)+1=1+1=2

f(1,2)=f(1,1)+1=(f(1,0)+1)+1=1+1+1=3

f(5,0)=5

f(5,1)=f(5,0)+1=5+1=6

f(5,2)=f(5,1)+1=(f(5,0)+1)+1=5+1+1=7

Example g(x)=x^2

Compare x^2 with x^y

x^0=1

x^(y+1)=x^y*x

f(1,0)=1

f(1,1)=x^(0+1)=x^0*x=1*1=1

f(1,2)=x^(1+1)=(x^(0+1))*x=x^0*x*x=1*1*1=1

f(5,0)=1

f(5,1)=x^(0+1)=x^0*x=1*5=5

f(5,2)=x^(1+1)=(x^(0+1))*x=x^0*x*x=1*5*5=25

##### Add Answer of: I need help on this question Thanks 1. Let g(x) = x2 and h(x, y, z) =x+ y + z, and let f(x, y) be the function defined...
Similar Homework Help Questions
• ### Problem 1 Let gi(x, y, z)-y, 92(x, y, z)z and f(x, y, z) is a differential function We introduce ... Problem 1 Let gi(x, y, z)-y, 92(x, y, z)z and f(x, y, z) is a differential function We introduce F(x, y, z, A, )-f(x, y, z) - Xgi(x, y, z) - Hg2(x, y, 2). ·Show that the Lagrange system for the critical points off with constraints gi (x, y, z) = 92(x,y, z)0: F(zo, yo, 20, λο, μο)-(0, 0, 0, 0, 0) is equivalent to the one-dimensional critical point equation: df dr(ro, 0, 0) = 0, 30 = 20 =...

• ### (1) Let G(,y, z) = (x,y, z). Show that there exists no vector field A : R3 -> R3 such that curl(A) Hint: compute its... (1) Let G(,y, z) = (x,y, z). Show that there exists no vector field A : R3 -> R3 such that curl(A) Hint: compute its divergence G. (2) Let H R3 -> R3 be given as H(x,y, z) = (1,2,3). Find a vector potential A : R3 -> R3 such that curl(A) smooth function = H. Show that if A is a vector potential for H, then so is A+ Vf, for any f : R5 -> R (3) Let...

• ### using discrete structures 3. Consider the function F(x, y, z) for x, y, z z 0 defined as follows: a. F(x, y, 0)-y+1 b. F(x, 0, 1)-x c, F(x, 0, 2) = 0 d. F(x, 0, z+ 3)-1 e. F(x, y, z)-F(x, F(x, y-1, z... using discrete structures 3. Consider the function F(x, y, z) for x, y, z z 0 defined as follows: a. F(x, y, 0)-y+1 b. F(x, 0, 1)-x c, F(x, 0, 2) = 0 d. F(x, 0, z+ 3)-1 e. F(x, y, z)-F(x, F(x, y-1, z), z-1) Using Induction, prove the following a. F(x, y, 1)-x +y b, F(x, y, 2) = xy c. F(x, y, 3)-xy 3. Consider the function F(x, y, z) for x, y, z z 0 defined...

• ### 4. Let F(x,y) - PiQj be a smooth plane vector field defined for (x,y) f (0,0), and F - dr for int... 4. Let F(x,y) - PiQj be a smooth plane vector field defined for (x,y) f (0,0), and F - dr for integer j, and all suppose Q - Py for (z, y) (0,0). In the following L-JF dr for integer j, and all G are positively oriented circles. Suppose h = π where G is the circle x2 + y2-1. (a) Find 12 for G : (x-2)2 + y-1. Explain briefly. (b) Find Is for Cs: ( -2)y 9. Explain...

• ### Question 3 Let the function f be defined by f(x,y)--3y3 +4y2-15y +x2-8x. The set A consists of all points (x,y) in the... Question 3 Let the function f be defined by f(x,y)--3y3 +4y2-15y +x2-8x. The set A consists of all points (x,y) in the xy-plane that satisfy 0sx S 10, 0sy s10 and x +y28.Find the global minimum value of f(x,y) over the set A. (Hint: see example 8 in lecture 7.) (6 marks) Question 3 Let the function f be defined by f(x,y)--3y3 +4y2-15y +x2-8x. The set A consists of all points (x,y) in the xy-plane that satisfy 0sx S 10,...

• ### Let H be the hemisphere x2 + y2 + z2-42, z 0, and suppose f is a continuous function with杙1, 5, 4) = 8, patches, estimate the value below. (Round your answer to the nearest whole number.) ,-5, 4) =... Let H be the hemisphere x2 + y2 + z2-42, z 0, and suppose f is a continuous function with杙1, 5, 4) = 8, patches, estimate the value below. (Round your answer to the nearest whole number.) ,-5, 4) = 9, 杙-1, 5, 4) = 13, and杙ー1,-5, 4)-14. By dividing H into four (x, y, z) ds Let H be the hemisphere x2 + y2 + z2-42, z 0, and suppose f is a continuous function with杙1, 5, 4) =...

• ### Let the function f be defined by f(x,y)-- уз +4y2-15y + x2-8x . The set A consists of all points (x,y) in the xy-plane... Let the function f be defined by f(x,y)-- уз +4y2-15y + x2-8x . The set A consists of all points (x,y) in the xy-plane that satisfy 0sx s 10, 0sy s10 and x+y 28. Find the global minimum value of f(x,y) over the set A. (Hint: see Let the function f be defined by f(x,y)-- уз +4y2-15y + x2-8x . The set A consists of all points (x,y) in the xy-plane that satisfy 0sx s 10, 0sy s10 and x+y...

• ### 3. Let f(x, y, ). g(y,z) and h(x,y,z) be C2 scalar functions. Prove the following identity: (a) B... Please solve all parts in this problem neatly 3. Let f(x, y, ). g(y,z) and h(x,y,z) be C2 scalar functions. Prove the following identity: (a) By direct calculation (without using the vector identities) ( b) Using the vector identities. Clearly state which identities you have used . 3. Let f(x, y, ). g(y,z) and h(x,y,z) be C2 scalar functions. Prove the following identity: (a) By direct calculation (without using the vector identities) ( b) Using the vector identities. Clearly state...

• ### Implicit Function Theorem in Two Variables: Let g: R2 → R be a smooth function. Set {(z, y) E R2 ... Implicit Function Theorem in Two Variables: Let g: R2 → R be a smooth function. Set {(z, y) E R2 | g(z, y) = 0} S Suppose g(a, b)-0 so that (a, b) E S and dg(a, b)メO. Then there exists an open neighborhood of (a, b) say V such that SnV is the image of a smooth parameterized curve. (1) Verify the implicit function theorem using the two examples above. 2) Since dg(a,b) 0, argue that it suffices to...

• ### 2. Problem 2 Let g(z) be a differentiable function defined on is shown below. Also suppose that g... 2. Problem 2 Let g(z) be a differentiable function defined on is shown below. Also suppose that g(2)-3 realnumbers. The graph of its derivative, g'(z), g'(a) Also define the differentiable, odd function hz) on all real numbers. Some values of h(z) are given below 0 12 3 4 5 h(z 02-42 2 (a) Calculate each of the following quantities or, if there isn't enough information, explain why i. (g'(x) +2) dr i.h() da ii. (h'(z) +2z) dr iv. 8h(x) dr...

Need Online Homework Help?