Calculus by variations Euler's eq

  • Thread starter Thread starter Liquidxlax
  • Start date Start date
  • Tags Tags
    Calculus
AI Thread Summary
The discussion revolves around optimizing stock sales to maximize profit using calculus of variations, specifically Euler's equation. The problem involves selling N0 shares in a bear market, where the price per share decreases over time due to the selling rate and time factors. The user is struggling to formulate the problem mathematically, particularly with the integral expression and the necessary conditions for maximizing profit. They have identified a relevant equation but need guidance on how to apply it effectively to find the optimal selling strategy. The conversation highlights the complexities of price dynamics in relation to the selling rate and time constraints.
Liquidxlax
Messages
312
Reaction score
0

Homework Statement



This is for Classical mechanics 2

I'm not sure how to put partials in itex and the N with the dot beside it was supposed to be the derivative of N with respect to time

Suppose that you have N0 shares of stock and you want to make as money as you can by selling all of them in a single day. If N0 is large, and you sell your shares in small batches, the money you make can be written apporximately as an integral

\int dt N^{.}P(N,N^{.};t) t1 to t2

where t1 and t2 are the opening and closing times for the stock exchange, N(t) is a smooth function that is approximately the number of shares you have sold at time t (which satisfies N(t1) = 0 and N(t2) = N0), N^{.} is the rate at which you sell the stock (in shares per hour, say) and P(N, N^{.};t) is the price per share as a function of time. The interesting thing is that the price depends on how you sell the shares. For example, if you selll them too fast, the price will drop. That is why P depends on N and N^{.}.

a) Suppose that P(N,N^{.};t) = P0 - Bt -CN^{.} for P0, B, C all positive (This is a "bear market" because of the -Bt term as the stock price is going down with time). Find N(t) and N^{.} that allow you to make the most money.

b) Discuss briefly what happens if B is too large.

Homework Equations



\frac{dP}{dN} - \frac{d}{dt}(\frac{dP}{dN^{.}} = 0

The Attempt at a Solution



I've really got nothing for this because I'm unsure of how to start minus checking the relevant equation

\frac{dP}{dN} = 0 = \frac{d}{dt}\frac{dP}{dN^{.}}

so

\frac{dP}{dN^{.}} = -C

and i think there has to be an auxillary equation to do with the fact that N(t1) = 0 and N(t2) = N0

Homework Statement


Homework Equations


The Attempt at a Solution

 
Last edited:
Physics news on Phys.org
can anyone give me an idea
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top