How to write R function to evaluate g(λ) for vector argument λ, using the inbuilt R function gamma to evaluate the gamma function where, g(λ) = Γ(1+3/λ) – 3Γ(1+1/λ)Γ(1+2/λ) + 2(Γ(1+1/λ))^3 < 0
and use the function to produce a plot of g(λ) in the range of λ in [2,10].