Solving ODE with Data Points: Finding Equation and Integrating Method

  • Thread starter Thread starter RagincajunLA
  • Start date Start date
  • Tags Tags
    Ode
AI Thread Summary
To solve the ordinary differential equation h' = ah^b - ch^d using given data points, it is essential to estimate the constants a, b, c, and d. By applying methods for deriving a function's derivative from discrete data, one can treat the data as a high-order polynomial approximation. This leads to a non-linear fitting problem where the estimated derivatives h'i can be used to find the constants. Various algorithms and software are available to facilitate this fitting process. Alternatively, Wolfram Alpha can be utilized for integration, although it may involve complex functions like the hypergeometric function.
RagincajunLA
Messages
19
Reaction score
0
hey guys, i was given some data points and i had to find an equation to fit the model. now my differential equation is h'= ah^b - ch^d with b < 0. I can't find any method for integrating because i don't know the constants in the equation. but i have the data points so that must help somehow. i also know the maximum and minimum of the data points. someone please help me figure out how to integrate this.
 
Physics news on Phys.org
If your task is to find constants a, b, c, and d, such that h(t) satisfying dh/dt = ah^b - ch^d fits the given points (hi, ti), then finding general solution to h(t) might be a backwards way of doing things.

There exist methods for finding a derivative of a function at a point given some discrete data set. These are approximate, but they essentially assume that your data is a high-order polynomial, and the solution to your ODE can be at least approximated with one.

So, use your set of hi and ti to find estimates for h'i. Now you have a standard non-linear fitting problem f(hi,a,b,c,d) = h'i. There are a number of ready algorithms and programs that can take care of both steps.
 
Otherwise if you are daring you can try wolframalpha.com [integrate 1/(a*x^b - c*x^d)]. Spoiler: you'll have to like the hypergeometric function
 
comparing a flat solar panel of area 2π r² and a hemisphere of the same area, the hemispherical solar panel would only occupy the area π r² of while the flat panel would occupy an entire 2π r² of land. wouldn't the hemispherical version have the same area of panel exposed to the sun, occupy less land space and can therefore increase the number of panels one land can have fitted? this would increase the power output proportionally as well. when I searched it up I wasn't satisfied with...
Back
Top