Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Smallest real positive root

Subject: Smallest real positive root

From: Robert Maxim

Date: 19 Apr, 2010 01:56:06

Message: 1 of 7

Is there a quick way in matlab to give me the smallest possible real root of something I am casting a ray with. Newtons, seecannt are too slow.

Subject: Smallest real positive root

From: John D'Errico

Date: 19 Apr, 2010 02:08:05

Message: 2 of 7

"Robert Maxim" <toejama1@gmail.com> wrote in message <hqgd7l$t74$1@fred.mathworks.com>...
> Is there a quick way in matlab to give me the smallest possible real root of something I am casting a ray with. Newtons, seecannt are too slow.

Sorry, but um, no.

John

Subject: Smallest real positive root

From: Roger Stafford

Date: 19 Apr, 2010 02:08:05

Message: 3 of 7

"Robert Maxim" <toejama1@gmail.com> wrote in message <hqgd7l$t74$1@fred.mathworks.com>...
> Is there a quick way in matlab to give me the smallest possible real root of something I am casting a ray with. Newtons, seecannt are too slow.
----------------
  Could you please go into greater detail regarding that phrase "something I am casting a ray with"?

Roger Stafford

Subject: Smallest real positive root

From: Robert Maxim

Date: 19 Apr, 2010 02:16:06

Message: 4 of 7

I want to cast a ray and find the smallest root where it intersects a surface.
you can easily do this with Newtonns method or Seecant but takes forever to converge and you need a good intervals.

"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <hqgdu5$c5c$1@fred.mathworks.com>...
> "Robert Maxim" <toejama1@gmail.com> wrote in message <hqgd7l$t74$1@fred.mathworks.com>...
> > Is there a quick way in matlab to give me the smallest possible real root of something I am casting a ray with. Newtons, seecannt are too slow.
> ----------------
> Could you please go into greater detail regarding that phrase "something I am casting a ray with"?
>
> Roger Stafford

Subject: Smallest real positive root

From: Roger Stafford

Date: 19 Apr, 2010 02:36:07

Message: 5 of 7

"Robert Maxim" <toejama1@gmail.com> wrote in message <hqged6$jt8$1@fred.mathworks.com>...
> I want to cast a ray and find the smallest root where it intersects a surface.
> you can easily do this with Newtonns method or Seecant but takes forever to converge and you need a good intervals.
---------------
  By slow tortuous degrees we are managing to extract more information from you about your question, but much more needs to be made clear. Where you say, "cast a ray and find the smallest root where it intersects a surface", is this ray being "cast" from a fixed point above a three-dimensional surface? What is known about the direction of "casting". What is the mathematical form of the surface? What quantity is it you are wishing to find the root of? - the distance to the intersection, the point of intersection? If we don't find out such things as this you may have to be content with John's succinct answer.

Roger Stafford

Subject: Smallest real positive root

From: Walter Roberson

Date: 19 Apr, 2010 03:37:32

Message: 6 of 7

Robert Maxim wrote:
> Is there a quick way in matlab to give me the smallest possible real
> root of something I am casting a ray with. Newtons, seecannt are too slow.

Let me introduce you to the many many decades of work it took to
determine whether Riemann's Zeta function _has_ a real root or not.

There are a lot of functions whose smallest root is unknown and the
question of what the smallest root _is_, is of quite a bit of
speculation. Functions which may or may not have a known large root
("upper bound on the value") but where the lower bound on the value
might be undetermined. There's a famous example in mathematics where a
mathematician proved an upper bound on a limit which is the largest
number ever non-trivially used in a mathematical theorem (a new notation
had to be invented to express it)... it is commonly believed that the
actual smallest root for the problem is 6, but no-one has been able to
_prove_ a smaller lower bound than the largest number ever expressed.

Subject: Smallest real positive root

From: Robert Maxim

Date: 19 Apr, 2010 04:04:05

Message: 7 of 7

intersection point for a curve surface from a ray cast quickly and accurately

"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <hqgfin$95c$1@fred.mathworks.com>...
> "Robert Maxim" <toejama1@gmail.com> wrote in message <hqged6$jt8$1@fred.mathworks.com>...
> > I want to cast a ray and find the smallest root where it intersects a surface.
> > you can easily do this with Newtonns method or Seecant but takes forever to converge and you need a good intervals.
> ---------------
> By slow tortuous degrees we are managing to extract more information from you about your question, but much more needs to be made clear. Where you say, "cast a ray and find the smallest root where it intersects a surface", is this ray being "cast" from a fixed point above a three-dimensional surface? What is known about the direction of "casting". What is the mathematical form of the surface? What quantity is it you are wishing to find the root of? - the distance to the intersection, the point of intersection? If we don't find out such things as this you may have to be content with John's succinct answer.
>
> Roger Stafford

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us