HDTenEightyP/NetNews huggingface dataset:
From: hibrown@sarah.albany.edu (Herb Brown)
Newsgroups: sci.math.symbolic
Subject: Re: MAPLE: Reading list of points from external file
Date: 17 Nov 92 14:34:35 GMT
Article-I.D.: sarah.1992Nov17.143435.14411
Distribution: sci.math.symbolic
Organization: State University of New York at Albany

In article <CHUCK.92Nov16190416@nimbus.drexel.edu> chuck@nimbus.drexel.edu (Wombozni Klik) writes:
>
>We here at Drexel are trying to do the same thing, that is, read in a
>set of data points from an external file. 
>Our idea (obviously not the best, but it could work) is to alter
>whatever program we're using to generate the data to write:
>
>x[1] := 3; y[1] := 10;
>x[2] := 4; y[2] := 31;
>...
>
>In Maple, we can read in this file, which defines the arrays x and y.
>Granted, you have to know this beforehand that you're going to put the
>file in Maple - you may even want to write a little program in the
>language of choice to reformat your data to the above. 
>
>Note: the file format is what would be produced with the 'save'
>command. By 'read'ing in the file, you let Maple know that it has
>data.
>
>Chuck
>
>
>--
>Chuck Browne                            | Frisbeetarianism: The belief that  
>Drexel University Department of Physics | when you die, your soul goes up
>chuck@nimbus.physics.drexel.edu         | on the roof and gets stuck.


Please excuse me if I'm not understanding what you are attempting, but if
you first convert your data to a list, then maple can use that list in any
way you wish, including plots.

Herb


-- 
Herb Brown  Math Dept  The Univ at Albany  Albany, NY 12222  (518) 442-4640
Director,                                          hibrown@math.albany.edu  
Computer Assisted Instruction in Mathematics       hibrown@csc.albany.edu
--------------------------------------------------------------------------
Newsgroups: sci.math.symbolic
From: jjcarett@daisy.uwaterloo.ca (Jacques Carette)
Subject: Re: Maple V Release 2
Keywords: Maple
Organization: University of Waterloo
Date: Fri, 20 Nov 1992 18:54:35 GMT

In article <1992Nov19.123922.7991@alf.uib.no> stromme@mi.uib.no (Stein Arild Stromme) writes:
>What about the grobner package? Is nothing new here? Still no other
>term orders than tdeg and plex? Please, Maple!

I'm working on it.  It should be ready soon, and I hope to make it available
through the Maple share library.

Jacques Carette
Product Developer
Waterloo Maple Software
Newsgroups: sci.math.symbolic
From: abbasi@star.enet.dec.com (My name is Nasser Abbasi)
Subject: looking for WYSWYG editor with abilities to draw diagrams built in
Organization: Digital Equipment Corporation
Date: Wed, 18 Nov 1992 05:41:23 GMT


Hi, 

 Iam aware of some symbolic editors out there, like AMI-PRO, EXP,
 ChiWriter, Scientific-Word etc.. for the IBM PC, these are 
 WYSWYG symbolic editors, I have not used all of the above, But I'd
 like to ask what you think a good editor, even if not listed above,
 that in addition to doing symbolic text, allows you to easily make diagrams
 and simple figures right in your text as you are writing it.

 Iam looking for one, that I can make diagrams along with text, just
 like one see in text books. currently I leave a space where I want
 to have the diagram, and then draw the diagram by hand in the empty space,
 after I print it, this is OK, since it is only for a homeworks ;-).

 does one have to buy a separate software to do the graphics with, and
then you sort of 'include' the image into your text document? I'd really
like to see the diagram at the see the diagram as Iam writing the text
around it, and not wait until I print the whole thing to see them
together.


thank you,
/nasser

Newsgroups: sci.math.symbolic
From: ho@cs.cornell.edu (Pei-Hsin Ho)
Subject: Mathematica Package for system of ineqaulities?
Keywords: :Mathematica, system of ineqaulities
Organization: Cornell University, CS Dept., Ithaca, NY
Date: Thu, 19 Nov 1992 03:41:55 GMT

