I'm not sure if I can explain my self elegantly but, basically I started studying Medicine.
prior to this I finished my bachelor in physics / computer science & did a 1 year post grad course,
Anyway, life happened and I don't really want anything to do with physics anymore.
I'm finding...
What happened to the physics forums!?
It looks much different to what it did a few years ago!
It feels much more, user unfriendly. Is there a way to change it back?
I took up physics because I wanted to do something with cancer, I didn't want to do anything on the chemistry/pharmaceutical side.
I want to become an oncologist.
After I finished my physics degree I did a semester of a Medical physics masters before switching over to medicine which I was...
If you were to go back before you started your undergraduate study
Would you change to medicine?
I finished my physics degree but I'm now doing medicine
Homework Statement
fname[i]='%05s - %05s . %05s - %05s' % (xstart,xend,ystart,yend)
gives the error
ValueError: setting an array element with a sequence.
Basically I wanted to turn the statement '%05s - %05s . %05s - %05s' % ('50','50','50','50') to a string/name
that goes into an array of...
Homework Statement
I need to know how to change the format of a number in python
for example if I have a integer variable, xstart=0.
If i were to print(xstart) I want it to show 00000
and if I were to add 120 to xstart
xstart+=120
then print it
print(xstart) I want it to show 00120...
Homework Statement
What does this statement do?
sprintf(fname,"%5.5i-%5.5i.%5.5i-%5.5i",1,*nx,1,*ny);
from my knowledge of c,
% is modulus,
I don't know what the . is doing, according to wikipedia, it is element selection to reference
I know that it is storing the name of a file in the...
Homework Statement
in this statement
if (iarray[i] < 0 && *isigned)
How do I evaluate that
the code is in c
isigned is either 0 or 1
does it mean that for each value in the array that is less than 0 AND for each value in the array that is less than isigned
or does it mean...
Homework Statement
Homework Equations n\lambda = 2dsin(\theta) The Attempt at a Solution
a)
solving for d I get
\frac{n*\lambda}{2*sin*(\theta)} = d
substituting in the first value 50.85 to solve for d, with n=1
I get d= 1.754*10^-10m
How do I solve the miller indices from the inter...