definicije funkcija Gaussove i srednje zakrivljenosti

In[73]:=

ee[x_][u_, v_] := FullSimplify[D[x[uu, vv], uu] . D[x[uu, vv], uu]]/.{uuu, vvv}

In[74]:=

ff[x_][u_, v_] := FullSimplify[D[x[uu, vv], uu] . D[x[uu, vv], vv]]/.{uuu, vvv}

In[75]:=

gg[x_][u_, v_] := FullSimplify[D[x[uu, vv], vv] . D[x[uu, vv], vv]]/.{uuu, vvv}

In[76]:=

N0[x_][u_, v_] := FullSimplify[Cross[D[x[uu, vv], uu], D[x[uu, vv], vv]]/Sqrt[Cross[D[x[uu, vv ... , uu], D[x[uu, vv], vv]] . Cross[D[x[uu, vv], uu], D[x[uu, vv], vv]]]]/.{uuu, vvv}

In[77]:=

ll[x_][u_, v_] := FullSimplify[D[x[uu, vv], uu, uu] . N0[x][uu, vv]]/.{uuu, vvv}

In[78]:=

mm[x_][u_, v_] := FullSimplify[D[x[uu, vv], uu, vv] . N0[x][uu, vv]]/.{uuu, vvv}

In[79]:=

nn[x_][u_, v_] := FullSimplify[D[x[uu, vv], vv, vv] . N0[x][uu, vv]]/.{uuu, vvv}

In[80]:=

GZ[x_][u_, v_] := FullSimplify[(ll[x][uu, vv] * nn[x][uu, vv] - mm[x][uu, vv] * mm[x][uu, vv])/(ee[x][uu, vv] * gg[x][uu, vv] - ff[x][uu, vv] * ff[x][uu, vv])]/.{uuu, vvv}

In[81]:=

SZ[x_][u_, v_] := FullSimplify[1/2 (ee[x][uu, vv] * nn[x][uu, vv] - 2mm[x][uu, vv] * ff[x][uu, ...  vv])/(ee[x][uu, vv] * gg[x][uu, vv] - ff[x][uu, vv] * ff[x][uu, vv])]/.{uuu, vvv}

In[82]:=

K1[x_][u_, v_] := FullSimplify[SZ[x][u, v] - Sqrt[SZ[x][u, v]^2 - GZ[x][u, v]]] ;

In[83]:=

K2[x_][u_, v_] := FullSimplify[SZ[x][u, v] + Sqrt[SZ[x][u, v]^2 - GZ[x][u, v]]]


Created by Mathematica  (April 30, 2004)