import math


def normal_lh(ho, ha, x):

	"""
	Returns likelihood ratio for indepedently distributed normal variables.
	Parameters
	----------
	ho : float
	   null hypothesis 
	ha : float
	   alternative hypothesis  
	x : float or int
	   value of most recent sample
	Returns
	-------
	float
	   likelihood of model
	"""
	null_lh = math.exp(-((x - ho)**2))
	alt_lh = math.exp(-((x - ha)**2))

	return alt_lh / null_lh