as mentioned above not an easy job as you would need to remove roof tiles/ sheets, cappings, temporary support rafters, change rotted piece then make good everything again.
would be hard to quote so you will get scary prices the fairest and most economical way would be to get a good builder do it on hourly rate and crack the whip on him haha good luck with it