Check my math please

n^(a + bi); n, a , b real
I got (n^a)[cos(b ln(n)) + i sin(b ln(n))] but something doesn’t look right about it.

It’s right.