Post Reply 
Problem with zeros and solve in HP Prime.
01-21-2014, 01:19 AM
Post: #5
RE: Problem with zeros and solve in HP Prime.
(01-20-2014 11:08 AM)John P Wrote:  I am trying, inside a program, to find zeros of this expression (x-1)*(x-2)*(x+1)*e^(-1/2*x^2). Inside a prgm. I changed the expression to string and use zeros("expression", "v"), v="x". I should be getting 3 zeros [1,2,-1] which I get in CAS and in HOME but when running program to find the zeros of the same expression I am getting all kind of numbers around twenty which are obviously not zeros I should get. I have no idea how to fix the problem.
Thanks.

Use the following form in your program:

CAS("zeros((x-1)*(x-2)*(x+1)*e^(-1/2*x^2),x)");

It works fine.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problem with zeros and solve in HP Prime. - Michael de Estrada - 01-21-2014 01:19 AM



User(s) browsing this thread: 1 Guest(s)