Rocket Propulsion: Question About Relationship of V and M0/M(t)

AI Thread Summary
The discussion revolves around a user's confusion regarding the simulation of rocket acceleration in Matlab, specifically the relationship v=vex * log(m0/m(t)). The user notes that their velocity versus time curve resembles a logarithmic curve, which is unexpected. A participant points out that the user incorrectly plotted time on the vertical axis and velocity on the horizontal axis. After switching the arguments in the plot function, the user confirms that the issue is resolved. This highlights the importance of correctly assigning independent and dependent variables in data visualization.
aaaa202
Messages
1,144
Reaction score
2
Did a question about this a few weeks ago, but I thought I might do another, as I don't quite get, what is going on.
The relationship:
v=vex * log(m0/m(t))
tells us that a rocket will attain greater and greater acceleration as time goes. However, when I try to simulate this in Matlab I get the curve attached (time versus velocity). Anyone got an idea, what could be wrong? It looks similar to that of a ln-curve, but shouldn't it look differently. If someone is into Matlab programming, can they please look at what I've failed in my (short!) script (attached).
 

Attachments

  • Unavngivet.png
    Unavngivet.png
    2.3 KB · Views: 507
  • raketprojekt.m
    raketprojekt.m
    391 bytes · Views: 442
Physics news on Phys.org
If you want something to compare with you can look at plot of the normalized rocket equation on WolframAlpha: http://www.wolframalpha.com/input/?i=plot+-ln(1-x)+from+0+to+1 where x-axis is the mass ratio (relative to initial mass) spend as fuel and y-axis is the change in velocity relative in unit of the exhaust speed.
 
aaaa202: Typically the independent variable (time in this case) is on the horizontal axis and the dependent variable (velocity in this case) is on the vertical axis. You are plotting time on the vertical axis, velocity on the horizontal.

Switch the arguments to the plot function and all will be well.
 
OMG! I can't believe that solved it! Thank you so much!
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...
Back
Top