function K = firstfunction(a,b,c) L = secondfunction(b,c) ; K = a+L ; function L = secondfunction(b,c) L = b+c ; disp(K) end end