My approach would remain the same. Just write u = bar(u) instead of u = k*10*u. I don’t see any problem with that.
u = bar(u)
u = k*10*u