## Calculating the moment estimator of a parameter

I have this function y:

$$f(y)=y⋅e^{(−y/β)}$$

I need to find the moment estimator of β . α is given with α=2

This is what I did:

$$\bar{Y}=α/(α+β)=2/(2+β)=∑Yi/n$$

Solving that for β

and I get:

$$β=n/∑Yi$$

The correct answer is $$β=∑Yi/2n$$

Any help or guidance is appreciated.

## Calculating curvature of a contour

I have a equation of a scalar field in the form

f(x)=x^2+y^2+xy+c

I want to find the curvature of the contour of the curve at fc=f(0.5,0.5).

So I need to calculate the derivative dy/dx and d/dx(dy/dx)

I can solve the equation f(x,y)=fc and get the derivative of f(x,y) w.r.t x

On paper we do,

d/dx (f(x,y))=d/dx(fc) 2*x+2*y*(dy/dx)+y+x(dy/dx)=0 (dy/dx)=-(2*x+y)/(x+2*y) 

and further d/dx(dy/dx) for a curvature approximate

how can I rearrange the equation such that I can get the value of dy/dx on mathematica