MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

a strange conic based pseudosphere like surface

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49681] a strange conic based pseudosphere like surface
  • From: "Roger L. Bagula" <rlbtftn at netscape.net>
  • Date: Tue, 27 Jul 2004 07:01:30 -0400 (EDT)
  • Reply-to: tftn at earthlink.net
  • Sender: owner-wri-mathgroup at wolfram.com

I originally did this on a c64 about 1979 or so
when I was studying conic sections.
(***********************************************************************

                     Mathematica-Compatible Notebook

This notebook can be used on any computer system with Mathematica 3.0,
MathReader 3.0, or any compatible application. The data for the notebook
starts with the line of stars above.

To get the notebook into a Mathematica-compatible application, do one of
the following:

* Save the data starting with the line of stars above into a file
   with a name ending in .nb, then open the file inside the application;

* Copy the data starting with the line of stars above to the
   clipboard, then use the Paste menu command inside the application.

Data for notebooks contains only printable 7-bit ASCII and can be
sent directly in email or through ftp in text mode.  Newlines can be
CR, LF or CRLF (Unix, Macintosh or MS-DOS style).

NOTE: If you modify the data for this notebook not in a Mathematica-
compatible application, you must delete the line below containing the
word CacheID, otherwise Mathematica-compatible applications may try to
use invalid cache data.

For more information on notebooks and Mathematica-compatible
applications, contact Wolfram Research:
   web: http://www.wolfram.com
   email: info at wolfram.com
   phone: +1-217-398-0700 (U.S.)

Notebook reader applications are available free of charge from
Wolfram Research.
***********************************************************************)

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[      6087,        215]*)
(*NotebookOutlinePosition[      6958,        243]*)
(*  CellTagsIndexPosition[      6914,        239]*)
(*WindowFrame->Normal*)



Notebook[{
Cell[BoxData[
     \(\( (*\
       biconic\  : \
         Pseudosphere\ like\ surface\ with\ a\ double\ singular\ tail*) 
\n (*\
       by\ Roger\ L . \ Bagula\ 26\ July\ 2004  \[Copyright]*) \)\)], 
"Input"],

Cell[CellGroupData[{

Cell[BoxData[{
     \(Clear[f, g, h, k, j, i, e, t]\),
     \(e = p\),
     \(x = Cos[t]/Sqrt[Abs[e/\((1 + e*Cos[t])\)\ e/\((1 - 
e*Cos[t])\)]]\n\),
     \(y = Sin[t]/Sqrt[Abs[e/\((1 + e*Cos[t])\)\ e/\((1 - 
e*Cos[t])\)]]\)}],
   "Input"],

Cell[BoxData[
     \(p\)], "Output"],

Cell[BoxData[
     \(Cos[t]\/\@Abs[p\^2\/\(\((1 - p\ Cos[t])\)\ \((1 + p\ 
Cos[t])\)\)]\)],
   "Output"],

Cell[BoxData[
     \(Sin[t]\/\@Abs[p\^2\/\(\((1 - p\ Cos[t])\)\ \((1 + p\ 
Cos[t])\)\)]\)],
   "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
     \(z = e\)], "Input"],

Cell[BoxData[
     \(p\)], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
     \(ga =
       ParametricPlot3D[{x, y, \(-z\)}, {p, \(-Pi\), Pi}, {t, \(-Pi\), 
Pi}\ ,
         Axes -> False, Boxed -> False, PlotPoints -> 2*66]\)], "Input"],

Cell[BoxData[
     TagBox[\(\[SkeletonIndicator]  Graphics3D  \[SkeletonIndicator]\),
       False,
       Editable->False]], "Output"]
}, Open  ]],

