Little explorations with HP calculators (no Prime)

04082017, 09:17 PM
(This post was last modified: 04082017 09:20 PM by Gerson W. Barbosa.)
Post: #161




RE: Little explorations with the HP calculators
(04082017 05:19 PM)Han Wrote: For anyone who is curious about the tedious algebra using Heron's formula as shown by Gerson, here is a text output from Maple 17: Good idea leaving the square roots aside until the last step! I did this on the two Heron's formula results only and got a better simplified expression for the ratio between the areas: Sabc a b c  =  Sdef a(b  r)(c  s) + t(c r + b(s  c)) Making r = b/2, s = c/3 and t = a/4 per the original problem, the expression easily evaluates to 24/7. Perhaps r should be associated with side a, s to side b, t to side c and the expression rewritten accordingly for mnemonic purposes. This is exactly the approach I thought of since the beginning. I decided to use a triangle with sides proportional to 2, 3 and 4 as I realized the shape didn't matter (so did SlideRule as well). This simplified the solution, but required Heron's formula twice, the one for the inner triangle being a bit more laborious to solve by hand. Since the shape was irrelevant, why not to choose an even more convenient one? Indeed this allowed for an even more immediate solution. I still don't understand all the fuss about the use of these particular shapes, since they would have spared lots of tedious calculations as we've seen :) 

04082017, 10:16 PM
(This post was last modified: 04082017 10:18 PM by Han.)
Post: #162




RE: Little explorations with the HP calculators
(04082017 09:17 PM)Gerson W. Barbosa Wrote: I still don't understand all the fuss about the use of these particular shapes, since they would have spared lots of tedious calculations as we've seen :) For me, it had to do with the fact that without the most recent part being included as part of the solution, the special case is just that  a special case. You may very well have done the general calculations for your own, and hence for you the special case was a shorter way to show the calculations. Mathematical proofs will sometimes leave out details and simply assert that a certain property is true. Usually, though, such assertions tend to be very simple to deduce. Granted, "simple" is very relative (a certain property may be obvious to one person with a lot of mathematical background; yet to others it may be difficult to see why the property is true). Nevertheless, "simple" is generally understood as "can be readily deduced after making a few quick observations that are either explicitly stated in the solution/proof or in the problem itself." However, when a solution only presents a special case without presenting how the general case can be reduced to the special case, many would consider such special cases to be an incomplete solution  even more so when the seemingly missing pieces require a series of steps that are not obvious. In this case, one could reasonably argue that the tediousness of the algebra in using Heron's formula and in the law of cosines makes the reduction of the general case to the specific case a nonobvious (i.e. not "simple") statement that requires clear exposition. (Not to mention that Heron's formula was not used in the original solution to the special cases.) I think that (in your first solution) if you had at least mentioned that the relative ratio of the areas remains the same regardless of the shape by considering the law of cosines and using Heron's formula (and thereby leaving the details as "an exercise for the diligent reader"), then your original solution would very well have been complete. (That was why I was repeatedly asking how you decided the shape did not matter  because I myself and perhaps several others did not see the connection of the law of cosines and Heron's formula. I did use the law of cosines, but mainly to get the corresponding sine values, and certainly not the same way you did.) Graph 3D  QPI  SolveSys 

04082017, 10:53 PM
Post: #163




RE: Little explorations with the HP calculators
(04082017 10:16 PM)Han Wrote: I think that (in your first solution) if you had at least mentioned that the relative ratio of the areas remains the same regardless of the shape by considering the law of cosines and using Heron's formula (and thereby leaving the details as "an exercise for the diligent reader"), then your original solution would very well have been complete. (That was why I was repeatedly asking how you decided the shape did not matter  because I myself and perhaps several others did not see the connection of the law of cosines and Heron's formula. I did use the law of cosines, but mainly to get the corresponding sine values, and certainly not the same way you did.) Very likely I didn't make myself clear, although I thought I did. Anyway no problem about the questionings. They appeared somewhat disturbing to me because I failed to understand where I had gone wrong. From my point of view I haven't used any forbidden shortcut to get to the solution, but I understand there was some lack of rigor in my statements. If it weren't for these questionings, I'd probably still be pleased with my first solution. Also, the discussions have prompted you, much more than me, to work out really professional contributions for the thorough understanding of the problem. Thank you very much for your patience! Gerson. 

