如何在C中求解微分方程 [英] How Do I Solve A Differential Equation In C

查看:118
本文介绍了如何在C中求解微分方程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试用C编写代码来解决大气辐射的比尔 - 兰伯特定律。我需要一个小的微分方程的C代码(供我参考),具有下限和上限以及积分



先谢谢

I have been trying to write a code in C to solve Beer-Lambert law for Atmospheric Radiation . I need C code for a small differential equation (for my reference) with lower and upper limits and integration

Thanks in Advance

推荐答案

您必须先学习Numerical Analyis。不是整个事情,只是差分方程部分。您可以进一步缩小范围,因为解决ODE和PDE的方法不同。



我之前使用的是Euler和Runge Kutta方法(用于ODE)。这些是数字技术。除非你说出什么样的等式,它的程度和顺序,否则不可能提出任何建议。
You must study Numerical Analyis first. Not the entire thing, just the differential equaions part. You can narrow it down further because solving ODE and PDE have different approaches.

I have previously used Euler and Runge Kutta methods (for ODE). These are numerical techniques. It's impossible to suggest anything unless you say what kind of equation, it's degree and order.


这篇关于如何在C中求解微分方程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