若sin²A+sin²C-sin²B=sinAsinC,且c=3a,则tanA