Carl Love

Carl Love

28025 Reputation

25 Badges

12 years, 306 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

Please don't make the titles of your Questions so long. A fine title for your Question would've been "How to neglect 1/c^n terms, n > 2?". You tend to put the entire body of your Question in the title.

@Markiyan Hirnyk I only meant for my answer to be one additional step inserted into the process that Adri already had, namely using unapply. I'm sure that that would've been obvious to Adri.

@Markiyan Hirnyk I only meant for my answer to be one additional step inserted into the process that Adri already had, namely using unapply. I'm sure that that would've been obvious to Adri.

Your Question seems incomplete. Did you mean to say more?

How about some commentary to accompany your solution? What is the significance of the 0.64 and 73? Why do the solutions only have 2 or 3 digits?

Your C is essentially -infinity, putting the sum to 0 and thereby making B irrelevant. So the solution curve is essentially a straight line through the origin, which looks like a decent fit on a plot.

I be interested to see how DataFit performs with sample data actually produced by the function.

How about some commentary to accompany your solution? What is the significance of the 0.64 and 73? Why do the solutions only have 2 or 3 digits?

Your C is essentially -infinity, putting the sum to 0 and thereby making B irrelevant. So the solution curve is essentially a straight line through the origin, which looks like a decent fit on a plot.

I be interested to see how DataFit performs with sample data actually produced by the function.

So what? That's just a basic mathematical fact.

@maplelearner 

solve(% = 0, alpha0);

                           1           1     
                  0, - ----------, ----------
                            (1/2)       (1/2)
                       (-k2)       (-k2)     


@maplelearner 

solve(% = 0, alpha0);

                           1           1     
                  0, - ----------, ----------
                            (1/2)       (1/2)
                       (-k2)       (-k2)     


@Markiyan Hirnyk Yes, I noticed. I also notice that your C is exactly 1.0, whereas mine is 0.99997. The smallest value of x is 1.0, so it makes sense that it would be 1.0. The reason that mine is 0.99997 is that z = 0.00003 is nearly the smallest positive z for which Maple will numerically evaluate the infinite sum. Unfortunately, `evalf/Sum` does not have any option equivalent to the digits or epsilon option of `evalf/Int`, so there's no way to get extra guard digits and changing Digits won't help that. This is a drawback of my method.

evalf(Sum(exp(-.00003*n^2)/n^2, n= 1..infinity));
                        1.63524093728545

evalf(Sum(exp(-.00002*n^2)/n^2, n= 1..infinity));
                    infinity                
                     -----                  
                      \        /          2\
                       )    exp\-0.00002 n /
                      /     ----------------
                     -----          2       
                     n = 1         n        

evalf(%% - Pi^2/6);
                       -0.00969312956278

@Markiyan Hirnyk Yes, I noticed. I also notice that your C is exactly 1.0, whereas mine is 0.99997. The smallest value of x is 1.0, so it makes sense that it would be 1.0. The reason that mine is 0.99997 is that z = 0.00003 is nearly the smallest positive z for which Maple will numerically evaluate the infinite sum. Unfortunately, `evalf/Sum` does not have any option equivalent to the digits or epsilon option of `evalf/Int`, so there's no way to get extra guard digits and changing Digits won't help that. This is a drawback of my method.

evalf(Sum(exp(-.00003*n^2)/n^2, n= 1..infinity));
                        1.63524093728545

evalf(Sum(exp(-.00002*n^2)/n^2, n= 1..infinity));
                    infinity                
                     -----                  
                      \        /          2\
                       )    exp\-0.00002 n /
                      /     ----------------
                     -----          2       
                     n = 1         n        

evalf(%% - Pi^2/6);
                       -0.00969312956278

@mriedel To cut-and-paste mono-spaced content, first place your text cursor at the beginning of a blank line where you want the content to start. Then use the pull-down menu labelled "Paragraph" from the top toolbar of the MaplePrimes editor. Select the third item, "Preformatted". Then paste the content. The content will looked messed up in the editor, but Preview will show it properly spaced.

This process will automatically convert a "cut" of Maple 2d output (prettyprint=2) to mono-spaced 2d form (prettyprint=1).

The problem doesn't seem fully specified. Perhaps other details were given in the class notes? maybe a diagram?

If I were to write code for this I'd need to know

  1. Is the reactor considered a single point? Can we think of all the neutrons as emanating from the origin (0,0) with an initial direction up the y-axis? or all four axial directions?
  2. Where is the shield? I see that its size is specified, but not its location. Is the shield immediately surrounding the reactor? Or is there empty space in between?
  3. What shape is the shield? Is it a circle around the reactor?

@Markiyan Hirnyk Plots show that all forms of the function presented in this thread---LommelS1, both hypergeoms, conversion to rational, and the results of simplifying those to BesselJ times Gamma---are equivalent and that the limit is 1/4/a ~ 0.06188. Series expansions at z=0---when they work at all---also show equivalence. So I think that the bug is in limit.

@Markiyan Hirnyk Plots show that all forms of the function presented in this thread---LommelS1, both hypergeoms, conversion to rational, and the results of simplifying those to BesselJ times Gamma---are equivalent and that the limit is 1/4/a ~ 0.06188. Series expansions at z=0---when they work at all---also show equivalence. So I think that the bug is in limit.

First 658 659 660 661 662 663 664 Last Page 660 of 708