Difficulties in calculating limits in Wolfram|Alpha

Hi!

There is a function f(x) defined with rules:

f(x)=-3x if x>=5

f(x)=-(1/x) if x<5

how can I input these rules and calculate limits and show graphics of function?

Thank you so much.

.

f[x_] := Piecewise[{{-3 x, x >= 5}, {-1/x, x < 5}}]

Limit[f[x], x -> 4]

Plot[f[x], {x, 0, 10}]

Thanks, Mr. Bill. I appreciate your help.

Is possible type directly in wolfram alpha any sentence which could result instructions as Piecewise, or the only way is create an specific function?

Like this?

Limit of Piecewise in WolframAlpha

Awesome, Mr. Bill. Thanks a lot!