DMUG-Archiv 2000

Frühere   Chronologischer Index   Spätere
Vorherige   Thematischer Index   Nächste

problem mit mathematica

Liebe Mathematicafreunde,

ich z.Z. Praktikant am ZEW (Zentrum für Europöäischer
Wirtschaftsforschung) in Mannheim  - license number :
LXXXX-XXXX. Ich arbeite aktuell mit Mathematica.

Nun habe ein Lösungsproblem : das Gleichungssystem löst sich
für manche Werte des Parameters pm nicht - siehe attachment -
bzw. nur für die Werte (pm=0.4, pm=0.5, pm=0.6) scheitert das
Program nicht aus. Könnt ihr mir dabei helfen ?

Danke.

Denis Beninger.
Denis Beninger
prak-fla@XXXXXXX.de
ZEW
L7, 1
D-68163 Mannheim


[[ ich habe die Lizenznummer unkenntlich gemacht;
   diese Information sollte vertraulich bleiben -- REM ]]

Attachment: nbvcAGQpVWgO.nb
Description: Text from file 'ex1.nb'

(***********************************************************************

                    Mathematica-Compatible Notebook

This notebook can be used on any computer system with Mathematica 4.0,
MathReader 4.0, or any compatible application. The data for the notebook 
starts with the line containing 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@XXXXXXX.com
  phone: +1-217-398-0700 (U.S.)

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

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[      3637,        104]*)
(*NotebookOutlinePosition[      4290,        127]*)
(*  CellTagsIndexPosition[      4246,        123]*)
(*WindowFrame->Normal*)



Notebook[{

Cell[CellGroupData[{
Cell[BoxData[{
    \(wm = 102.5\), "\[IndentingNewLine]", 
    \(pm =  .7\), "\[IndentingNewLine]", 
    \(ym = 1985\), "\[IndentingNewLine]", 
    \(Um[cm_, 
        hm_] := \((cm - 200)\)^
          pm*\((168 - hm)\)^\((1 - pm)\)\), "\[IndentingNewLine]", 
    \(gm1[cm_, hm_] := cm - wm*hm - ym\), "\[IndentingNewLine]", 
    \(gm2[cm_, hm_] := \(-hm\)\), "\[IndentingNewLine]", 
    \(gm3[cm_, hm_] := hm - 100\), "\[IndentingNewLine]", 
    \(Lm[cm_, hm_] := 
      Um[cm, hm] - lm1*gm1[cm, hm] - lm2*gm2[cm, hm] - 
        lm3*gm3[cm, hm]\), "\[IndentingNewLine]", 
    \(clm[cm_, hm_] := D[Lm[cm, hm], cm]\), "\[IndentingNewLine]", 
    \(hlm[cm_, hm_] := D[Lm[cm, hm], hm]\), "\[IndentingNewLine]", 
    \(M0 = 
      Solve[{clm[cm, hm] \[Equal] 0, hlm[cm, hm] \[Equal] 0, 
          lm1*gm1[cm, hm] \[Equal] 0, lm2*gm2[cm, hm] \[Equal] 0, 
          lm3*gm3[cm, hm] \[Equal] 0}, {cm, hm, lm1, lm2, lm3}]\)}], "Input"],

Cell[BoxData[
    \(102.5`\)], "Output"],

Cell[BoxData[
    \(0.7`\)], "Output"],

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

Cell[BoxData[
    \(Solve::"incnst" \(\(:\)\(\ \)\) 
      "Inconsistent or redundant transcendental equation. After reduction, \
the bad equation is \!\(\(\(-68\)\) + \((168 - hm)\)\^1.`\) == 0."\)], \
"Message"],

Cell[BoxData[
    \(Solve::"incnst" \(\(:\)\(\ \)\) 
      "Inconsistent or redundant transcendental equation. After reduction, \
the bad equation is \!\(\(\(-68\)\) + \((168 - hm)\)\^1.`\) == 0."\)], \
"Message"],

Cell[BoxData[
    \(Solve::"incnst" \(\(:\)\(\ \)\) 
      "Inconsistent or redundant transcendental equation. After reduction, \
the bad equation is \!\(24070 - \(\(2\\ \((\(\(-200\)\) + cm)\)\^1.`\)\)\) == \
0."\)], "Message"],

Cell[BoxData[
    \(General::"stop" \(\(:\)\(\ \)\) 
      "Further output of \!\(Solve :: \"incnst\"\) will be suppressed during \
this calculation."\)], "Message"]
}, Open  ]]
},
FrontEndVersion->"4.0 for Microsoft Windows",
ScreenRectangle->{{0, 1024}, {0, 695}},
WindowSize->{496, 599},
WindowMargins->{{2, Automatic}, {Automatic, 0}}
]


(***********************************************************************
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[CellGroupData[{
Cell[1739, 51, 926, 18, 290, "Input"],
Cell[2668, 71, 40, 1, 29, "Output"],
Cell[2711, 74, 38, 1, 29, "Output"],
Cell[2752, 77, 38, 1, 29, "Output"],
Cell[2793, 80, 213, 4, 60, "Message"],
Cell[3009, 86, 213, 4, 60, "Message"],
Cell[3225, 92, 228, 4, 78, "Message"],
Cell[3456, 98, 165, 3, 42, "Message"]
}, Open  ]]
}
]
*)




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

Antworten:
Frühere   Chronologischer Index   Spätere
Vorherige   Thematischer Index   Nächste

DMUG DMUG-Archiv, http://www.mathematica.ch/archiv.html