You may want to look a the following help modules for this module.
The screen below shows how to define the function
2 p, if p <= 1000;
f(p) = {
1.5 p, if 1000 < p.
on the TI-92 using the when statement.
You can investigate this function graphically and numerically in the usual way. For example, the screen below shows some nuemrical investigation of the two one-sided limits near p = 1000.