Since there is no language specified I am writing the code in python.
Code

Output

The function y is defined as 2exp(x) 2 + x2 exp(-x) 1 + x2 y ifx > 0 Using a for loop or otherwise, (a) Determine the values of y in a vector called z for x values from -2 to 2 in steps of 0.2...
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)
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...
Let X be a random variable with probability density function 2 (r > 1 0 otherwise. (a) Compute F)-P(X ) (the cumulative distribution function) for 1. Note that F(x) 0 for 1 (b) Let u-F(z). Invert F(-) to obtain 2 marks [1 mark 3 marks) F-1 (u), (z as a function of Your function should have:- Input: n - Number of samples to be generated. . Output: x - (xi, x2,, n) A vector x of n values from the...
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...
(x2 + y2 + z?)1/2, and e, = r1(x, y, z) is the unit radial vector. Let F = r"e, where n is any number, r= (a) Calculate div(F). (2+n)"-1 (b) Calculate the flux of F through the surface of a sphere of radius R centered at the origin. 4TR"+2 F. ds, where C is a closed curve that does not pass through the origin? (c) What is the value of (d) A function o satisfying Ap = 0 is...
Consider the vector field F(x, y, z) = 8x^2 + 3y, −5x^2y − 4y^2, 6x^2 + 7y − 8 which is defined on all of double-struck R3, and let F be the rectangular solid region F = {(x, y, z) | 0 ≤ x ≤ a, 0 ≤ y ≤ b, −1 ≤ z ≤ 1} where a > 0 and b > 0 are constants. Determine the values of a and b that will make the flux of F...
Determine the absolute maximum and minimum values of the function f(x,y) = xy-exp(-xy) in the region {0<x<2} x {0 <y<b} where 1 <b< . Does the function possess a maximum value in the unbounded region {0 < x <2} x {y >0}?
2. Let the joint probability density function of (X, Y) be given by {ay otherwise. 1 and 0 < y < 2, f(z,y) (a) [6 pts] Determine if X and Y are independent. (b) [6 pts] Find P{X+Y <1) B( (c) [6 pts) Find
2. Let the joint probability density function of (X, Y) be given by {ay otherwise. 1 and 0
Figure 2 shows a wedge-shaped closed surface, defined by x + z = 1 and the planes x 0, y 0, y 1, and z 0. For the vector field 1 V xi+yzi+ zk, find the overall flux out of the wedge's surface using Gauss theorem. a) b) According to whether your answer to (a) was positive, negative, or K zero, provide an interpretation of the result.
Figure 2 shows a wedge-shaped closed surface, defined by x + z =...
1. Let the joint p.d.f of X and Y be 2xe if 0 < x < 1 and y > x2 fxy(z, y) 0, otherwise. (a) Find the marginal p.d.f.'s of X and Y, respectively (b) Compute P(Y < 2X2)
1. Let the joint p.d.f of X and Y be 2xe if 0