04092017, 07:55 AM
Post: #164




RE: Little explorations with the HP calculators
(04082017 10:16 PM)Han Wrote: Mathematical proofs will sometimes leave out details and simply assert that a certain property is true. Usually, though, such assertions tend to be very simple to deduce. Granted, "simple" is very relative (a certain property may be obvious to one person with a lot of mathematical background; yet to others it may be difficult to see why the property is true). This remembered me of this link: http://staffhome.ecm.uwa.edu.au/~0004388...roofs.html Although the 9.7 hurts. Wikis are great, Contribute :) 

04092017, 02:18 PM
Post: #165




RE: Little explorations with the HP calculators
(04082017 10:16 PM)Han Wrote: Mathematical proofs will sometimes leave out details and simply assert that a certain property is true. Usually, though, such assertions tend to be very simple to deduce. "Postulate. A statement, also known as an axiom, which is taken to be true without proof. Postulate  from Wolfram MathWorld mathworld.wolfram.com/Postulate.html" BEST! SlideRule 

04092017, 03:40 PM
(This post was last modified: 04092017 03:43 PM by Gerson W. Barbosa.)
Post: #166




RE: Little explorations with the HP calculators
(04082017 09:17 PM)Gerson W. Barbosa Wrote: Sabc a b c A more compact formula in terms of the relationships between the segments and the sides of the outer triangle is better: Given the triangles ABC and DEF, where BC = a BF = r = a/x CF = a  r AC = b CE = s = b/y AE = b  s AB = c AD = t = c/z BD = c  t Then SΔABC x y z  =  SΔDEF z + (x y  x  y)(z  1) Examples: 1) x = 2, y = 3, z = 4 SΔABC/SΔDEF = (2*3*4)/(4 + (2*3  2  3)*(4  1) = 24/7 2) x = 2, y = 3, z = 2 SΔABC/SΔDEF = (2*3*2)/(2 + (2*3  2  3)*(2  1) = 4 

04092017, 05:44 PM
Post: #167




RE: Little explorations with the HP calculators
On a side note, Gerson, I like your handwriting. Way more clear than mine.
Wikis are great, Contribute :) 

04092017, 07:17 PM
(This post was last modified: 04092017 07:20 PM by Gerson W. Barbosa.)
Post: #168




RE: Little explorations with the HP calculators
(04092017 05:44 PM)pier4r Wrote: On a side note, Gerson, I like your handwriting. Way more clear than mine. Only because I was not in a hurry :) Yet to my technical lettering professor at college (more than 25 years ago), those would not have looked any more clear than this one. 

04102017, 12:37 AM
(This post was last modified: 04102017 03:41 PM by Gerson W. Barbosa.)
Post: #169




