I was just wondering for this question if you can see anything wrong with it. The answer in the textbook is 220MPa but i get 193MPa
The correct answer is 193 MPa as you have written. I have used SkyCiv Beam software to confirm this. It's highly unlikely you are both wrong. The shaft is essentially a beam so it's fine to use beam software for this.