Solving a Differential Equation: dy/dt to f(y,t)

coolxal
Messages
5
Reaction score
0
How do you change the form of a differential equation from dy/dt to f(y,t)? So if I had dy/dx = y/A(y) + 1 where A(y) is the area of a cross section of a conical base.
 
Physics news on Phys.org
What are you asking exactly? Are you trying to solve your differential equation for y(x)?
 
To apply the Euler method, I'm given an equation of the form y' = y - t^2 + 1, 0 <= t <=2, y(0) = 0.5 and f(y,t) = y'. I set h = (b-a)/N where N is the number of iterations and h is the step size. t = a, w = y(0) then I loop w = w + h*f(t,w), t = a + i*h N times.

I'm trying to change an equation of the form (water flow rate) y&#039; = -0.6*\pi*r^2\sqrt{2g}\frac{\sqrt{y}}{A(y)} where r = 0.1 the radius of the orifice, g = 32, y(0) = 8, initial volume = 512(pi/3), A(y) is the area of the cross section of the tank x units above the orifice, into a form f(y,t) so I can apply the Euler method.

I think A(y) is supposed to be t but I don't know how to rewrite it to become t.
 
y=y(t), so A(y)=A(y(t)) is a function of t.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top