home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!convex!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!zrz.tu-berlin.de!cs.tu-berlin.de!granat!ulrich
- From: ulrich@cs.tu-berlin.de (Ulrich Wittenberg)
- Subject: Mathematica: A FIT Question
- Message-ID: <ULRICH.92Sep14165944@granat.cs.tu-berlin.de>
- Sender: news@cs.tu-berlin.de
- Organization: Technical University of Berlin, Germany
- Distribution: sci
- Date: Mon, 14 Sep 1992 15:00:09 GMT
- Lines: 20
-
-
- Good morning, Ladies and Gentlemen.
-
- Using mathematica I want to fit a set of points {xi, yi} to 1/x, 1/x^2
- etc like this:
-
- In[1] = data = {{-100, 0.03}, <<n>>, {200, 0.005}};
-
- In[2] = fitted = Fit[data, {1, 1/x, 1/x^2},x]
-
- But all i get is Indeterminate due to a division by zero.
-
- Would you please be so kind and tell me what i'm doing wrong.
-
- Thanks in advance
- Ulrich
- --
- Ulrich Wittenberg, FG Computer Graphics, Institut fuer technische Informatik
- Fachbereich 20 (Informatik), TU Berlin, Franklinstrasse 28/29,
- 1000 Berlin 10, Germany, Europe, Terra, Sol, Milky Way, Universe (Backyard)
-