Arc Length
Some Approximations
> | with(plots): |
> | Int(sqrt(1+(cos(x))^2),x=0..2*Pi); |
> | int(sqrt(1+(cos(x))^2),x=0..2*Pi); |
> | ArcLength:=evalf(%); |
> | SineCurve:=plot([t,sin(t),t=0..2*Pi],thickness=3): |
> | segments:=Array(1..4): |
> | for i from 1 to 4 do segments[i]:=plot([(i-1)*2*Pi/4+t*2*Pi/4,sin((i-1)*2*Pi/4)+(sin(2*Pi*i/4)-sin(2*Pi*(i-1)/4))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..4)); |
> | sum(sqrt((2*Pi/4)^2+(sin(2*Pi*n/4)-sin(2*Pi*(n-1)/4))^2),n=1..4); |
> | evalf(%); |
> | ArcLength; |
> | segments:=Array(1..8): |
> | for i from 1 to 8 do segments[i]:=plot([(i-1)*2*Pi/8+t*2*Pi/8,sin((i-1)*2*Pi/8)+(sin(2*Pi*i/8)-sin(2*Pi*(i-1)/8))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..8)); |
> | sum(sqrt((2*Pi/8)^2+(sin(2*Pi*n/8)-sin(2*Pi*(n-1)/8))^2),n=1..8); |
> | evalf(%); |
> | ArcLength; |
> | segments:=Array(1..12): |
> | for i from 1 to 12 do segments[i]:=plot([(i-1)*2*Pi/12+t*2*Pi/12,sin((i-1)*2*Pi/12)+(sin(2*Pi*i/12)-sin(2*Pi*(i-1)/12))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..12)); |
> | sum(sqrt((2*Pi/12)^2+(sin(2*Pi*n/12)-sin(2*Pi*(n-1)/12))^2),n=1..12); |
> | evalf(%); |
> | ArcLength; |
> | segments:=Array(1..18): |
> | for i from 1 to 18 do segments[i]:=plot([(i-1)*2*Pi/18+t*2*Pi/18,sin((i-1)*2*Pi/18)+(sin(2*Pi*i/18)-sin(2*Pi*(i-1)/18))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..18)); |
> | sum(sqrt((2*Pi/18)^2+(sin(2*Pi*n/18)-sin(2*Pi*(n-1)/18))^2),n=1..18); |
> | evalf(%); |
> | ArcLength; |
> | segments:=Array(1..24): |
> | for i from 1 to 24 do segments[i]:=plot([(i-1)*2*Pi/24+t*2*Pi/24,sin((i-1)*2*Pi/24)+(sin(2*Pi*i/24)-sin(2*Pi*(i-1)/24))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..24)); |
> | sum(sqrt((2*Pi/24)^2+(sin(2*Pi*n/24)-sin(2*Pi*(n-1)/24))^2),n=1..24); |
> | evalf(%); |
> | ArcLength; |
> | segments:=Array(1..30): |
> | for i from 1 to 30 do segments[i]:=plot([(i-1)*2*Pi/30+t*2*Pi/30,sin((i-1)*2*Pi/30)+(sin(2*Pi*i/30)-sin(2*Pi*(i-1)/30))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..30)); |
> | evalf(sum(sqrt((2*Pi/30)^2+(sin(2*Pi*n/30)-sin(2*Pi*(n-1)/30))^2),n=1..30)); |
> | ArcLength; |
> |
> | segments:=Array(1..48): |
> | for i from 1 to 48 do segments[i]:=plot([(i-1)*2*Pi/48+t*2*Pi/48,sin((i-1)*2*Pi/48)+(sin(2*Pi*i/48)-sin(2*Pi*(i-1)/48))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..48)); |
> | evalf(sum(sqrt((2*Pi/48)^2+(sin(2*Pi*n/48)-sin(2*Pi*(n-1)/48))^2),n=1..48)); |
> | ArcLength; |
> | evalf(sum(sqrt((2*Pi/96)^2+(sin(2*Pi*n/96)-sin(2*Pi*(n-1)/96))^2),n=1..96)); |
> | evalf(sum(sqrt((2*Pi/192)^2+(sin(2*Pi*n/192)-sin(2*Pi*(n-1)/192))^2),n=1..192)); |
> | evalf(sum(sqrt((2*Pi/1000)^2+(sin(2*Pi*n/1000)-sin(2*Pi*(n-1)/1000))^2),n=1..1000)); |
> | evalf(sum(sqrt((2*Pi/10000)^2+(sin(2*Pi*n/10000)-sin(2*Pi*(n-1)/10000))^2),n=1..10000)); |
> | ArcLength; |
> | segments:=Array(1..6): |
> | for i from 1 to 6 do segments[i]:=plot([(i-1)*2*Pi/6+t*2*Pi/6,sin((i-1)*2*Pi/6)+(sin(2*Pi*i/6)-sin(2*Pi*(i-1)/6))*t,t=0..1],thickness=3,color=blue):end do: |
> | display(SineCurve,seq(segments[k],k=1..6)); |
> | evalf(sum(sqrt((2*Pi/6)^2+(sin(2*Pi*n/6)-sin(2*Pi*(n-1)/6))^2),n=1..6)); |
> | ArcLength; |
> |