Question about Solve - 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: Question about Solve (/thread-4571.html) |
Question about Solve - salvomic - 08-25-2015 07:16 AM hi, an Italian student asked to me what's the best way to solve these equations in Solve: E1: A*(2*π*10)*COS(P)+11*A*SIN(P) = 0 E2: 11*A*COS(P)-A*(2*π*10)*SIN(P) = 23 where A is amplitude, P phase, the rest 2*PI*frequency (here 10 Hz) I suggest only to set the Prime in DEG mode (he is to get something like 0.36 and 80°, he said). I get different values with different invite suggestion for A and P (but they are values MOD 360, I think), however also about 0 and about 99.93 (giving A=0.001); giving for A 2 and for P 0 I get about 0 and about 80 also... For examples the student got -20350160.0698 whit his tries: -20350160.0698 MOD 360 is about 280 (about 279.93), that's 360-80... Whit my values (about -0.36 and 99.93) the equations are consistent but a negative amplitude hasn't a physic sense. But the guy is searching a general good solution if he doesn't know what invite values to give... Suggestions? Salvo RE: Question about Solve - ww63 - 08-25-2015 10:27 AM when i remember correct, Setting the angular mode to deg isn't a good aproach. This should be best in radians. regards Wolfgang RE: Question about Solve - salvomic - 08-25-2015 10:29 AM (08-25-2015 10:27 AM)ww63 Wrote: when i remember correct, Setting the angular mode to deg isn't a good aproach. This should be best in radians. hi Wolfgang, you're right, but in this problem he must calculate phase in DEG (sin, cos), as usually speaking about electricity... Salvo RE: Question about Solve - roadrunner - 08-25-2015 12:44 PM Hi Salvo, You are both right. If you plot the equations in the advance graphing app (changing with P as X and A as Y) you will see there is an infinite number of solution: [attachment=2473] and here is one solution zoomed in: [attachment=2474] Road RE: Question about Solve - salvomic - 08-25-2015 12:47 PM (08-25-2015 12:44 PM)roadrunner Wrote: Hi Salvo, in fact, Road! this is the actual solution: an infinite number of solutions. Thank you, I'll say about this to the student. Salvo RE: Question about Solve - DrD - 08-25-2015 02:00 PM (08-25-2015 07:16 AM)salvomic Wrote: hi, Here is the solution he was seeking (Advanced Graphing App with X=P, Y=A): [attachment=2475] RE: Question about Solve - salvomic - 08-25-2015 03:43 PM (08-25-2015 02:00 PM)DrD Wrote: Here is the solution he was seeking (Advanced Graphing App with X=P, Y=A): thank you Dale, this is the solution he was seeking, however, as Road wrote, it shouldn't be unique... Salvo RE: Question about Solve - DrD - 08-25-2015 07:50 PM There was no mention of boundary conditions in the problem, but you did mention an electrical context. The important solution he was after occurs in the first 90°, and is periodic forevermore. Since the phase is constant, after the first cycle there wouldn't be much point in reporting periodic values for subsequent cycles. For this problem, perhaps that's why he was seeking that particular result(?) RE: Question about Solve - salvomic - 08-25-2015 07:52 PM (08-25-2015 07:50 PM)DrD Wrote: There was no mention of boundary conditions in the problem, but you did mention an electrical context. The important solution he was after occurs in the first 90°, and is periodic forevermore. Since the phase is constant, after the first cycle there wouldn't be much point in reporting periodic values for subsequent cycles. For this problem, perhaps that's why he was seeking that particular result(?) yes, you're right. So, 80° is the right solution, I think he would to find only this one. Salvo |