Re: Normal Disappear Problem

• To: mathgroup at smc.vnet.net
• Subject: [mg55315] Re: Normal Disappear Problem
• From: "Valeri Astanoff" <astanoff at yahoo.fr>
• Date: Sat, 19 Mar 2005 04:45:16 -0500 (EST)
• References: <d1ecv2\$evi\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Rick,

In parametric mode there are often troublesome points.

Notice your normal is not normalized :

normal[u_, v_] := {Sin[v]^2 Cos[u], Sin[v]^2 Sin[u],
Cos[u]^2 Cos[v] Sin[v]+Sin[u]^2 Cos[v] Sin[v]};

normal[u,v].normal[u,v]//Simplify

Sin[v]^2

My way to tackle the exception (0,0) :

unitNormal[u_, v_] := normal[u,v] / Sqrt[normal[u,v].normal[u,v]];

unitNormal[0,0]

{Indeterminate,Indeterminate,Indeterminate}

Series[unitNormal[u,v],{u,0,1},{v,0,1}]//Normal

{v, u v, 1}

% /. u -> 0 /. v -> 0

{0, 0, 1}

Then let :
unitNormal[0,0] = {0,0,1}
and you're done.

hth

Valeri

```

• Prev by Date: Re: Distance from point to set
• Next by Date: Re: Writing result of "Do" in a single List
• Previous by thread: Re: Normal Disappear Problem
• Next by thread: Re: Normal Disappear Problem
{"ft_lang_label":"__label__en","ft_lang_prob":0.55375344,"math_prob":0.95800024,"size":859,"snap":"2019-35-2019-39","text_gpt3_token_len":315,"char_repetition_ratio":0.15321638,"word_repetition_ratio":0.0,"special_character_ratio":0.3830035,"punctuation_ratio":0.2648402,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99151874,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-09-16T17:32:56Z\",\"WARC-Record-ID\":\"<urn:uuid:308953e5-7e8d-4206-b96d-aa722e35d8c9>\",\"Content-Length\":\"42578\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a16cb4ae-8920-49e4-b184-97c0df0d048d>\",\"WARC-Concurrent-To\":\"<urn:uuid:af016b86-0066-4460-ac6b-f03f9b56e063>\",\"WARC-IP-Address\":\"140.177.205.73\",\"WARC-Target-URI\":\"http://forums.wolfram.com/mathgroup/archive/2005/Mar/msg00561.html\",\"WARC-Payload-Digest\":\"sha1:LCU7ZVRC4RPGIJMOZCEPFL7F6OFPWSPG\",\"WARC-Block-Digest\":\"sha1:SFWMNJ73OZNLF6A63LSUNO5FZ357NERR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-39/CC-MAIN-2019-39_segments_1568514572879.28_warc_CC-MAIN-20190916155946-20190916181946-00029.warc.gz\"}"}