Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

How can I plot $\frac{m}{(M+m)}$ as function of $\frac{m}{M}$? I've tried the regular Plot[] but it didn't work.

This is a function of the loss of kinetic energy during plastic collision in physics. So, when $\frac{m}{M}$ is zero, it means that the mass $M$ is a way bigger than $m$, so the expression $\frac{m}{M+m}$ would be approximately zero as well (we can neglect $m$ if $M$ is huge). That's what I mean. It should not be very rigorous, but this graph should be quite similar to the real life experiment.

share|improve this question
    
You've seen ParametricPlot[]? –  J. M. Apr 2 '13 at 16:54
    
@J.M. - Yes, I tried it, but unfortunately with no success. I'm not that big expert on Mathematica, if you could just show me one example. –  ffyh3h3 Apr 2 '13 at 16:56
    
@belisarius - thanks for the reply, but no. I added some explanation. –  ffyh3h3 Apr 2 '13 at 17:12
1  
So you want Plot[1/(1 + 1/x), {x, 0, 3}, PlotRange -> All] instead ... –  belisarius Apr 2 '13 at 17:23
1  
You can do all the algebra and the plotting in one go as Plot[y /. First@Solve[Eliminate[{y == m/(m + M) && x == m/M}, {m, M}], y], {x, 0, 10}]. –  whuber Apr 2 '13 at 17:51
show 3 more comments

closed as too localized by Jens, Leonid Shifrin, Artes, Simon Woods, m_goldberg Apr 2 '13 at 23:40

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 2 down vote accepted

Your expression reduces to:

$$\frac{m}{(M+m)} = \frac{ \frac{m}{m} }{(\frac{M}{m}+1)} = \frac{1}{1+\frac{1}{x}}$$

where $$x = \frac{m}{M}$$

Plot[1/(1 + 1/x), {x, 0, 3}, PlotRange -> All]

Mathematica graphics

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.