what am i doing with my life
banned-users
Phi Kappa Chi ΦΚΧ <a:yeah:589703000977571860><a:ppHop:536353159615086612>
Jump to date
Friday, September 22, 2017
I have been productive
Clearly, I need to buy divinity and do a anti trihard playthrough with fire Kappa
trie
In the meantime, I need to run 100 mill iterations of a calculation
So, I am guessing I need to run 10 mil and not 100 mil when I hand this in Kappa
The only question now Pikachu is if it'll be an anti-tryhard run while still caring about the lore/plot
also, what in God's name needs to be simulated that many times?
My assignment it to make a program that approximates the Madelung constant for sodium
it is more accurate the more times you run my equation
Can the program just run a websearch and display a result?
needs to calculate it
this is a computational physics course, the point is making programs to run calculations
Google is kind of like a calculation
Try google when the result does not exist Kappa
I'm sure math is involved at some point
Pika needs to buy divinity for when we do DivinityRealms Notlive Kapap
feelsbadman
I misunderstood the question
wasted 2.5 hours coding something that did not solve the question
feelsbadman
Kappa
rip
Kappa
okay, well, I think I may have fixed my issue in less that 10 minutes
which is great and dissapointing
because I basically rewrote the damn code from scratch
Kappa //
F U CK
That scared me
forgot I was in this chat
bopit is pretty spooky Kappa
Need to approximate madelung's constant for NaCl
Been stuck for 2 hours
cannot figure out how to sum my shit
not working
I know that
restarting my computer
I give up
will work on this tomorrow
do you want help?
Okay, do you know how to go from this
to getting a sum of all the values of M that this shit prints out
When I try making it an array, it tells me it is a 0d array and will not let me sum it, and I cannot figure out how to make it a non 0d array
np.zeros(1,1)
or just use a normal python array
do you need them individually or can you just sum them from the start?
I just need to sum them
to some large L
do
M=0 before the for loops then where you are computing them do M += ?no need to use an array
what is the ? supposed to be
your equation
Well, I am getting it to sum now
so thanks for that
but it seems to not be summing to the right value
so fml
it was just printing the last M in the list
or rather the last m calculated
I might have been able to do this Kappa
Running a test with large L
will take 6 years to run this test
seems to be summing each individual thing and printing each individual sum Kappa
Seems to only run each possible combination of i, j, k
minus 0,0,0 since I restricted that
correct value is -1.748 according to wikipedia
that is with L = 15, so it is working kind of
Just need to get it to only print the last value
permutations
order matters
it is a point in 3d space
yeah, if I can just get this thing to print the last calculated sum, I am good
Saturday, September 23, 2017
Fucking liar
