Possible Duplicate:
How are public & private keys in an address created?
I am scanning in a private key from a QR code in an app I am writting to handle the import of physical bitcoins.
Given a private key, how can I get the public key so that I can lookup its value on the block explorer?