Given that the credit card has a 3.5% cash advance fee. The the cash advance fee on a cash advance of $2,790.00 is given by

Given that the card has an APR of 13%, the value of the cash advance at the end of the month is given by

Therefore, the amount due at the end of the month is given by $2,818.56 + $97.65 = $2,916.21