Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11608
| From | David Kirkby <drkirkby@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | How can I use FindMaximum to get a result better than MachinePrecision? |
| Date | 2012-09-04 09:49 +0000 |
| Message-ID | <k24irq$1k9$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
I've tried this:
In[2]:= FindMaximum[8 E^(-x) Sin[x] -1,{x,0,8}]
Out[2]= {1.57918, {x -> 0.785398}}
Then played around to try to get a more accurate result.
In[9]:= FindMaximum[8 E^(-x) Sin[x] -1,{x,0,8},AccuracyGoal->20, PrecisionGoal->20]
Out[9]= {1.57918, {x -> 0.785398}}
In[10]:= Precision[%]
Also:
In[7]:= N[FindMaximum[8 E^(-x) Sin[x] -1,{x,0,8},AccuracyGoal->200, PrecisionGoal->200],100]
Out[7]= {1.57918, {x -> 0.785398}}
In[8]:= Precision[%]
Out[8]= MachinePrecision
Any suggestions?
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
How can I use FindMaximum to get a result better than MachinePrecision? David Kirkby <drkirkby@gmail.com> - 2012-09-04 09:49 +0000 Re: How can I use FindMaximum to get a result better than MachinePrecision? "danl@wolfram.com" <daniel.lichtblau0@gmail.com> - 2012-09-05 07:07 +0000 Re: How can I use FindMaximum to get a result better than MachinePrecision? Ray Koopman <koopman@sfu.ca> - 2012-09-05 07:09 +0000
csiph-web