4.The (p,q) hypergeometric function is defined as
where aj ∈ R, bl ∈ R and for any real value a we have that
(a)0 =1
(a)n =a(a + 1)(a + 2)···(a + n − 1), n ≥ 1.
So for example, we have that
0F0(;;x) = ex,
and if we have the Bessel function Jn(x) where
,
then we have
.
Write a program which computes the (p,q) hypergeometric function.
It should take as input vectors a and b where
a =(a1, a2, ··· , ap)
b =(b1, b2, ··· , bq)
and an evaluation point x. Note, your program should determine p and q using the length of a and b respectively. Make sure you vectorize your function. Make sure you make efficient use of recursion. Clearly explain the stopping criteria you choose and why you choose it. Test your code by comparing your results to those you would get using the “bessel plotter” code. Provide plots to explain your validation.
Then, using Matlab’s version of the functions as the “true” values, numerically prove the identities
Generate semi-log plots of the difference of the two functions over meshes on [−.5,.5] and argue why this shows the identities are true. Note, you may need to adapt your stopping condition to adequately answer this problem. Why does the validity of the series break down as x gets close to ±1? Again, provide plots to justify your answer and make sure to say something about the domain of definition of the functions you are trying to approximate.
We need at least 10 more requests to produce the answer.
0 / 10 have requested this problem solution
The more requests, the faster the answer.
4.The (p,q) hypergeometric function is defined as where aj ∈ R, bl ∈ R and for...
2. (10 points.) A rational number can be written as p / q, where p is an integer, q is an integer, and q does not equal 0. Suppose that r_o and r_i are rational numbers, and that r_o < r_i. Prove that there is a rational number u such that ro < u < ri. Your proof must be constructive, and your answer must briefly explain why it is constructive. (10 pouts. A n i na jn t er...
The general solution y(t, p. 6) to the wave equation on a disc of radius R with boundary condition v(t, R, 1) = 0 is given by vlt,0,0) = EE - ( ) [cos (ES) (Am.cos(nb) + Bu sin(no)) + (ME) (C..cos(no) + Dm (no) n=0 s=0 sin sin(ne)) 728 where Jn (2) is a Bessel function and x is the s'th root of In(x). (i) Derive the expressions for y and Oy/at at t = 0. (ii) Find all...
Problem 10.13. Recal that a polynomial p over R is an expression of the form p(x) an"+an--+..+ar +ao where each aj E R and n E N. The largest integer j such that a/ 0 is the degree of p. We define the degree of the constant polynomial p0 to be -. (A polynomial over R defines a function p : R R.) (a) Define a relation on the set of polynomials by p if and only if p(0) (0)...
Problem 5. Consider least squares polynomial approximation to f(x) = cos (nx) on x E [-1,1] using the inner product 1. In finding coefficients you will need to compute the integral By symmetry, an 0 for odd n, so we need only consider even n. (a) Make a change of variables and use appropriate identities to transform the integral for a to cos (Bcos 8)cos (ne) de (b) The Bessel function of even order, (x), can be defined by the...
Suppose you are facing two lotteries p and q, where the lotteries are defined over the set of outcomes X = {$1, $10, $25, $100}. The lotteries are defined as follows: p = (0.1, 0.25, 0.6, 0.05) q = (0.2, 0.4, 0.2, 0.2) (a) Suppose your utility function over outcomes is u(x) = ln(x). Calculate the expected utility of lottery p and of lottery q, then explain which lottery will be preferred. (3 points) (b) Now suppose your utility function...
BONUS QUESTION (2 MARKS): A rational function is defined by where m, n є NU0} such that not every coefficient qi İs 0 and f(z) is not defined at the values of r for which q(r) = 0. What 'special' choice(s) of q(r) will give the result that the set of all polynomial functions, p(x) P +Pn-1-1 form a subset of the rational functions (as defined above)?
VILPELLO P IU points) 4. A firm produces an output with the production function Q=KL, where Q is the number of units of output per hour when the firm uses K machines and hires L workers each hour. The marginal products for the production function are MPK = L and MP, = K. The price of K is 4 and the price of L is 2. The firm is currently using K =16 and just enough L (you have to...
Do A and used C as question say A. (This problem gives an explanation for the isomorphism R 1m(A) R"/1m(A'), where A, Q-IAP, with Q and P invertible.) Let R be a ring and let M, N, U, V be R-modules such that there existR module homomorphisms α : M N, β : u--w, γ: M-+ U and δ: N V such that the following diagram is commutative: (recall that commutativity of the diagram means that δ ο α γ)...
B. Let p and q be distinct positive prime numbers. Set a p+ (a) Find a monic polynomial f(x) EQlr of degree 4 such that f(a) 0. (b) Explain why part (a) shows that (Q(a):QS4 (c) Note: In order to be sure that IQ(α) : Q-4, we would need to know that f is irreducible. (Do not attempt it, though). Is it enough to show that f(x) has no rational roots? (d) Show V pg E Q(α). Does it follow...
1. An application in probability (a) A function p(q) is a probability measure if p(x) > 0VT E R and (r) dx = 1. We first show that p(x):= vino exp(-) is a probability measure. (1) Compute dr. (ii) Show that were dr = 1. (ii) (1pt) Conclude that pr(I) is a probability measure. (b) A random variable x(): R + R is an integrable function that assigns a numerical value, X(I), to the outcome of an experiment, I, with...