Is there any way I can use my iPhone as?

Is there any way I can use my iPhone 3GS as a internet provider to my computer? I have no internet at home but there's free Wi-Fi where I can connect from my iPhone 3GS but can I use my iPhone to have internet on my pc via the USB cable? If I can, explain me HOW I can do it.

Why don't you just connect your computer to the Wi-Fi? Can your computer not do this?

Also, there's no way to share somebody else's Wi-Fi via a phone. The only thing you can do is share your phone's mobile data which is very expensive. It will eat up your monthly allotted data and companies charge you an extra $30 a month just to use this ability. HOWEVER, the 3Gs does NOT have this capability. So there's no way for your phone to do this.

Sorry.

Hope this helped!