# Rocket propulsion

1. Dec 30, 2011

### aaaa202

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 shouldnt it look differently. If someone is into Matlab programming, can they please look at what I've failed in my (short!) script (attached).

#### Attached Files:

File size:
2.5 KB
Views:
121
• ###### raketprojekt.m
File size:
391 bytes
Views:
63
2. Dec 30, 2011

### Filip Larsen

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.

3. Dec 30, 2011

### D H

Staff Emeritus
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.

4. Dec 31, 2011

### aaaa202

OMG! I can't believe that solved it! Thank you so much!