Hello! Is there a package in Mathematica that simplifies and/or solves system ofinequalities? If anyone knows anything about this, please let me know.

Thanks a lot!

..Pei-Hsin




Newsgroups: sci.math.symbolic
From: aicklen@utdallas.edu (Greg Aicklen)
Subject: Re: Problems printing long expressions in Mma
Keywords: Mathematica
Organization: Univ. of Texas at Dallas
Date: Thu, 19 Nov 1992 01:44:41 GMT

In article <BxxKn0.DJ8@utdallas.edu> aicklen@utdallas.edu (Greg Aicklen) writes:
>Using Mma 2.1 for Windows 3.1 on a PC, I can't print expressions that are
>longer than a single printer page.  I have a large expression stemming from
>the multiplication of several series, and when I try to print the expression
>(which is four or five pages long) I get four or five copies of the first
>page of the expression!
>
>I have tried setting the option that allows breaking cells across page
>boundaries, but to no avail.
>
>Any ideas?
>

Well, WRI to the rescue!  I got a reply from WRI on this question TODAY!
The skinny is that there is a BUG in Mma 2.1 for Windows (gasp!) and
there will be an update.  The note I got from WRI said to contact them
to arrange to get the update.

Thanks, WRI!

Greg Aicklen
aicklen@utdallas.edu
Newsgroups: sci.math.symbolic
From: hill@hilbert.cc.utas.edu.au (Kym M. Hill)
Subject: HELP!! - Interpolation, MMa
Organization: University of Tasmania
Date: Thu, 19 Nov 1992 01:47:01 GMT

Help
	I'm using Interpolation[] in MMa to do linear spline
interpolation, but i need to integrate the function, spline by spline
so to speak. MMa knows how to differentiate an InterpolatiingFunction,
but not how to integrate one. So I need to write a simple procedure to do
this. I planned to take an InterpolatingFunction and make the
appropriate changes to its representation to generate the integral.
But I had a look at the structure of the InterpolationFunction for the
linear case (using InputForm), and managed to work out what the
coefficients in the InterpolatingFunction do, but I can't figure out
how it works in the order 2 case. If any one knows how
InterpolatingFunction[] represents its splines, could you please send
me a note, or post info to the net?

Ta

Kym Hill


--
 ------------------------------------------------------------------------
|  Kym M. Hill               |                                |  _--_|\  |
|  Department of Mathematics |--------------------------------| /      \ |
|  University of Tasmania    |            E-Mail:             | \_.--._/ |
From: mstankus@oba.ucsd.edu (Mark Stankus)
Newsgroups: sci.math.symbolic
Subject: Inequalities reposting
Date: 20 Nov 92 19:28:49 GMT
Organization: Mathematics @ UCSD


Either here or on news (I can't remember), I posted a note
giving an Inequality package , but did not supply all 
of the files needed. I am reposting now as three
postings.

First, the file Inequalities.m. This is like
the previous posting, but Convert2 becomes Convert1.
Convert1 is a simplified version of Convert2 which 
does not involve the dependencies of our public domain 
noncommutative algebra program (send e-mail
if you are interested in this).

Second, the file Errors.m will be posted. The point of
this file is to have Mma abort if you call one of
the functions with inappropriate arguments.

Third,  the file Convert1.m.

Mark Stankus
-- 
mstankus
mstankus@oba 
Newsgroups: sci.math.symbolic
From: B7NS <B7NS@MUSICB.MCGILL.CA>
Subject: MAPLE availability.
Organization: McGill University
Date: Tue, 17 Nov 1992 02:51:22 GMT

Hello everyone,

{this is my first post, so I'm not sure what I'm doing :-) ...}
I was curious if anyone could tell me if the newest version
of MAPLE is available for Atari ST/TT series of computers,
and what is the price for higher education students.
Any help is greatly appreciated.

Please reply by email, as I don't read this group on a regular
basis.

