Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

FindRoot complains under version 5.0

  • To: mathgroup at
  • Subject: [mg46127] FindRoot complains under version 5.0
  • From: Sebastian Kubis <seb at>
  • Date: Sat, 7 Feb 2004 04:02:09 -0500 (EST)
  • Sender: owner-wri-mathgroup at

under version 4.1 I was used to nest FindRoot in another one in the
following way:

In[1]:= arcsin[y_] := x /. FindRoot[Sin[x] == y, {x, .3, .4}]

In[2]:= sin[a_] := z /. FindRoot[arcsin[z] == a, {z, 0, .5}]

but now, under ver 5.0 it reports error, although finally
gets the correct result:

In[3]:= sin[30 Degree]

   The function value {0.29552 - 1. z}
   is not a list of numbers with dimensions {1} at {x} ={0.3}.

   {FindRoot[Sin[x] == z, {x, 0.3, 0.4}]}
    is neither a list of replacement rules nor a valid dispatch table, and so
    cannot be used for replacing.

Out[3]= 0.5

What has changed in ver 5.0 ? How to avoid these "warnings"



  • Prev by Date: Re: time serie -> sum inside a loop
  • Next by Date: FindRoot complains under version 5.0
  • Previous by thread: Re: Mathematical Statistics
  • Next by thread: Re: FindRoot complains under version 5.0