Recent content by ckutlu

  1. C

    PF Member Photo Thread Archive

    Well, that's me (in the middle). New to this forum, hi everyone!
  2. C

    How Does Daily Gaming Transform You Into an Animal Prodigy?

    Wow. How did that black bishop end up there.
  3. C

    Superposition of Pulses Behavior

    I think this is just tricky. They will cancel out at "one point" leaving no pulses to be seen on the rope, however they will pass through each other, and continue to be pulses.
  4. C

    Applying Divergence Theorem to Stokes' Theorem

    I think you should check if one of the theorem states the surface as a "closed" one.
  5. C

    Undergrad Microwaves- electric field? magnetron?

    If there is an alternating magnetic field, so there "must" be an alternating electric field, both forming the electromagnetic waves, according to Maxwell. (?) Correct me if i am wrong.
  6. C

    Python Beginner Python - better way to write this?

    Nope you don't have to, if the number doesn't have any factors, then it is prime. This method itself checking whether the number is prime or not. You just return the number if it doesn't find any factors up to sqrt(x). But i think you should consider the "trickyness" of the sqrt(x) as Borek...
  7. C

    High School When a man get a shock(current) why he is cought then thrown away?

    I haven't seen someone got a real high current shock and thrown away in my life but i'll guess that'd probably be caused by the person's uncontrolled muscle spasms caused by the shock. It's just a guess.
  8. C

    Python Beginner Python - better way to write this?

    What if a prime number close to 100 is entered? It does a calculation for all of the numbers up to that number to figure out that there is no factors of it besides itself.
  9. C

    Python Beginner Python - better way to write this?

    Well yeah, since x/2 won't be a "prime factor" why should i consider it since i am not looking at all the divisors of x in range(1,x+1) (silly me :) ) So the range should be up to sqrt(n) right?
  10. C

    Python Beginner Python - better way to write this?

    Hmm, i got your point. Well, you are right. If it doesn't find any factor until it reaches x/2 he won't find any other after so the program returns the x value itself. That can make it more efficient right? Correct me if i am wrong, it was a straightforward thought.
  11. C

    Python Beginner Python - better way to write this?

    It has to do with the definition of the range function in python for example range(1,10) means a vector of numbers 1,2,3,4,5,6,7,8,9 I agree that the definition is confusing =)
  12. C

    Fourier Transforms: F[Rect] and F[sinc] Relationship Explanation

    I assume rect is short for "rectangle". The question asks you either to prove duality property of continuous Fourier transform or to use it. Search for the duality, you'll see what i mean.
  13. C

    Python Beginner Python - better way to write this?

    This probably should work the way you write it (i guess?) but for efficiency, you can do something like this. bool = 0; 'this variable is to check whether a factor is found before or not' for a in range(2, x + 1): if x % a == 0: if bool == 1: return a else bool = 1 return a...