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...
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.
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...
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...
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?
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?
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...
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...
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?
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...
What is a symplectic manifold or symplectic geometry? (In intuitive terms please)
I have a vague understanding that it involves some metric that assigns an area to a position and conjugate momentum that happens to be preserved. What is 'special' about Hamilton's formulation that makes it more...
I am a programming novice with minimal knowledge of C, Python and Java that I've taught myself from books and videos. Eventually I'd like to get into AI and machine learning but I have no idea where to start. Thus far, the minimal coding I've learned has been rather aimless with no specific...
Could someone please prove that the H=T+V for systems where the transformation from Cartesian to Generalized coordinates is time independent. I have read through the proofs in Taylor's classical mechanics and Goldstein's but do not understand them.
My apologies, i meant 6857. My program generated the correct answer. Admittedly I'm not too sure why and i don't know why it doesn't work when i try x*x<n. Also, i meant to print factor, not x.
I've just started with project Euler. The problem I just finished is phrased as follows:
"The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143 ?"
The method i used was trial division. Here is my code in C:
#include<stdio.h>
int main()
{...
Pardon me if this seems like an incredibly naive question. Perhaps the question could also be rephrased as such: "Why do the laws of classical mechanics hold true with Earth as a frame of reference?"
A quick google search turned up the usual answer: the Earth rotates at a constant speed...
Thank you! I'm starting to get a sense of what these actually mean. Thus far I have just seen derivations and statements of both principles.
Thank you! Thus far I've only seen insipid derivations and statements of both principles but I think I'm starting to understand what they actually mean...
I can't for the life of me figure out what virtual work or D'alemberts principle mean and what the intuition behind them is. As far as I'm concerned D'alemberts principle is just a restatement of Newton's second law but considering the work instead of just the forces. What am I missing? I'm...
The area enclosed by the Polar curve using Int(1/2 r^2) d theta. I find the determination of the limits of integration slightly ambiguous when I watch any tutorials or read up on Polar coordinates. I normally just use graph trace but I'd like to get an intuitive understanding
General question, how do you determine the limits of integration of a polar curve? Always found this somewhat confusing and can't seem to find a decent explanation on the internet.
Ohh so if I'm not mistaken, we are simply trying to find a possible function that doesn't satisfy 1 &3 but could possibly satisfy h(x)=h(2-x)
Thank you so much for your time and help! :)
Alright i follow that logic except for how h(x) = -1 satisfies h(x)=h(2-x)
If h(x) = -1 how do we know this implies h(2-x)= -1
Doesn't the condition hold for only a specific function and not any i choose?
I'm afraid I don't follow. Wouldn't it have to be a constant function for the derivative to be zero? Why is important that the derivative of this counter example must be zero?
Phew, alright i think i get that part. Consequentially I understand we can eliminate condition 3 because h'0 will be -h'(2) and not h'(2) and also there is no way to say they are equal to 1 (Hope I'm right). How do you deal with the first condition though? I see no way to test the value of the...
I'm confused. According to the chain rule its the derivative of the outer function X the derivative of the inner function. Doesn't that give h'(x) = h'(2-x)(-1)?
Also, I'm a bit lost as to how i would test the first condition, Inorder to do so wouldn't i need to know that h(x) lies mostly or wholly above the x axis?
Homework Statement
The function h is differentiable, and for all values of x, h(x)=h(2-x) Which of the following statements must be true?
1. Integral (from 0 to 2) h(x) dx >0
2. h'(1)=0
3.h'(0)=h'(2)=1
A. 1 only
B.2 only
C. 3 only
D. 2 &3 only
E. 1,2 &3
Homework Equations
None that I am...
I'm a final year high school student trying to figure out what he wants to study in university. I have decided on an applied math double major with one of the above. My dilemma is between deciding to purse the passion I have for theoretical/ pure physics or an applied science as I would really...
cos (α + β) = cos α cos β − sin α sin β
sin (α + β) = sin α cos β + cos α sin β
Using this, I can write, x'=rcos theta cos phi - sin theta sin phi
and y'= rsin theta cos phi + cos theta sin phi
and x= rcos phi
y= rsin phi
Now what do I do?
I understand that x' = rcos(theta+phi) and y'= rsin(theta+phi) and that x=rcos theta and y= rsin theta.
How do I use this to get x'= xcos theta + ysin theta
And y= -xsin theta + ycos theta
What is a velocity profile in fluid mechanics? Why do they give you a ratio between the fluids velocity and a random reference velocity and why is it equal to a completely arbitrary function?
Does the ratio equal a function because it is an experimental fact?
Thanks Guys... I am kinda getting an intuition on why complex vector spaces are used instead of real ones. But i think its really weird that operations that you would do with classical vectors or pointers work with elements of a set.