ad8253 instrumentation amp

hi,

I used ad8253 instrumentation amplifier.I require following points are about ad8253

1.output voltage formula of ad8253 with using ref terminal

2.here "ref terminal " purpose