Recent content by CrazyNeutrino

  1. C

    Change in the amplitude of a damped spring block oscillator

    Homework Statement A block is acted on by a spring with spring constant k and a weak friction force of constant magnitude f . The block is pulled distance x0 from equilibrium and released. It oscillates many times and eventually comes to rest. Show that the decrease of amplitude is the same...
  2. C

    RC Circuit with parallel resistor

    Thank you so much! Couldn't visualise what was going on for the longest time but it really does make sense now.
  3. C

    RC Circuit with parallel resistor

    Fair enough I understand that part. What seems counterintuitive to me is that a current starts flowing in R1 just by introducing a new resistor. Why?
  4. C

    RC Circuit with parallel resistor

    Here's a picture of the circuit. It is still in parallel with the resistor and the power supply. I don't understand why it is isolated, although, if it was I suppose the voltage across it would be the same as it was when it was initially fully charged, i.e = E.
  5. C

    RC Circuit with parallel resistor

    Homework Statement A circuit contains a capacitor of capacitance C, a power supply of emf E, two resistors of resistances R1 and R2 , and a switch S2 . Resistor R1 is in series with the power supply and R2 is in parallel with the capacitor and the power supply. S2 switches the branch that...
  6. C

    MATLAB Help: Convert Matlab to Python code

    I've had a couple of issues while translating the code. 1.In the line "That = ODhat*V(:,2:3);" I get matrix multiplication errors when I use numpy matmul. Say my input is a 10X10X3 RBG image for simplicity. We flatten it to 100X3 rgb value. After removing any transparent pixels, let's say it...
  7. C

    MATLAB Help: Convert Matlab to Python code

    Alright so I'm stuck at this line: % remove transparent pixels ODhat = OD(~any(OD < beta, 2), :); I'm not even entirely sure what this does. What does the 'any' and the 2 stand for? How would i write this in python?
  8. C

    MATLAB Help: Convert Matlab to Python code

    Could I run the function as it is using matlab.engine on python? Image to numpy array which I then feed into the function? Will MATLAB recognize a numpy array as a matrix?
  9. C

    MATLAB Help: Convert Matlab to Python code

    Thank you! @scottdave and everyone else. I think I am going to try translating it semantically on my own.
  10. C

    MATLAB Help: Convert Matlab to Python code

    I'm working on a convolutional neural network project that classifies histopathological images of breast tumors. All my code is in python. Part of the image preprocessing involves appearance normalisation to account for the variation in histological staining. The only code for the preprocessing...
  11. C

    Relationship between magnetic moment and induced magnetism

    How would you calculate the induced magnetic field B at some distance R from a bar magnet, given the magnetic moment of a magnet? (In general)
  12. C

    Measuring the Speed of Sound: Examining the Frequency of Clicks

    Sorry about the title, the “measuring the speed of sound” part was added by a moderator for ‘not being descriptive enough’. Not my doing.
  13. C

    Measuring the Speed of Sound: Examining the Frequency of Clicks

    Homework Statement This is a problem from the Cambridge Natural Science Admissions Assesment. A student carries out an experiment to measure the speed of sound. A loudspeaker that emits sound in all directions is placed between two buildings that are 128 m apart as shown. The student and...
  14. C

    Oscillation of a point charge perpendicular to field lines

    I understand the dimensionality argument. How and why does the force depend on the charge separation though? Wouldn’t those components cancel each other out?
  15. C

    Oscillation of a point charge perpendicular to field lines

    Homework Statement Two particles A and B each carry a charge Q and are separated by a fixed distance D. A particle c with charge q and mass m is kept at the midpoint of A and B. If C is displaced perpendicular to AB by a distance x where x<<<D, find the time period of the oscillation of the...
Back
Top