c++ code help

nicromonicon

Beta member
Messages
4
hi!
im trying to write a prog that solves an integral equation...
example:
integration of: (lnx)^m dx
formula = x*(lnx)^m - m*integration of:(lnx)^(m-1)
such that user enters value of (m) only..
for example if user enters 4..
sample run
x*(lnx)-4[x*(lnx)^3-3[x*(lnx)^2-2[x*(lnx)-x+c]]]
i tried doig it using for loop but didnt work.. :confused:
help me old guys :)
 
Back
Top Bottom