Post Reply 
Performing Sum to Product identity of trigonometric functions
12-23-2024, 06:19 AM
Post: #1
Performing Sum to Product identity of trigonometric functions
How can I perform sum to product identity of trigonometric functions on HP prime as follows:
sin(a)+sin(b) to get 2sin((a+b)/2)cos((a-b)/2).
Find all posts by this user
Quote this message in a reply
12-24-2024, 03:15 PM
Post: #2
RE: Performing Sum to Product identity of trigonometric functions
Now in HP Prime, you won't be able to perform this trigonometric identity. Maybe, in a future update, such a function will be added.
Find all posts by this user
Quote this message in a reply
12-24-2024, 06:16 PM
Post: #3
RE: Performing Sum to Product identity of trigonometric functions
(12-24-2024 03:15 PM)Jan 11 Wrote:  Now in HP Prime, you won't be able to perform this trigonometric identity. Maybe, in a future update, such a function will be added.

Thetefore, we have to inform the company about adding this function in the next update.
Find all posts by this user
Quote this message in a reply
12-24-2024, 07:40 PM
Post: #4
RE: Performing Sum to Product identity of trigonometric functions
Meanwhile with my HP-48GX I can define:
Code:
DIR
  EXPR 'SIN(U+V)+SIN(U-V)'
  ∑→Π
    « {
        'SIN(&A)+SIN(&B)'
        '2*SIN((&A+&B)/2)*COS((&A-&B)/2)'
      } ↓MATCH
    »
END

And then run:

EXPR ∑→Π DROP COLCT COLCT

This results in:

'2*SIN(U)*COS(V)'
Find all posts by this user
Quote this message in a reply
12-24-2024, 09:00 PM (This post was last modified: 12-24-2024 09:05 PM by Albert Chan.)
Post: #5
RE: Performing Sum to Product identity of trigonometric functions
XCas has trigsimplify, but we had to nudge it to get what we want.

XCas> m := sin(a) + sin(b)
XCas> trigsimplify( m(a=c+g, b=c-g) ) (c=(a+b)/2, g=(a-b)/2)

2 * cos((a-b)/2) * sin((a+b)/2)

XCas> tlin( ans() )

sin(a) + sin(b)
Find all posts by this user
Quote this message in a reply
12-25-2024, 05:11 AM
Post: #6
RE: Performing Sum to Product identity of trigonometric functions
I think CAS engine of HP prime has to be upgraded.
Find all posts by this user
Quote this message in a reply
Post Reply 




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