Re: Beginer needing help
- From: "e p chandler" <epc8@xxxxxxxx>
- Date: 31 May 2006 01:44:11 -0700
glen herrmannsfeldt wrote:
e p chandler wrote:
(snip regarding finding the maximum of sin(x)/x)
You are converting the argument X from degrees to radians
before passing it to the SIN function but you are using
it as is - *in degrees* in 1/X.
This makes no sense at all.
99% of the time I would agree with you. In this case, it would
depend on who asked the question. As a homework problem, I don't
see anything wrong with asking for sin(x)/x with x in degrees,
but it would be unusual anywhere else.
-- glen
Yes, I see your point now. The units of "per degree" might be correct -
displacement per degree of travel?
Using the OP's units and definition of fun(x), the minimum (which is
what the OP finally asked for) is found at 7 degrees which is what I
would expect as fun(x) is strictly decreasing here. Also, by changing
units, I might have messed up the relative magnitudes of the arguments
WRT delta and epsilon.
In either case, the *location* of maxima/minima does not change, but
the vertical scale does.
-- elliot
.
- References:
- Beginer needing help
- From: vexx
- Re: Beginer needing help
- From: e p chandler
- Re: Beginer needing help
- From: vexx
- Re: Beginer needing help
- From: e p chandler
- Re: Beginer needing help
- From: glen herrmannsfeldt
- Beginer needing help
- Prev by Date: Re: Ada vs Fortran for scientific applications
- Next by Date: Re: Bounds Check Overhead
- Previous by thread: Re: Beginer needing help
- Next by thread: Re: Beginer needing help
- Index(es):
Relevant Pages
|