************************************************************************
* Peter Twarecki, B.Eng., graduate student  *  b7ns@musicb.mcgill.ca   *
* McGill University, Montreal, Canada       *  petet@emf.lan.mcgill.ca *
************************************************************************
From: fateman@peoplesparc.Berkeley.EDU (Richard Fateman)
Newsgroups: sci.math.symbolic
Subject: Re: Using CAS in science classes (was: Teaching CS to science students (was: The Real Meaning of Efficiency?))
Date: 24 Nov 1992 01:03:18 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: peoplesparc.berkeley.edu

I was taught to use a slide-rule in chemistry.  Slide-rules differ
from calculators and lap-tops in not telling you where the decimal
point is.  If you have no idea whether the answer is 3*10^6 or 3*10^7 or
even 3*10^(-7), you can't make much use of the slide-rule.

The intellectually correct posture that allows one to promote
the use by elementary school students of four-function
calculators for doing arithmetic, is that what should be taught
is Approximation.  That is, the student should realize that,
regardless of the result of his/her machine computation, the
weight of a golf ball is not a kilogram, and the height of
the Sears Tower is not 2 miles. Unfortunately, most elementary
school teachers are innumerate (illiterate wrt numbers).

I don't know what exactly the equivalent skill would be for a computational
physicist (not being one)  but I suspect it is includes
.. the answer must have the right dimensions
.. the answer must have the right behavior at special points (say t-> infinity)
.. the computational method, when applied to (simple) problems for which there
   known solutions, must produce those known solutions.

Unfortunately, what most of us learned was
.. (in calculus) Every problem has a solution in closed form in terms of
   elementary functions, or you wouldn't be asked to do it.
.. the solution method can be found in the just previous chapter.
.. If the answer seems to require a lot of algebra you must have missed 
   some simplifying trick.

Too bad. The computer algebra system in a laptop will not know any
of these heuristics (maybe because they are false in general).  

Perhaps the point is to make sure that the CAS are used for extending
the reach of computational science/education, and engineering
applications, and not merely for dulling our senses by making short
work of trivial problems.

Students trained by Sesame Street already think that all problems can 
be solved in 2 or 3 minutes.

Unfortunately, most college math/science teachers are not really
grounded in computation of the symbolic sort. Once you get beyond graphing
(something done by some hand-held calculators), computation becomes
magic, albeit unreliable magic. Some CAS confirm this impression.





-- 
Richard J. Fateman
fateman@cs.berkeley.edu   510 642-1879
Newsgroups: sci.math.symbolic
From: santas@inf.ethz.ch (Philip Santas)
Subject: Re: MAPLE resources reccomendation
Organization: Dept. Informatik, Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Tue, 17 Nov 1992 21:07:33 GMT


In article <BxuxC6.Dxz@news.cso.uiuc.edu> Richard J. Gaylord <gaylord@ux1.cso.uiuc.edu> writes:
>
>this comment indicates a basic lack of understanding of the mathematica
>programming  language.  there are MAJOR differences in the languages of
>mathematica and maple (and macsyma). mathematica not only has  pattern
>matching (which can be very important) but it has many more built-in
>functions for functional style programming.

I do not quite understand what does the _number_ of _built-in_ functions
has to do with Functional Programming. FP is based on simple concepts, and 
basically on \lambda abstractions (functions and variables); for their
implementation only _trivial_ built-in structures are needed.

Since you relate Patterns and FP, well, Mathematica Patterns _contradict_
Basic Concepts from \lambda Calculus, like a-Conversion:

In[1]:= f[x_]:=Function[x,x]

In[2]:= f[1][2]
Function::flpar: 
   Parameter specification 1 in Function[1, 1]
     should be a symbol or a list of symbols.
Function::flpar: 
   Parameter specification 1 in Function[1, 1]

Out[2]= Function[2, 2][3]

On the other hand in Scheme which is a functional language we get
the _correct_ result:

1 ]=> (define (f x) (lambda (x) x))
;Value: f

1 ]=> ((f 1) 2)
;Value: 2

The same happens in SML (another functional language)

- fun f x = (fn (x) => x);
val f = fn : 'a -> 'b -> 'b

- f 1 2;
val it = 2 : int

