Hi(adsbygoogle = window.adsbygoogle || []).push({});

The equation is:

[tex]\frac{dP}{dt}-A*\frac{{d}^2P}{dx^2}-B*\frac{dC}{dt}=0[/tex]

dP/dt=A*d2P/dx^2 was solved using a finite difference method. If the function C(x,t) is known, is it possible to solve the whole equation by using the finite difference solution as a supplement to the complete solution. I mean solving dP/dt = B*dC/dt, and add them together or something. In case, how do I go about it?

Im using matlab and from the first finite difference solution I have an matrix for P(x,t) with all values for different x and t, and I also have a matrix for C(x,t) with all values for x and t. What I did was adding the P matrix with the C matrix multiplied with B , which have equal size. When the result was not as I wanted I tried adding the P matrix with P(matrix)+B*C(matrix), so I had 2*P(matrix) + B*C(matrix). Then I got a result which looked alright, but obviosuly it is just a shot in the dark, and not "math".

Im not very good at math as you might notice

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Help on PDE

Loading...

Similar Threads - Help | Date |
---|---|

I Need a help in solving an equation (probably differentiation | Nov 20, 2017 |

A Please help with 2-variable partial differential equation | Nov 4, 2016 |

A Need help with a differential equation | Oct 9, 2016 |

A Help solving non-linear ODE analytically | Sep 8, 2016 |

I Need help with a derivative solution | Aug 28, 2016 |

**Physics Forums - The Fusion of Science and Community**