RE: Little explorations with the HP calculators
A more useful formula might be one for the area of the inscribed triangle.
Given the triangles ABC and DEF, where D, E and F lie on AC, AB and BC, respectively, and defining \(x = \frac{\overline{AB}}{\overline{AE}}\), \(y = \frac{\overline{BC}}{\overline{BF}}\) and \(z = \frac{\overline{AC}}{\overline{DC}}\) Then the area of the inscribed triangle DEF will be \(S_{\Delta DEF}=\frac{((x yxy) (z1)+z)\sqrt{(a+b+c)(a+b+c) (ab+c) (a+bc)}}{4xyz}\) In this formula \(\frac{\sqrt{(a+b+c)(a+b+c) (ab+c) (a+bc)}}{4}\) is the area of the triangle ABC. Notice that the order in which x, y and z have been defined is not important, but the line segments in the denominators must not be adjacent to any other. These have been derived using the law of cosines and Heron's formula, as shown elsewhere in this thread. We can use this to compute the area of the triangle DEF inscribed in a righttrangle ABC with sides a = 4, b = 2, c = 2√3, CD = 1, AE = 2/3*√3 and BF = 1: \(S_{\Delta DEF}=\frac{((2\times 323) (41)+4)\sqrt{(4+2+2\sqrt{3})(4+2+2\sqrt{3}) (42+2\sqrt{3}) (4+22\sqrt{3})}}{4\times 2\times 3\times 4}=\frac{7\sqrt{3}}{12}\) Here we have defined x = 2, y = 3 and z = 4, but x = 3/2, y = 4/3 and z = 2 might also have been chosen, among four other possible sets. The area of the triangle ABC is implicit in the formula above, (√192)/4 = 2√3, but can be determined more trivially by just multiplying the length of side c by half the length of side b. Incidentally, the ratio between the larger and the smaller areas is exactly 24/7. Edited for grammar. 

04102017, 02:22 AM
Post: #170




RE: Little explorations with the HP calculators
(04092017 07:17 PM)Gerson W. Barbosa Wrote:(04092017 05:44 PM)pier4r Wrote: On a side note, Gerson, I like your handwriting. Way more clear than mine. ... unless you're good at reading Shorthand. I can't recognise which one this is—it's been far too long since I picked up any shorthand (35 years ago, when I was 14), and I don't remember whether I learned Greggs or Pitman 2000 (I suspect the former). About as unrecognisable as the various mathematical formulae I'm seeing tossed so casually around. (Post 61) Regards, BrickViking HP50g Casio fx9750G+ Casio fx9750GII (SH4a) 

04102017, 03:39 AM
Post: #171




RE: Little explorations with the HP calculators
(04102017 02:22 AM)brickviking Wrote:(04092017 07:17 PM)Gerson W. Barbosa Wrote: That's an adaptation of Taylor shorthand to Portuguese. I borrowed a book from the local public library when I was 15 (40 years ago) and studied it intensively for ten days or so. I used it only occasionally at school to take notes but I still haven't forgotten it. Never got really fast at it though. Good for writing cryptic messages :) Regards, Gerson. 

04102017, 08:00 AM
(This post was last modified: 04102017 08:02 AM by pier4r.)
Post: #172




RE: Little explorations with the HP calculators
new day, new problem (trivial for all of you but me).
Now I did solve this iteratively (and I checked the f(3) with the two combinations that I could build, the result is a "small" prime number). Is there a way to solve it in a more general way, without computing every single step? Also what happens if I ask for f(1.5) ? I do not have ways to compute this, like information is missing. Is there a way to solve it on the 50g (or other nonprime calculators?)? I could not identify any useful built in procedure. Wikis are great, Contribute :) 

04102017, 09:30 AM
(This post was last modified: 04102017 09:48 AM by Dieter.)
Post: #173




RE: Little explorations with the HP calculators
(04102017 08:00 AM)pier4r Wrote: new day, new problem (trivial for all of you but me). Sure. And it's very simple indeed: f(1+3) = 3^{3} · f(1) + 2^{1} · f(3) = 27 · 1 + 2 · f(3) f(3+1) = 3^{1} · f(3) + 2^{3} · f(1) = 3 · f(3) + 8 · 1 Since f(1+3) = f(3+1): 27 + 2 · f(3) = 3 · f(3) + 8 f(3) = 19 That's all. (04102017 08:00 AM)pier4r Wrote: Also what happens if I ask for f(1.5) ? I do not have ways to compute this, like information is missing. Why not generalize this for any f(z): f(1+z) = 3^{z} · f(1) + 2^{1} · f(z) = 3^{z} · 1 + 2 · f(z) f(z+1) = 3^{1} · f(z) + 2^{z} · f(1) = 3 · f(z) + 2^{z} · 1 3^{z} + 2 · f(z) = 3 · f(z) + 2^{z} f(z) = 3^{z} – 2^{z} So f(1,5) = √27 – √8 = 2,3677... Dieter 

