Student Support Forum: 'Lists' topicStudent Support Forum > General > "Lists"

 Next Comment > Help | Reply To Topic
 Author Comment/Response Jesenka Usanovic 02/24/11 04:07am Hi! I have written a program, which would work, but for this one thing, where I have no idea, how to manage. I would be very happy, if someone could give me a hint. I have a list of elements a1=np=43. a2=nn=46565.2 a3=nm=47.8 a4 = (np)^2 a5=nn*np . . a83=(nn)^6=1.01946*10^28 and I've put all 83 elements in a list called a. than, later on, I must use these elements in a calculation, where the come out as combinations of nn, nm, np,...and I would like to assign these automatically to their values. it works with the replacement, or I thought so, but it comes something really strange as a result. so I think it is not possible to do it that way.the main point is: there come factors nm, nm, nm*np,...and all permutations, BUT nm, when it stands alone is not the same nm, when it is in nm*np combination. all these factors are one element of the list a, I only don't know, how to tell the computer this thind:) I hope very much, that someone could help me. thank you anyway. Jesenka URL: ,

 Subject (listing for 'Lists') Author Date Posted Lists Jesenka Usan... 02/24/11 04:07am Re: Lists Isaac 02/25/11 01:52am Re: Re: Lists Jesenka Usan... 02/26/11 05:25am Re: Lists Isaac 02/27/11 02:33am
 Next Comment > Help | Reply To Topic