pls check whether my expression is correct or not
Ans:
References: https://www.cs.colostate.edu/~iray/teach/cs430/soln2
According to me this will also give right answer