THC, the active ingredient in marijuana, is said to have a half-life of about one day. If someone ingests 3 grams of THC, write an equation to represent M, the amount of marijuana in his system when he tested d days later.

M = 3*2^-d