Given the above, one observes that Maple behaves _correctly_ in this trivial 
FP case:

f:=proc(x) (x->x) end:

f(1)(2);
                           2

CAS systems have been mainly built for solving algebra problems and not for doing
acrobatisms with various programming styles. If you want to program in an
FP fashion, then there are many _excellent_ and widely used languages out there, 
like Lisp, Scheme, and ML (which includes strong typing and automatic type 
inferencing, among others). Of course, introducing FP concepts in a CAS environment
is something positive, but one has to design it properly and has to think about
the _orthogonality_ of the concepts.

Now, if you compare Mathematica, Maple and whatever, in terms of FP,
then it is quite obvious which provides what.

Philip Santas

  "In an evolving universe those who stand still are really moving backwards"
--------------------------------------------------------------------------------
email: santas@inf.ethz.ch				 Philip Santas
Mail: Dept. Informatik				Department of Computer Science
      ETH-Zentrum			  Swiss Federal Institute of Technology
      CH-8092 Zurich				       Zurich, Switzerland
      Switzerland
Phone: +41-1-2547391
      




Newsgroups: sci.math.symbolic
From: thng@atri.curtin.edu.au (Ian Li-Jin Thng)
Subject: Help ! Mathematica and Maple Road Test
Reply-To: thng@atri.curtin.edu.au
Organization: Australian Telecommunication Research Institute
Date: Wed, 18 Nov 92 17:35:13 GMT


G'day all math netters,

Would really appreciate on any information regarding the strengths
and weaknesses of two very popular symbolic math packages - Maple
and Mathematica. I'm not too sure which to go for but as far as the
brochures are concerned , both seems to be pretty impressive. 

Basically : 

I'm looking for something which provides an extensive repertoire (sp?)
of well known functions and algos. Ie, comes with numerous math packages
for linear algebra, matrix manipulation and inversion , complex number,
non-linear as well as linear optimizations - you know - stuffs like that

Basically - I'm sick and tired of programming in Fortran with NAG . Also
running out of cash to upkeep NAG annually. Would like a math package that 
have functions equivalent or similar to NAG routines so that I can chuck 
Fortran and Nag away. I can use both UNIX and DOS based Windows 3.1 
environments.
  
Is there anyone out there whose used both and can answer my queries ?

Better still, if there is an FTp site where I can get comprehensive infos 
on these two packages , please do tell me about it too !  Here's how to 
contact me :

 

------------------------------------------------------------------------------
                 Ian Thng  - Forever Trying to be Young  
                 Email:thng@atri.curtin.edu.au
                 Adaptive Signal Processing Laboratory
                 Australian Telecommunications Research Institute
                 Curtin University of Technology
                 Ph :  +61-9-3513270
                 Fax : +61-9-3513244 
                 Bothered with seat belts ? Ride a Harley Mate !
------------------------------------------------------------------------------


A thousand thanx in advance to anyone who can help !!!
From: fateman@peoplesparc.Berkeley.EDU (Richard Fateman)
Newsgroups: sci.math.symbolic
Subject: Re: Rootterdam Competition in Mathematica Journal
Date: 16 Nov 1992 19:39:52 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: peoplesparc.berkeley.edu


I assume that mathematica competitions are not open to
LISP solutions, but the split program is rather trivial in
Common Lisp. 
Here's the most obvious program ..


;;Rotterdam competition

#| requires (split '(a b c d e f g) '(2 0 3 1 1))  -->
  ((a b) () (c d e) (f) (g))
|#

(defun split (lis parts)
  (if lis (cons (subseq lis 0 (car parts))
		 (split (nthcdr (car parts) lis)
			(cdr parts)))))


;;.......
For a problem resembling Richard Gaylord's,
it seems that interpreted lisp on a Sparc1+ takes about 0.467
sec and that compiled lisp takes about 0.017 seconds.  (Averaging it
over 10 runs shows the latter number is probably somewhere in the
range of 15-20 milliseconds.)