Cell["\<\
selectgraphics3d[graphics3dobj_,bound_,opts___]:=
            Show[Graphics3D[Select[graphics3dobj,
        (Abs[#[[1,1,1]]] < bound &&  Abs[#[[1,1,2]]] < bound &&
         Abs[#[[1,1,3]]] < bound &&  Abs[#[[1,2,1]]] < bound &&
         Abs[#[[1,2,2]]] < bound &&  Abs[#[[1,2,3]]] < bound &&
         Abs[#[[1,3,1]]] < bound &&  Abs[#[[1,3,2]]] < bound &&
         Abs[#[[1,3,3]]] < bound &&  Abs[#[[1,4,1]]] < bound &&
         Abs[#[[1,4,2]]] < bound &&  Abs[#[[1,4,2]]] < bound
       )&]],opts]\
\>", "Input",
   PageWidth->Infinity,
   InitializationCell->True,
   ShowSpecialCharacters->False,
   FormatType->InputForm],

Cell["\<\

\
\>", "Input",
   PageWidth->Infinity,
   InitializationCell->True,
   ShowSpecialCharacters->False,
   FormatType->InputForm],

Cell["  dip[ins_][g_]:=$DisplayFunction[Insert[g,ins,{1,1}]]", "Input",
   PageWidth->Infinity,
   InitializationCell->True,
   ShowSpecialCharacters->False,
   FormatType->InputForm],

Cell[CellGroupData[{

Cell["\<\


   selectgraphics3d[ga[[1]],8,
       Boxed->False,ViewPoint->{2.9,-1.4,1.2},
    DisplayFunction->dip[EdgeForm[]]]

\
\>", "Input",
   PageWidth->Infinity,
   InitializationCell->True,
   ShowSpecialCharacters->False,
   FormatType->InputForm],

Cell[BoxData[
     TagBox[\(\[SkeletonIndicator]  Graphics3D  \[SkeletonIndicator]\),
       False,
       Editable->False]], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
     \(\(\ selectgraphics3d[ga[\([1]\)], 8, \n\ \ \ \ \ \ Boxed -> False,
       ViewPoint -> {\(-2.9\), 0, 0}, \n\ \ \ \ \n\ \ \ \ \ \
       DisplayFunction -> dip[EdgeForm[]]]\)\)], "Input"],

Cell[BoxData[
     TagBox[\(\[SkeletonIndicator]  Graphics3D  \[SkeletonIndicator]\),
       False,
       Editable->False]], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
     \(\(\ selectgraphics3d[ga[\([1]\)], 8, \n\ \ \ \ \ \ Boxed -> False,
       ViewPoint -> {2.9, 0, 0}, \n\ \ \ \ \n\ \ \ \ \ \
       DisplayFunction -> dip[EdgeForm[]]]\)\)], "Input"],

Cell[BoxData[
     TagBox[\(\[SkeletonIndicator]  Graphics3D  \[SkeletonIndicator]\),
       False,
       Editable->False]], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
     \(selectgraphics3d[ga[\([1]\)], 8, \n\ \ \ \ \ \ Boxed -> False,
       ViewPoint -> {0.001, \ 0.045, \ 3.384}, \n\ \n\ \ \ \ \ \
       DisplayFunction -> dip[EdgeForm[]]]\)], "Input"],

Cell[BoxData[
     TagBox[\(\[SkeletonIndicator]  Graphics3D  \[SkeletonIndicator]\),
       False,
       Editable->False]], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
     \(selectgraphics3d[ga[\([1]\)], 8, \n\ \ \ \ \ \ Boxed -> False,
       ViewPoint -> {0.001, \ 3.384, \ 0.045}, \n\ \n\ \ \ \ \ \
       DisplayFunction -> dip[EdgeForm[]]]\)], "Input"],

Cell[BoxData[
     TagBox[\(\[SkeletonIndicator]  Graphics3D  \[SkeletonIndicator]\),
       False,
       Editable->False]], "Output"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
     \(selectgraphics3d[ga[\([1]\)], 8, \n\ Boxed -> False, \n\ \ \n
       \ \ \ \ \ \ DisplayFunction -> dip[EdgeForm[]]]\)], "Input"],

Cell[BoxData[
     TagBox[\(\[SkeletonIndicator]  Graphics3D  \[SkeletonIndicator]\),
       False,
       Editable->False]], "Output"]
}, Open  ]]
},
FrontEndVersion->"Macintosh 3.0",
ScreenRectangle->{{0, 1920}, {0, 1060}},
AutoGeneratedPackage->None,
WindowSize->{972, 859},
WindowMargins->{{Automatic, 399}, {Automatic, 56}},
MacintoshSystemPageSetup->"\<\
00/0001804P000000_@2@?olonh35@9B7`<5:@?l0040004/0B`000003509H04/
02d5X5k/02H20@4101P00BL?00400@0000000000000000010000000000000000
0000000000000002000000@210D00000\>"
]


(***********************************************************************
Cached data follows.  If you edit this Notebook file directly, not using
Mathematica, you must remove the line containing CacheID at the top of
the file.  The cache data will then be recreated when you save this file
from within Mathematica.
***********************************************************************)

(*CellTagsOutline
CellTagsIndex->{}
*)

(*CellTagsIndex
CellTagsIndex->{}
*)

(*NotebookFileOutline
Notebook[{
Cell[1709, 49, 205, 4, 43, "Input"],

Cell[CellGroupData[{
Cell[1939, 57, 235, 5, 91, "Input"],
Cell[2177, 64, 35, 1, 26, "Output"],
Cell[2215, 67, 102, 2, 68, "Output"],
Cell[2320, 71, 102, 2, 68, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[2459, 78, 38, 1, 27, "Input"],
Cell[2500, 81, 35, 1, 26, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[2572, 87, 175, 3, 27, "Input"],
Cell[2750, 92, 132, 3, 26, "Output"]
}, Open  ]],
Cell[2897, 98, 624, 14, 147, "Input",
   InitializationCell->True],
Cell[3524, 114, 134, 7, 42, "Input",
   InitializationCell->True],
Cell[3661, 123, 179, 4, 27, "Input",
   InitializationCell->True],

Cell[CellGroupData[{
Cell[3865, 131, 250, 12, 117, "Input",
   InitializationCell->True],
Cell[4118, 145, 132, 3, 26, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[4287, 153, 206, 3, 75, "Input"],
Cell[4496, 158, 132, 3, 26, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[4665, 166, 201, 3, 75, "Input"],
Cell[4869, 171, 132, 3, 26, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[5038, 179, 203, 3, 75, "Input"],
Cell[5244, 184, 132, 3, 26, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[5413, 192, 203, 3, 75, "Input"],
Cell[5619, 197, 132, 3, 26, "Output"]
}, Open  ]],

Cell[CellGroupData[{
Cell[5788, 205, 148, 2, 75, "Input"],
Cell[5939, 209, 132, 3, 26, "Output"]
}, Open  ]]
}
]
*)




(***********************************************************************
End of Mathematica Notebook file.
***********************************************************************)


Respectfully, Roger L. Bagula
tftn at earthlink.net, 11759Waterhill Road, Lakeside,Ca 92040-2905,tel: 
619-5610814 :
URL :  http://home.earthlink.net/~tftn
URL :  http://victorian.fortunecity.com/carmelita/435/


  • Prev by Date: a 6 star measure 3d surface
  • Next by Date: 3d implicit surface based on Dr. Grim's 3d fuzzy logic
  • Previous by thread: a 6 star measure 3d surface
  • Next by thread: 3d implicit surface based on Dr. Grim's 3d fuzzy logic