MATLAB: Function Code ( Matlab )

code writingMATLAB

Hi,
F=(log ( ax2+bx+c )- sin(ax2+bx+c))/
4(pi number)*x2+cos(x-2)*(ax2+bx+c)
x=9, a=1, b=3,c=5
I can't write the code. Can you help me?

Best Answer

x=9 ;
a=1;
b=3 ;
c=5 ;
F = (log(a*x^2+b*x+c)-sin(a*x^2+b*x+c))/(4*pi*x^2+cos(x-2)*(a*x^2+b*x+c))
You must read about MATLAB basics.