- #1
avaquake
- 2
- 0
i am very new in matlab. and i need to calculate the arc lengh. My equation is
arc length = integration of sqrt(d.*(k.^2-2).*sin(k.*t./2).^2 - d.*(k.^2-1).*sin(k.*t./2).^4 + 1); from 0 to 2.pi
where, d=(0:.1:1) and k=(0:1:10)
can anybody tell me whether it is possible to calculate this arc length using matlab. If possible can you suggest me the coding to write the script?
thanks.
arc length = integration of sqrt(d.*(k.^2-2).*sin(k.*t./2).^2 - d.*(k.^2-1).*sin(k.*t./2).^4 + 1); from 0 to 2.pi
where, d=(0:.1:1) and k=(0:1:10)
can anybody tell me whether it is possible to calculate this arc length using matlab. If possible can you suggest me the coding to write the script?
thanks.