MathGroup Archive 2006

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

Search the Archive

Re: FindRoot with CDF inside

  • To: mathgroup at
  • Subject: [mg71737] Re: FindRoot with CDF inside
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at>
  • Date: Tue, 28 Nov 2006 06:03:45 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <ekecem$j7$>

Lixin Huang wrote:
> Can somebody help me have a look at the program below? Why
> can't I solve the equaitons? Thanks a lot.


> FindRoot::nlnum: The function value {-0.01`-0.42` CDF[NormalDistribution[-1
> .`,
> 1.],-3.6946]-=861=87+0.42 (1. -1. CDF[=8618=87[0.,1.],=8619=87])+0.12 (1. - 1. CDF[
> NormalDistribution[0.,1.],2.]),=861=87} is not a list of numbers with dimensions {2} at {zxl,z0l} == {2.,-2.}. More...

Looking at this error message, I believe that you have forgotten to load 
the add-on that defines CDF and NormalDistribution. Add the following 
line before your function definition and be sure to evaluate it before 
using CDF or NormalDistribution.



  • Prev by Date: Re: Descending order
  • Next by Date: Re: Mathematica "Interpolation" function
  • Previous by thread: FindRoot with CDF inside
  • Next by thread: Re: Re: Limit of Infinitely Nested Expression (4.0