Apply force to object on keypress

How do I apply a constant force to a rocket when the W key is pressed?

http://docs.unity3d.com/Documentation/Manual/Physics.html

Constant RelativeForce

Read up Dawg.

if(Input.GetKeydown(“w”){

rigidbody.AddRelativeForce(0f,0f,thrust,ForceMode.Acceleration)