In KhiCAS you can either enter expressions in inline notation or mathematical notation.
KhiCAS will normally start in the inline mode. But you can enter the mathematical mode by pressing F3 (view).
As an example, I will use 2x³ + x²
To create a function, you can either enter
<expression>=><name>
2*x^3+x^2=>f
or
<name>:=<expression>
f:=2*x^3+x^2
or
<name>(<variable>):=<expression>
f(x):=2*x^3+x^2
then you can enter
<expression>'
f'
or if you used an other variable than x
diff(<expression>,<variable>)
diff(f,x)
that will result in
2*3*x^2+2*x
to simplify this, you can use
<expression>=>/
or
simplify(<expression>)
then you'll get
6*x^2+2*x
which is the derivative of 3x^3+2x^2. Great!
To sum up:
f:=3*x^2+x^2
fd:=f'=>/
fd will contain the derivative now.
If you used
f(x):=2*x^3+x^2
results will look different:
(x)->6*x^2+2*x
the (x)->... means, that you can use f(x) like a normal function:
You can calculate f(5) by just typing it in.
If you didn't use f(x):=..., you can calculate f(5) by typing
f(x=5)
You can enter the arrow '=>' by pressing the button, the apostrophe ' by pressing F2 (calc) 1. The only way i know to get the colon ':' is by pressing Shift DEL and selecting it by hand. (There was another way in an earlier version, but I guess it was removed).
I hope that helps!
(And I don't need a tip, I'm happy if I can help people with calculator stuff)