User Portlet User Portlet

I would really like to establish communication between my Raspberry Pi and my BasicX (Basic Stamp), or I guess between Linux and a Basic Stamp). Anybody know how?
Thanks for the quick reply - I copied that equation from a video demonstrating mathematica on a Raspberry Pi (RPi) - I was very careful in copying it exactly. However, when I tried your example, above, it worked! I solved my problem with trig and...