04102017, 09:51 AM
Post: #174




RE: Little explorations with the HP calculators
Thanks Dieter, I did not think about using one of the terms as variable and solving for it. in the past I could have done it, I'm really rusty. I need to try some thousands times more
Wikis are great, Contribute :) 

04102017, 10:05 AM
Post: #175




RE: Little explorations with the HP calculators
(04102017 09:51 AM)pier4r Wrote: Thanks Dieter, I did not think about using one of the terms as variable and solving for it. in the past I could have done it, I'm really rusty. I need to try some thousands times more Simply use the information you got. You have f(x+y) defined by x, f(x) and y, f(y). Now you know x=1 and f(x=1). The rest is trivial. Dieter 

04102017, 10:53 AM
Post: #176




RE: Little explorations with the HP calculators
By the way...
(04102017 08:00 AM)pier4r Wrote: Is there a way to solve it on the 50g (or other nonprime calculators?)? I could not identify any useful built in procedure. There is this proverb, saying "If you got a hammer everything looks like a nail". ;) You have a new 50g and you now want to use it for every problem that comes around. That's not a good idea. Better analyze the problem and then pick the right tool. Which in most cases is your brain. Maybe a calculator is useful for the final step. You can even think one step further: The problems you have been posting are intended to be solved by hand (err... brain). So they are designed in a way that does not require a calculator. For exploring your 50g's capabilities other problems may be more useful. For instance those presented at the yearly meetings. Dieter 

04102017, 12:11 PM
(This post was last modified: 04102017 12:13 PM by pier4r.)
Post: #177




RE: Little explorations with the HP calculators
(04102017 10:53 AM)Dieter Wrote: By the way... I do believe I replied on this once. Short answer: what you say is surely valid in several cases but not in this one, I set the idea to use the 50g as much as I can, and I do it. The problem is when I'm not able to find out ways to "cast" the problem in an algorithmic problem either due to time limit or due to skill limit. Like in the case of the functional equation. Long answer (we do really need a sort of "hide/show" myBB block): I am aware that, whatever helper system is chosen according to the problem (50g, hammer, a truck, a pen, etc.), it cannot do the job without the "brain". I can yell at the computer to solve a certain problem and it will always remain indifferent. Nevertheless I do also believe that there may exist several approaches that can lead to a solution of the same problem. Furthermore in some cases the approach has to be fun, otherwise it does not work. There may be plenty of approaches to refresh, relearn or just learn techniques to solve problems, some more efficient some less, but the point is that they have to be sustainable for the individual. Sustainable in terms of "activity that can be done without getting tiresome". So, as a rough analogy, if I decide to do a certain training that let me advance 10 "points" per day, but I can maintain it only for 3 weeks and then I decide to stop (1) then I'm at loss compared to an approach that let me advance maybe 0.1 points per day, but I can apply it for years. Forcing a sentence of Epicurus in this analogy, I would say "the approach that lead to the higher cumulative result at the end, is the best one". (Epicurus actually said something like "Do not seek the action that procures you the highest short term happiness, seek the action that procures you the happiness that lasts longer") Said that, since I know myself (not totally, one always discovers something new about himself, but surely better than everyone else), I do know the approach that is likely leading me to an higher result at the end between the ones that I am aware of. Of course I may miss approaches that I'm not aware of, but I have limited time so ending in the loop "do I investigate if there is another approach to do what I want to do or do I choose between the ones that I know so far?" is not an option for the moment. In this particular case, I can ensure you that if I start to dive deep down to math problems without thinking about "how can I somehow involve the 50g to let it burn" , I would likely stop doing it after few days or weeks. I would enjoy the process, but likely I would not be able to sustain it. Not because I do not like mathematics, I do really appreciate the skills of you, Han, Gerson and a lot of other people. Just there are approaches more sustainable than others according to the context. Plus I do know really well that even if one takes a side approach to a problem, slowly one starts to realize patterns and get better (also with the help of comments like yours). As one knows from mathematics, there are plenty of ways to solve a problem, therefore I do reject the idea that there should be only one way to train oneself in a specific subject. So I do appreciate the tip, but believe me that I already considered it (2) and it does not mean that I do not apply myself on the problem, just I do it in a way that is different from your "standard", with poor results at first, but it is a long journey so I'm optimistic. If I wouldn't, I wouldn't even start the journey. (1) no, if someone is thinking "but then you lack discipline!", that's a wrong answer in my opinion. I can argue about this for days, the problem is that it may be a not fruitful discussion. (2) I have a plan for a big overhaul of my math knowledge, I do have the manuals but the other conditions are not satisfied yet. Side notes:  I have the hp 50g since December 2010. Just the last time I used it was in September 2013 as you can see on the wiki4hp.com  I do think that packing (I mean, taking care of this) your suggestion in a less direct way would help the community. I can understand the idea. "Look you are doing pretty bad, I do know way more, please follow this way as I did", but a community thrive when there is diversity (and respect for everyone that is not harmful), otherwise it starts to be newbie (newbie, not newcomer!) unfriendly and on the long run it shrinks or does not get larger. People starts to think twice before posting because they were criticized already enough and so on. It is a pretty old pattern in communities. Even Gauss was so hurt that did not publish much after his first major publication, due to not well packed critics. Wikis are great, Contribute :) 

