Solve() command with trigonometric equations

03272020, 03:46 AM
(This post was last modified: 03292020 11:09 AM by teerasak.)
Post: #1




Solve() command with trigonometric equations
I tried solve command to solve the following system of equation:
3*sin(x) + 4*cos(y) = 6 4*sin(y) + 3*cos(x) = 1 Code: solve({3*sin(x)+4*cos(y)=6, 4*sin(y)+3*cos(x)=1},{x,y}) Calculation is in radian, and found no solution. When using TI Nspire Cas, I have got answer with the warning "More solutions may exist. Try specifying appropriate lower and upper bounds and/or a guess. " Any setting required to let calculator to get the right solution? 

03272020, 04:20 AM
(This post was last modified: 03272020 04:21 AM by Tim Wessman.)
Post: #2




RE: Solve() command with trigonometric equations
fsolve for numerical approximate solutions, solve is for exact symbolic.
Also, it is much easier to put your equation in the command line, and then do COPY on your keyboard to get the text. Then you can just paste it in and anyone can paste into their system to test. Otherwise people have to type manually everything out. TW Although I work for the HP calculator group, the views and opinions I post here are my own. 

03272020, 04:26 AM
Post: #3




RE: Solve() command with trigonometric equations
In CAS:
fsolve([(3*sin(x)+4*cos(y)) = 6,(4*sin(y)+3*cos(x)) = 1],[x,y],[0,0]) Result: [0.799756530541,−0.276157754943] Please resize your images before posting them. It would really be appreciated. Ceci n'est pas une signature. 

03272020, 06:55 AM
Post: #4




RE: Solve() command with trigonometric equations
Thank you for your help.
Apologize for posting too big picture. I have adjusted my post accordingly. 

03272020, 10:33 AM
Post: #5




RE: Solve() command with trigonometric equations
The "solve" command solves any system of equations (trigonometric, polynomial, exponential, square root, various). There is only one remark that you should remember and use. If the system of equations has many solutions, you must provide the approximate solution search area (lower bound, upper bound). I solved this system of trigonometric equations using this principle. The calculator has found many solutions for me, according to my wishes. Fantastic. See this in the attached screenshot from my HP PRIME. Good luck.


03272020, 05:26 PM
Post: #6




RE: Solve() command with trigonometric equations
(03272020 10:33 AM)Jan 11 Wrote: The "solve" command solves any system of equations (trigonometric, polynomial, exponential, square root, various). There is only one remark that you should remember and use. If the system of equations has many solutions, you must provide the approximate solution search area (lower bound, upper bound). I solved this system of trigonometric equations using this principle. The calculator has found many solutions for me, according to my wishes. Fantastic. See this in the attached screenshot from my HP PRIME. Good luck. I'm using derivative (f'=0) to see the monotonic areas [a, b] where to search the roots with different sign at the ends of the areas. These two together ensure only one root in the area. 

« Next Oldest  Next Newest »

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