Max of (sin(x))^(e^x) - Printable Version +- HP Forums ( https://www.hpmuseum.org/forum)+-- Forum: HP Calculators (and very old HP Computers) ( /forum-3.html)+--- Forum: HP Prime ( /forum-5.html)+--- Thread: Max of (sin(x))^(e^x) ( /thread-10230.html) |

Max of (sin(x))^(e^x) - lrdheat - 02-24-2018 04:28 PM
When using fmax on this function in CAS or home, (sin(x))^(e^x), I get brackets. When using solve to find when the function equals 1, I get brackets. If I solve for function =.99, I get a suitable answer. Using d/dx of the function in solve to equal zero, I also get brackets. If I solve d/dx of the function to equal .01, I get suitable answers. Why the lack of success? In graphing app, extremums are found without difficulty. RE: Max of (sin(x))^(e^x) - lrdheat - 02-24-2018 04:48 PM
The solution for d/dx may not be suitable...it should be closer to max of f(x) when solving for it to equal .001, yet it is further away! In fact, when plotting d/dx of the function, I get 2 diverging curves near the max of f(x). This on a tight plot from x=14.1324 to 14.142 . RE: Max of (sin(x))^(e^x) - lrdheat - 02-24-2018 04:55 PM
It does plot d/dx fine...autoscale solved that misperception RE: Max of (sin(x))^(e^x) - lrdheat - 02-24-2018 06:08 PM
SolveN on my CASIO fx-CG10 over the range of 14.1342 to 14.1424 succeeds in producing 9pi/2 on it's display for d/dx ((sin(x))^e^x). RE: Max of (sin(x))^(e^x) - parisse - 02-25-2018 01:40 PM
If you are interested in approx. solutions, use fsolve. Code:
RE: Max of (sin(x))^(e^x) - lrdheat - 02-25-2018 05:00 PM
Forgot about fsolve. Thanks! RE: Max of (sin(x))^(e^x) - lrdheat - 02-25-2018 06:19 PM
Not at all arguing that the CASIO is better... with fsolve, an interval of 14.13 to 14.14 is still to wide for fsolve to find the solution to d/dx ((sin(x))^(e^x))=0. Solve on the CASIO fx-CG10 finds the answer with the much wider range of 13 to 15. (SolveN requires the much narrower range on the CASIO) RE: Max of (sin(x))^(e^x) - parisse - 02-25-2018 08:38 PM
Not that surprising with your function, you are taking sin(x) to a power of more of 1 million. I wonder what kind of math problem you are solving. RE: Max of (sin(x))^(e^x) - lrdheat - 02-26-2018 03:40 AM
Just messing around.. In my early early college days when slide rules were king, and the HP 35 emerged, it seemed miraculous. The guide book to the 35 remarked that this instrument was something like a Dick Tracy or Walter Mitty might be expected to carry. My peers and I wondered if symbolic math, graphing capabilities would ever be possible on a hand held device. It still astounds me...just amazing and wonderful. Still have my best slide rules... RE: Max of (sin(x))^(e^x) - Wes Loewer - 03-04-2018 05:08 AM
(02-26-2018 03:40 AM)lrdheat Wrote: My peers and I wondered if symbolic math, graphing capabilities would ever be possible on a hand held device. It still astounds me...just amazing and wonderful. I remember reading a book in late 70's or so that predicted that calculators would some day have small pen plotters underneath the calculator. To plot a graph, you would simply set the calculator on a piece of paper and it would plot a graph. Quote:Still have my best slide rules... Nothing fancy, but I still have an aluminum Picket N902-ES and a Concise 700-MM circular slide rule. |