04102017, 01:01 PM
Post: #178




RE: Little explorations with the HP calculators
(04102017 12:11 PM)pier4r Wrote: ... People starts to think twice before posting because they were criticized already enough and so on. It is a pretty old pattern in communities. Even Gauss was so hurt that did not publish much after his first major publication, due to not well packed critics... Suggestion  start a NEW thread for NEW problems? These loonnnnnggg threads tend to foster a small antinomy as they come across as an exegitical epistomolgy {a sermon}. They are enjoyable and do fulfill the authors' intent of jiggling those little grey cells. BEST! SlideRule 

04102017, 02:30 PM
Post: #179




RE: Little explorations with the HP calculators
(04102017 01:01 PM)SlideRule Wrote: Suggestion  start a NEW thread for NEW problems? These loonnnnnggg threads tend to foster a small antinomy as they come across as an exegitical epistomolgy {a sermon}. They are enjoyable and do fulfill the authors' intent of jiggling those little grey cells. I thought about it and , as I explained in the first post, starting a new thread for every new problem would be to me too much littering. Or at least I would not like that a forum member would continuously open new topics if the argument is exactly the same and not enough time  a week?  passed between the last topic and the new one. Instead if I collect my "spam" (for surely for some it is spam) in one unique thread, one that is not interested can just ignore it. Let's say the amount of scrolling needed is minimized. So I would prefer to continue what for me are little/clumsy explorations here. And I do enjoy a lot of eye opening answers, from Gerson, Han, Joe, DavidM, Dieter, etc.. Wikis are great, Contribute :) 

04102017, 03:22 PM
Post: #180




RE: Little explorations with the HP calculators
To solve the twotriangles problem (pier4r's Post 122, above), I assumed that ABC was equilateral and had side length 12 units. That made its area 36√3 square units and made (x, y, z) = (6, 4, 3) units.
The law of cosines yielded side lengths (d, e, f) = (3√7, 7, 2√7) units for DEF. With an HP 50g in Exact mode (–105 CF) and with Rigorous mode on (–119 CF), Heron's formula then gave 21√3/2 square units for the area of DEF. Finally, I scaled the areas of ABC and DEF by the factor 24/36√3 = 2/3√3, making those areas 24 (as required) and 7 square units respectively. I did all of that with pencil and paper as well, but I was glad to have learned something about Rigorous mode, and to have written the little UserRPL program embodying Heron's formula. 

« Next Oldest  Next Newest »

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