- #1
a.mlw.walker
- 148
- 0
Hi,
I have an excel spreadsheet that calculates the pressure inside a piston chamber, that is a function of time. I want to calculate the distance the piston moves, this is my situation.
P=F/A, therefore force on piston = PA
F = M(piston).a
so ma = PA, a = P(t)A/m
its all numerical in excel so i have a column of all the accelerations at the different pressures/time steps. By integrating a for velocity, I would just end up with v = PA/m
and integrating that I would end up with s = PAt/m.
Is this correct, it seems that something is not right in this method to get the distance moved by the piston from a numerical analysis?
I have an excel spreadsheet that calculates the pressure inside a piston chamber, that is a function of time. I want to calculate the distance the piston moves, this is my situation.
P=F/A, therefore force on piston = PA
F = M(piston).a
so ma = PA, a = P(t)A/m
its all numerical in excel so i have a column of all the accelerations at the different pressures/time steps. By integrating a for velocity, I would just end up with v = PA/m
and integrating that I would end up with s = PAt/m.
Is this correct, it seems that something is not right in this method to get the distance moved by the piston from a numerical analysis?