首页 > 其他分享 >Taylor series Explicit Euler Implicit Euler

Taylor series Explicit Euler Implicit Euler

时间:2023-12-24 22:11:39浏览次数:31  
标签:Taylor mathbf big series right Delta frac Euler left

1 Taylor series

\[\begin{gathered}\sum_{n=0}^{\infty}\frac{f^{(n)}\left(a\right)}{n!}\left(x-a\right)^{n}\\f\left(a\right)+\frac{f^{\prime}\left(a\right)}{1!}(x-a)+\frac{f^{\prime\prime}\left(a\right)}{2!}(x-a)^{2}+\frac{f^{\prime\prime\prime}\left(a\right)}{3!}(x-a)^{3}+\ldots\end{gathered} \]

\[y(t+\Delta t)=y(t)+\Delta ty'(t)+\frac{1}{2}\Delta t^{2}y''(t)+\frac{1}{3!}\Delta t^{3}y'''(t)+... \]

2 Explicit Euler

image

\[\Delta{t} = t_1 - t_0 \]

\[\begin{aligned} \int_{t^{[0]}}^{t^{[1]}}\mathbf{v}(t)dt& =\Delta t\mathbf{v}\big(t^{[0]}\big)+\frac{\Delta t^{2}}{2}\mathbf{v}'\big(t^{[0]}\big)+\cdots \\ &=\Delta t\left.\mathbf{v}(t^{[0]}) + O(\Delta t^2)\right. \end{aligned} \]

\[\mathbf{x}\big(t^{[1]}\big) - \mathbf{x}\big(t^{[0]}\big) = [\text{Taylor at } \mathbf{x}\big(t^{[1]}\big) \text{ based on } \mathbf{x}\big(t^{[0]}\big)] - \mathbf{x}\big(t^{[0]}\big) \]

3 Implicit Euler

image

\[\Delta{t} = t_1 - t_0 \]

\[\begin{aligned} \int_{t^{[0]}}^{t^{[1]}}\mathbf{v}(t)dt& =\Delta t\mathbf{v}\big(t^{[1]}\big)-\frac{\Delta t^{2}}{2}\mathbf{v}'\big(t^{[1]}\big)+\cdots \\ &=\Delta t\left.\mathbf{v}(t^{[1]})+O(\Delta t^2)\right. \end{aligned} \]

\[\mathbf{x}\big(t^{[1]}\big) - \mathbf{x}\big(t^{[0]}\big) = \mathbf{x}\big(t^{[1]}\big) - [\text{Taylor at } \mathbf{x}\big(t^{[0]}\big) \text{ based on } \mathbf{x}\big(t^{[1]}\big)] \]

X ref

  1. Euler's Method, Taylor Series Method, Runge Kutta ... Brown University
  2. Mathew Mariani Midpoint Integration
  3. GAMES103: Intro to Physics-Based Animation by Rigid Body Dynamics

标签:Taylor,mathbf,big,series,right,Delta,frac,Euler,left
From: https://www.cnblogs.com/asmurmur/p/17924955.html

相关文章

  • Pandas数据分析实战(Pandas in action)第3章 Series 方法
    Pandas数据分析实战第3章Series方法read_csv()导入数据集pd.read_csv(filepath_or_buffer="./file/chapter_03/pokemon.csv")#或者pd.read_csv("./file/chapter_03/pokemon.csv")PokemonType0BulbasaurGrass/Poison1......
  • Pandas数据分析实战(Pandas in action)第2章 Series 对象
    Pandas数据分析实战第2章SeriesSeries是Pandas的核心数据结构之一,是一个用于同构数据的一维标记数组。Series可以设置索引,没有设置的话,Pandas会设置默认的索引,从0开始的线性索引。创建一个Series对象importpandasaspdpd.Series()Series([],dtype:objec......
  • python 浮点数 round 舍一法 向零取整 df 数组 Series 三种数据类型实现
    介绍:python的round函数,默认进行四舍五入,我需要将3.45保留一位小数,3.4 一、一般格式使用Python的内置函数 math.floor() 来向下取整到指定的小数位数。例如,如果你想保留小数点后一位并向下取整,可以这样做:importmathnum=3.45rounded_num=math.floor(num*10)/......
  • Sam Altman当选“TIME时代周刊”2023年度最佳CEO!还有梅西、Taylor Swift当选...
    TIME时代周刊昨日在官网公布了2023年最佳CEO——SamAltman当选!此外,TaylorSwift当选年度最佳人物,梅西当选年度最佳运动员。SamAltman的当选可谓是实至名归!没有谁能比火爆全球的ChatGPT背后,OpenAI的CEO更“成功”了。今年SamAltman成功实现两次爆火,第一次是ChatGPT的发布,如果说......
  • 泰勒图(Taylor Diagrams)学习
    参考自https://climatedataguide.ucar.edu/climate-tools/taylor-diagrams, https://pcmdi.llnl.gov/staff/taylor/CV/Taylor_diagram_primer.pdf泰勒图(Taylor,2001)提供了一种以图形方式总结一个模态(或一组模态)与观测的匹配程度的方式。两种模式之间的相似性是由它们的相关性、它......
  • 解释pandas.Series.rename_axis
    https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.rename_axis.html`pandas.Series.rename_axis`是一个用于设置索引或列轴名称的函数¹。以下是该函数的一些参数¹:-`mapper`:可选,标量或类似列表。用于设置轴名称属性的值。-`index`,`columns`:可选,标......
  • 解释 pandas.series.rename函数的每个参数
    `pandas.Series.rename`是一个用于更改Series索引标签或名称的函数¹。以下是该函数的一些参数¹:-`index`:可选,标量,可哈希序列,类似字典或函数。函数或类似字典的对象是应用于索引的转换。标量或可哈希的序列将改变Series的`name`属性¹。-`axis`:默认为0。未使用。需要此......
  • 如何在pandas.series.str.contains中匹配以".xls"开头的行
    是的,.在正则表达式中是一个特殊字符,它匹配除了换行符以外的任何字符。如果你想要匹配一个实际的.字符,你需要在它前面加上一个反斜杠\来进行转义。因此,'\.'在正则表达式中表示一个.字符。例如,如果你想要匹配字符串".xls",你需要使用正则表达式'\.xls'。这个正则表达式匹配以.字符开始......
  • 用VMware Workstation安装openEuler配置opengauss并连接Django 详细教程
    1.下载准备openEuler22.03LTSSP2下载链接:openEuler下载|欧拉系统ISO镜像|openEuler社区官网下载第一个就可以了,之后配置的时候直接勾选上opengauss,不用下载第二个的(太大了)VMwareWorkstation17Player下载链接:https://www.vmware.com/products/workstation-player/workstat......
  • Grafana学习(4)——Time series dimensions
    InIntroductiontotimeseries,theconceptoflabels,alsocalledtags,isintroduced:AnotherfeatureofaTSDBistheabilitytofiltermeasurementsusingtags.Eachdatapointislabeledwithatagthataddscontextinformation,suchaswheret......