how to calculate cash basis. There are any references about how to calculate cash basis in here. you can look below.