My conclusion:  lisp is neater for this task, it seems to be
quite fast (a factor of 100, compiled? I don't know what machine
Richard Gaylord was using).  Furthermore, I expect that any
reasonably experienced lisp programmer would come to about the
same solution, and would find it rather readable. 


(for non-lispers, cdr=rest, car=first, cons= construct a list,
subseq creates a list from a subsequence, nthcdr takes n cdrs.)
.............

The testing code...


 (setq r (make-array 500))
#(NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL ...)

(dotimes (k 500)(setf (aref r k)(random 6)))
NIL

(reduce #'+ r)
1312

(setf lis (coerce (make-array 1312) 'list))
(NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL ...)

(setf r (coerce r 'list))
(5 1 3 1 4 0 4 1 5 3 ...)

(time (split lis r))
cpu time (non-gc) 467 msec user, 117 msec system
cpu time (gc)     0 msec user, 0 msec system
cpu time (total)  467 msec user, 117 msec system
real time  700 msec
space allocation:
 10820 cons cells, 0 symbols, 68992 other bytes,
((NIL NIL NIL NIL NIL) (NIL) (NIL NIL NIL) (NIL) (NIL NIL NIL NIL) NIL
 (NIL NIL NIL NIL) (NIL) (NIL NIL NIL NIL NIL) (NIL NIL NIL) ...)

(proclaim '(optimize speed (safety 0)))
T

(compile 'split)
SPLIT
NIL
NIL

(time (split lis r))
cpu time (non-gc) 17 msec user, 0 msec system
cpu time (gc)     0 msec user, 0 msec system
cpu time (total)  17 msec user, 0 msec system
real time  30 msec
space allocation:
 1814 cons cells, 0 symbols, 32 other bytes,
((NIL NIL NIL NIL NIL) (NIL) (NIL NIL NIL) (NIL) (NIL NIL NIL NIL) NIL
 (NIL NIL NIL NIL) (NIL) (NIL NIL NIL NIL NIL) (NIL NIL NIL) ...)
-- 
Richard J. Fateman
fateman@cs.berkeley.edu   510 642-1879
Newsgroups: sci.math.symbolic
From: rivero <rivero@cc.unizar.es>
Subject: Re: Plotting implicite functions in Mathematica
X-Xxdate: Fri, 20 Nov 92 11:04:57 GMT
Organization: fisica teorica UZ
X-Useragent: Nuntius v1.1.1d12
Date: Fri, 20 Nov 1992 10:07:43 GMT

In article <1992Nov19.174001.1294@leland.Stanford.EDU> mo Saarenheimo,
sarrenhe@leland.Stanford.EDU writes:
>I have an implicite function F(X,A)=0, 0<A<1, which can not be solved 
>explicitly for X. I wish to plot X as a function of A. Here's the best
>I've been able to work out.
>
>Plot[X/.FindRoot[F[X,A]==0,{X,Xinit}],{A,0,1}]
>
>The obvious problem with this approach is that, for every value of A, the
>iteration for X begins from the same initial value Xinit. This is, of
>course, inefficient, and often there exists no initial value Xinit for
>which the iteration converges for every value of A.

If convergence is the only problem, and you have a good, fast machine,
you could use ContourPlot[F[X,A],..., Contours->{0}

If you can not afford this increase in computational time, you could
alter your FindRoot call to use secant method, by giving two points to start,
and tryiing (perhaps qith a previous search for extremals) that there
exists a solution between both.

>Since F(X,A) is continuous, the obvious alternative is to use the solution
>reached by FindRoot for previous value of A as the initial value for the 
>next iteration.
>
>Can somebody suggest an elegant and efficient way to do this?

Is not efficient, but in a pure C-style you can Plot[oldv=FindRoot[...


-Alejandro Rivero
Theoretical Physics
Zaragoza Univ, Spain
From: hibrown@sarah.albany.edu (Herb Brown)
Newsgroups: sci.math.symbolic
Subject: Re: new version of Maple for the Mac?
Date: 17 Nov 92 14:36:55 GMT
Organization: State University of New York at Albany

In article <BxutwI.D45@news.cso.uiuc.edu> Richard J. Gaylord <gaylord@ux1.cso.uiuc.edu> writes:
>the recent announcement (which i've misplaced) of the new version of
>maple only mentioned  unix platforms. does anyone know when it'll come
>out on the mac?

At the end of the 1st quarter of '93.

Herb


-- 
Herb Brown  Math Dept  The Univ at Albany  Albany, NY 12222  (518) 442-4640
Director,                                          hibrown@math.albany.edu  
Computer Assisted Instruction in Mathematics       hibrown@csc.albany.edu
--------------------------------------------------------------------------
Newsgroups: sci.math.symbolic
From: jake@skatter.usask.ca
Subject:  MAPLE: NeXT User Interface 
Organization: University of Saskatchewan
Date: Tue, 17 Nov 1992 23:39:11 GMT

Hello everyone,

I have been a user of Mathematica on the NeXT for some time and as seems to
happen with many Mathematica users, I have begun to wonder if something
more robust was available.

One of the first systems that I have begun evaluating in this regard is
Maple V, as I have access to it on a Sun. However, as I do not own a Sun
I am in a position to inquire as to  the quality of the user interface as
implemented on a NeXT.

I have heard reports that the beta-version was less than ideal, and nothing
at all about the version that I presume has shipped.

I would therefore appreciate constructive comments about the interface from
users of the release version.  Comments from those who have used both the
Mathematica front end and its Maple counterpart on the NeXT would be
especially valuable.

It goes without saying, but I will say it anyway, that I will post a summary.

Thank you all very much in advance.

jake

--
Jason C. Breckenridge 				jake@skatter.usask.ca

Sometimes the world is a mighty fine place to be dead to.
From: keith@msmri.med.ubc.ca
Newsgroups: sci.math.symbolic
Subject: WANTED: format of the Maple *.m file
Date: 23 Nov 1992 21:23:02 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
Distribution: world
NNTP-Posting-Host: msmri.med.ubc.ca

Please reply via e-mail.

I am interested in trying to manipulate Maple data structures using
C++ and the simplest way seems to be reading in the data structures
from a *.m file.  Does anyone have any experience with doing this?

Keith S Cover
keith@msmri.med.ubc.ca
 


Newsgroups: sci.math.symbolic
From: aicklen@utdallas.edu (Greg Aicklen)
Subject: Problems printing long expressions in Mma
Keywords: Mathematica
Organization: Univ. of Texas at Dallas
Date: Wed, 18 Nov 1992 21:21:00 GMT

Using Mma 2.1 for Windows 3.1 on a PC, I can't print expressions that are
longer than a single printer page.  I have a large expression stemming from
the multiplication of several series, and when I try to print the expression
(which is four or five pages long) I get four or five copies of the first
page of the expression!

I have tried setting the option that allows breaking cells across page
boundaries, but to no avail.

Any ideas?

Greg Aicklen
aicklen@utdallas.edu



Newsgroups: sci.math.symbolic
From: saj31052@uxa.cso.uiuc.edu (Scotty A Johnson)
Subject: Re: new version of Maple for the Mac?
Organization: University of Illinois at Urbana
Date: Fri, 20 Nov 1992 18:56:54 GMT

katherle@daisy.uwaterloo.ca (Kate Atherley) writes:

>In article <1992Nov19.132032.16499@sarah.albany.edu> hibrown@sarah.albany.edu (Herb Brown) writes:
>>In article <BxxK58.DtH@watdragon.uwaterloo.ca> katherle@daisy.uwaterloo.ca (Kate Atherley) writes:
>>When will release 2 be available for the Amiga?

>End of first quarter of 1993.  For more information, please
>contact info@maplesoft.on.ca.

I have seen this "please contact..." business many times since I
started reading this newsgroup last week.  I _HAVE_ contacted that
email address twice, with no responses...

Scotty AJ

>Kate

>Waterloo Maple Software Technical Support
>support@maplesoft.on.ca

-- 

------------------------------------------------------------------------------
Scotty A. Johnson     "The beast with the four foot tail."     Iguana@uiuc.edu
------------------------------------------------------------------------------