Comments and discussion on Valentin's 4th "Then and Now" - Area
|
01-20-2023, 01:56 AM
Post: #7
|
|||
|
|||
RE: Comments and discussion on Valentin's 4th "Then and Now" - Area
.
Hi, J-F, (01-19-2023 09:23 PM)J-F Garnier Wrote: First of all, thanks to Valentin for this new problem. It kept me busy for long hours. You're welcome. Glad you liked it. Quote:Also the kind request to postpone our results for a few days was an interesting exercise. Not everyone agreed. Someone posted his solution before the stated time limit, which I'm sure you didn't like at all, though I immediately posted a message to let the person know and he kindly deleted the post. Also, some other person essentially complained that he much preferred to see tentative post after tentative post, refining the solution all the time, and learning from the refining process, which with the delay and the suggestion (not mandatory rule) that people would do best refining their initial solutions before posting them, to reduce the clutter in the thread, essentially prevented that learning process for him. This being so, I'm not sure if the benefits outdo the disadvantages, so perhaps I will reinstate the 2-3 day delay for future problems, or perhaps I won't. What do you think ? Quote:1. You may wonder why Valentin explicitly declared the variable U ("DIM U"), and not the others. Don't remove this DIM statement! Its purpose is related to a HP-71B bug, still present in the latest 2CDCC version and documented here, that I can summarize as: don't create new variables in the functions called by INTEGRAL or FNROOT, but create/declare them before. Correct. I mentioned it in my original solution's post, I quote:
Quote:The "1/10^10" expression may look inefficient and be better replaced by 1E-10. Correct. On the positive side, though entering 1E-10 is decompiled as .0000000001 (which certainly looks ungainly and may cause the line to exceed maximum length,) it has the benefit that it takes 4 less bytes of RAM (my program would get shortened from 244 bytes to just 240 bytes,) and also executes somewhat faster. Albert Chan Wrote:I had already spent my 1 post in VA thread. Let's see. First of all, you posted 3 times to the thread, not 1, which is perfectly Ok by me, and in any case I posted the following:
Don't take my advice if you don't want to and please don't take offence, but I think that your efforts and time would be best spent creting a very good, refined post, properly formatted, for the benefit of the readers if nothing else. Also, in your code above, namely:
20 T=1/3 @ DEF FND(Y,S)=SGN(Y+S)*ABS(Y+S)^T-SGN(Y-S)*ABS(Y-S)^T [...] 60 DISP INTEGRAL(-4.08514674762,-4.04921226445.P,FNF(IVAR));"=";I+RES,TIME" Last, in one of your posts in my main thread you begin your post with this, I quote:
Let s = sqrt(-log(R)) ≥ 0 ((x-d)^3-y)^2 < s^2 y-s < (x-d)^3 < y+s x is real if s is real --> R ≤ 1 --> 0 ≤ y ≤ 2.82740261413 Height, \(\displaystyle f(y) = x_2 - x_1 = \sqrt[3]{y+s} - \sqrt[3]{y-s}\) f slope is infinite when y = s --> R = exp(-y^2) --> y = 0 or 0.831971149978 Let a = 0.831971149978, a+b = a+B/2= 2.82740261413" My honest, well-meaning advice would be: Do not be so eager to spend your time posting message after message, instead do try to refine your solution before posting anything, also don't include constants out of the blue, and last but certainly not least, spend a decent amount of time properly formatting your explanations and improving the understandability of your expressions. Remember, the quality of your posts ultimately depends not only on the quality of your math but equally important, also depends on the quality of the presentation of your results. Hope it helps. Thanks for your interest in my challenges ("Problems") and for your valuable contributions. Regards. V. All My Articles & other Materials here: Valentin Albillo's HP Collection |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)