Mathematica Write this Equation using Mathematica

  • Thread starter Thread starter EngWiPy
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
The discussion revolves around using Mathematica to express a specific equation involving the Tricomi's confluent hypergeometric function, HypergeometricU. The initial poster faced difficulties in obtaining results that matched those from a referenced paper but later resolved the issue, which was related to signs and powers in their code. Another user inquired about finding a "law of formation" for sequences in Mathematica, seeking a general rule for generating terms in a sequence. The response highlighted the complexity of deriving such rules, emphasizing that without prior knowledge of the sequence's pattern, predicting subsequent terms is often impossible. The function FindSequenceFunction was mentioned, but it failed to generate a general term for the provided sequence examples, illustrating the challenges in sequence analysis within Mathematica.
EngWiPy
Messages
1,361
Reaction score
61
Hello everyone,

I have the following equation, and I want to write it using mathematica:

attachment.php?attachmentid=19507&stc=1&d=1246303265.jpg

where:
attachment.php?attachmentid=19506&stc=1&d=1246303265.jpg

and:
attachment.php?attachmentid=19505&stc=1&d=1246303265.jpg

Where \Psi is the tricomi's confluent hypergeometric function, built-in Mathimatica as HypergeometricU[ , , ].
Can anyone help me, please?
Thanks in advance
Best regards
 

Attachments

  • Eq 1.JPG
    Eq 1.JPG
    2.6 KB · Views: 923
  • Eq 2.JPG
    Eq 2.JPG
    7.5 KB · Views: 741
  • Eq 3.JPG
    Eq 3.JPG
    4.2 KB · Views: 687
Physics news on Phys.org
I don't understand. What exactly is the difficulty? It seems straightforward, especially since you already know HypergeometricU.
 
DaleSpam said:
I don't understand. What exactly is the difficulty? It seems straightforward, especially since you already know HypergeometricU.

Than you DaleSpam for replying. Actually, I took this equation from a paper which plotted it. When I tried to so do, the program gave may little bit different results, so, I thought that I wrote the program incorrectly using Mathematica. But after I posted this thread, I solved the problem, which was a matter of signs and powers.

Sorry for that, and thanks again.

Regards
 
how we can find the law of formation of sequence in mathimatica? pleasezz help.
 
Hi Mike^now, welcome to PF

What does "law of formation of sequence" mean?
 
it is a general rule to write a sequence. like 1/2,1/4,1/8/1/16,1/32... has a general rule (1/2^n. where n = number of term.
 
That is not possible to do in general. No matter how many terms you write out, unless you already know the rule, you cannot know the next term.

For example, with the sequence you gave the next number could be 1/32, or the sequence could be cyclic and the next number could be 1/2 again, or it could be a bitshift of a floating point number with 5 bits of precision so that the next term is 0, etc.
 
Hmm, apparently they have a function which tries anyway:
FindSequenceFunction
 
This function does not provide general term of sequence ( 4/3,5/4,6/5,7/6...)

By writting FindSequenceFunction[{1, 4/3, 5/4, 6/5, 7/6, 8/7, 9/8}, n] produce as it is. no result.

even i tried sequence starting from 0 as well as from 1 and still it does not produce any formula of general term.
 
Last edited:
  • #10
Well, that does not surprise me. As I said, it is fundamentally an impossible question. It is pretty impressive that it ever works.
 

Similar threads

Replies
4
Views
3K
Replies
0
Views
2K
Replies
19
Views
2K
Replies
3
Views
1K
Replies
23
Views
3K
Replies
3
Views
2K
Replies
5
Views
2K
Back
Top