thank you! I'm sorry, I didn't find it

It is better, but it isn't exactly..the first example was bad, sorry
better example:
a=3m
b=4m
c=(a^2+b^2)^(1/2)=(3^2+4^2)^(1/2)=5m
I want only numbers without units in equation and result with unit..do you know some plugin that can do it this way? or it will not work?