Trig vs hyperbolic handling differences in Prime CAS « Next Oldest | Next Newest »

 ▼ Michael de Estrada Unregistered Posts: 1,665 Threads: 142 Joined: Jan 2009 11-08-2013, 02:35 PM I posted this previously, but received no response so I'm trying again . When I enter COS(x)^2+SIN(x)^2 in CAS I get the result 1, which is correct since this result is true regardless of the value of x. However, if I enter COSH(x)^2-SINH(x)^2 in CAS I should also get 1 as a result, however, I simply get COSH(x)^2-SINH(x)^2 as a result instead. If I replace x with a numerical value instead, then I get the proper result of 1. Why ? And yes I am in radians mode and have Exact unchecked when I do this. ▼ Mark Hardman Unregistered Posts: 208 Threads: 16 Joined: Jul 2005 11-08-2013, 05:49 PM Try using hyp2exp: ```simplify(hyp2exp(cosh(x)^2-sinh(x)^2)) ``` Gives you the answer you are looking for. ▼ Michael de Estrada Unregistered Posts: 1,665 Threads: 142 Joined: Jan 2009 11-08-2013, 06:06 PM Thank you very much. Giving it some thought, this makes a lot of sense because while trig functions like cosine and sine are primary, hyperbolics like cosh and sinh are derived from the exponential function, which is primary. ▼ Mark Hardman Unregistered Posts: 208 Threads: 16 Joined: Jul 2005 11-08-2013, 06:26 PM Agreed. There is value in seeing the intermediate result of: ```((exp(x)+1/exp(x))/2)^2-((exp(x)-1/exp(x))/2)^2 ```

 Possibly Related Threads… Thread Author Replies Views Last Post HP Prime: CAS taylor Alberto Candel 5 3,994 12-13-2013, 09:45 PM Last Post: Alberto Candel HP Prime CAS curiosity bluesun08 11 4,825 12-10-2013, 01:03 PM Last Post: Han [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 2,180 12-07-2013, 07:15 PM Last Post: CompSystems HP Prime: complex numbers in CAS. Alberto Candel 1 1,895 12-06-2013, 02:36 PM Last Post: parisse HP Prime: Proper Use of Home View and CAS View James Williams 9 4,258 12-05-2013, 02:44 PM Last Post: James Williams [HP Prime] plotfunc() bug in CAS Chris Pem10 2 2,405 12-04-2013, 02:46 PM Last Post: Chris Pem10 HP Prime: Home/CAS? Alasdair McAndrew 11 3,877 11-26-2013, 02:48 PM Last Post: Alberto Candel HP Prime numerical precision in CAS and HOME Javier Goizueta 5 2,407 11-16-2013, 03:51 AM Last Post: Paul Dale Need CAS help Michael de Estrada 6 2,632 11-13-2013, 01:29 AM Last Post: cyrille de BrĂ©bisson HP Prime - CAS functions in Spreadsheet App CR Haeger 6 2,453 11-11-2013, 12:37 AM Last Post: Michael de Estrada

Forum Jump: