JavaScript Example

Enter speed of the source