I'm doing a simple numerical program.
But I can not use return of functions in Scilab can anyone help me?
The function has to solve a calculation and then return the value for this variable to continue to be manipulated by the program.
The main function is integral()
function funcao (x)
x^2
return F
endfunction
a=2
b=4
function integral()
x=(a+b)/2 *0,222
funcao(x)
disp(F)
endfunction