ファイル:Osculating circles of the Archimedean spiral.svg

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (SVG ファイル、1,000 × 1,000 ピクセル、ファイルサイズ: 108キロバイト)

    このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。

    概要

    解説
    English: Osculating circles of the Archimedean spiral. "The spiral itself is not not drawn: we see it as the locus of points where the circles are especially close to each other." [1]
    日付
    原典 投稿者自身による著作物
    作者 Adam majewski
    その他のバージョン
    SVG 開発
    InfoField
     このSVGのソースコードは正しい。
     この ベクター画像はgnuplotで作成されました。
      このSVGファイルは埋込み文を用いており、テキストエディタを用いて容易に翻訳することができます。

    概要

    Math equations

    Point zt of an Archimedean spiral for angle t

      xt=f(t)=t∗cos(t)
    
      yt=g(t)=t∗sin(t)
    
     zt=xt+yt∗i
    


    The curvature of Archimedes' spiral is

    K(t)=2+t2(1+t2)3/2

    Radius of osculating circle is[2]

    R(t)=1|K(t)|

    Center of osculating circle is


     zc,t=xc,t+yc,t∗i
    
     xc,t=f−(f'2+g'2)g′f'2g″−f″g′
    


     yc,t=g+(f'2+g'2)f′f'2g″−f″g′
    

    where

    • f=f(t)
    • f′=dfdt(t) is first derivative
    • f'2=f′∗f′
    • f″ is a second derivative

    notes

    Program computes 130 values of angle ( list tt) from 1/5 to 26:

     [1/5,2/5,3/5,4/5,1,6/5,7/5,8/5,9/5,2,11/5,12/5,13/5,14/5,3,16/5,17/5,18/5,19/5,4,21/5,22/5,23/5,24/5,5,26/5,27/5,28/5,29/5,6,31/5,32/5,
            33/5,34/5,7,36/5,37/5,38/5,39/5,8,41/5,42/5,43/5,44/5,9,46/5,47/5,48/5,49/5,10,51/5,52/5,53/5,54/5,11,56/5,57/5,58/5,59/5,12,61/5,62/5,
            63/5,64/5,13,66/5,67/5,68/5,69/5,14,71/5,72/5,73/5,74/5,15,76/5,77/5,78/5,79/5,16,81/5,82/5,83/5,84/5,17,86/5,87/5,88/5,89/5,18,91/5,92/5,
            93/5,94/5,19,96/5,97/5,98/5,99/5,20,101/5,102/5,103/5,104/5,21,106/5,107/5,108/5,109/5,22,111/5,112/5,113/5,114/5,23,116/5,117/5,118/5,
            119/5,24,121/5,122/5,123/5,124/5,25,126/5,127/5,128/5,129/5,26]
    


    For each angle t computes circle ( list for draw2d). It gives a new list Circles

     Circles : map (GiveCircle, tt)$ 
    

    Command draw2d takes list Circles and draw all circles. Commands from draw package accepts list as an input.

    Algorithm

    • compute a list of angles
    • For each angle t from list tt compute a point zt
    • for each point zt compute and draw osculating circle

    Maxima CAS src code

    /*
    
    
    http://mathworld.wolfram.com/OsculatingCircle.html
    The osculating circle of a curve C at a given point  P 
    is the circle that has the same tangent as C at point P as well as the same curvature. 
    
    
    
    https://en.wikipedia.org/wiki/Archimedean_spiral
    https://www.mathcurve.com/courbes2d.gb/archimede/archimede.shtml
    
    https://www.mathcurve.com/courbes2d.gb/enveloppe/enveloppe.shtml
    
    the osculating circles of an Archimedean spiral. There is no need to trace the envelope...
    
    http://xahlee.info/SpecialPlaneCurves_dir/ArchimedeanSpiral_dir/archimedeanSpiral.html
    
    The tangent circles of Archimedes's spiral are all nested. need to proof that archimedes spiral's osculating circles are nested inside each other.
    
    https://arxiv.org/abs/math/0602317
    https://www.researchgate.net/publication/236899971_Osculating_Curves_Around_the_Tait-Kneser_Theorem
    
    
    
    Osculating Curves: Around the Tait-Kneser Theorem
    March 2013The Mathematical Intelligencer 35(1):61-66
    DOI: 10.1007/s00283-012-9336-6
    Elody GhysElody GhysSerge TabachnikovSerge TabachnikovVladlen TimorinVladlen Timorin
    
    Osculating circles of a spiral. The spiral itself is not not drawn:
    we see it as the locus of points where the circles are especially close to each
    other.
    
    
    
    
    https://math.stackexchange.com/questions/568752/curvature-of-the-archimedean-spiral-in-polar-coordinates
    
    ===============
    Batch file for Maxima CAS
    save as a a.mac
    run maxima : 
     maxima
    and then : 
    batch("a.mac");
    
    
    
    
    */
    
    
    kill(all);
    remvalue(all);
    ratprint:false;
    
    
    /* ---------- functions ---------------------------------------------------- */
    
    
    
    
    /* 
    converts complex number z = x*y*%i 
    to the list in a draw format:  
    [x,y] 
    */
    draw_f(z):=[float(realpart(z)), float(imagpart(z))]$
    
    /* give Draw List from one point*/
    dl(z):=points([draw_f(z)])$
    
    ToPoints(myList):= points(map(draw_f , myList))$
    
    
    
    
    
    
    
    
    f(t):= t*cos(t)$
    g(t) :=t*sin(t)$
    
    
    define(fp(t), diff(f(t),t,1));
    define(fpp(t),	diff(f(t),t,2));
    define(gp(t), diff(g(t),t,1));
    define(gpp(t), diff(g(t),t,2));
    
    
    /* 
     point of the Archimedean spiral
     
     
     
     t is angle in turns 
     1 turn = 360 degree = 2*Pi radians 
     
     
    */
    give_spiral_point(t):= f(t)+ %i*g(t)$
    
    
    /* The curvature of Archimedes' spiral is
    http://mathworld.wolfram.com/ArchimedesSpiral.html
    
     */
    GiveCurvature(t) := (2+t*t)/sqrt((1+t*t)*(1+t*t)*(1+t*t)) $
    
    
    GiveRadius(t):= float(1/GiveCurvature(t));
    /*
    center of The osculating circle of a curve C at a given point  P = give_spiral_point(t)
    */
    GiveCenter(T):= block(
    	[x, y,f_, f_p, f_pp, g_, g_p, g_pp, n, d ],
    	f_ : f(T),
    	f_p : fp(T),
    	f_pp : fpp(T),
    	g_ : g(T),
    	g_p : gp(T),
    	g_pp : gpp(T),
    	n : f_p*f_p + g_p*g_p, 
    	d : f_p*g_pp - f_pp*g_p,
    	x: f_ - g_p*n/d,
    	y: g_ + f_p* n/d,
    	return ( x+y*%i)
    	
    )$
    
    
    GiveCircle(T):= block(
    	[Center, Radius],
    	Center : GiveCenter(T),
    	Radius : GiveRadius(T),
    	return(ellipse (float(realpart(Center)), float(imagpart(Center)), Radius, Radius, 0, 360))
    
    )$ 
    
    
    
    
    
    /* compute */
    
    iMin:1;
    iMax:130;
    id:5;
    
    tt: makelist(i/id, i, iMin, iMax)$
    
    zz: map(give_spiral_point, tt)$ /* points of the spiral */
    
    Circles : map (GiveCircle, tt)$
    
    /* convert lists  to draw format */
    points: ToPoints(zz )$
    
    
    
    /* draw lists using draw package */
    
    path:"~/maxima/batch/spiral/ARCHIMEDEAN_SPIRAL/a2/"$ /*  pwd, if empty then file is in a home dir , path should end with "/" */
    
    /* draw it using draw package by */
    
     load(draw); 
    /* if graphic  file is empty (= 0 bytes) then run draw2d command again */
    
     draw2d(
      user_preamble="set key top right; unset mouse",
      terminal  = 'svg,
      file_name = sconcat(path,"spiral_rc13_", string(iMin),"_", string(iMax)),
      font_size = 13,
      font = "Liberation Sans", /* https://commons.wikimedia.org/wiki/Help:SVG#Font_substitution_and_fallback_fonts */
      title= "Osculating circles of the Archimedean spiral.\ The spiral itself is not not drawn: we see it as the locus of points where the circles are especially close to each other.",
        
      dimensions = [1000, 1000],
      /* points  of the spiral, if you want to check 
      point_type    = filled_circle,
      point_size    = 1,
      points_joined = true,
      points,*/
      /* circles */
      key = "",
      line_width = 1,
      line_type = solid,
      border = true, 
      nticks = 100, 
      color = red,
      fill_color = white,
      transparent = true,
      Circles
      
      
      
      )$
      
    
    

    ライセンス

    この作品の著作権者である私は、この作品を以下のライセンスで提供します。
    w:ja:クリエイティブ・コモンズ
    表示 継承
    このファイルはクリエイティブ・コモンズ 表示-継承 4.0 国際ライセンスのもとに利用を許諾されています。
    あなたは以下の条件に従う場合に限り、自由に
    • 共有 – 本作品を複製、頒布、展示、実演できます。
    • 再構成 – 二次的著作物を作成できます。
    あなたの従うべき条件は以下の通りです。
    • 表示 – あなたは適切なクレジットを表示し、ライセンスへのリンクを提供し、変更があったらその旨を示さなければなりません。これらは合理的であればどのような方法で行っても構いませんが、許諾者があなたやあなたの利用行為を支持していると示唆するような方法は除きます。
    • 継承 – もしあなたがこの作品をリミックスしたり、改変したり、加工した場合には、あなたはあなたの貢献部分を元の作品とこれと同一または互換性があるライセンスの下に頒布しなければなりません。

    see also

    references

    1. ↑ Osculating curves: around the Tait-Kneser Theoremby E. Ghys, S. Tabachnikov, V. Timorin
    2. ↑ mathworld.wolfram : OsculatingCircle

    キャプション

    このファイルの内容を1行で記述してください
    Osculating circles of the Archimedean spiral

    このファイルに描写されている項目

    題材

    27 5 2019

    ファイルの履歴

    過去の版のファイルを表示するには、その版の日時をクリックしてください。

    日時サムネイル寸法利用者コメント
    現在の版2023年2月23日 (木) 22:232023年2月23日 (木) 22:23時点における版のサムネイル1,000 × 1,000 (108キロバイト)wikimediacommons>Mrmw

    このファイルを使用しているページはありません。