摘要
本文介绍了蒙特卡罗方法的主要思想和理论基础,以一维定积分与二维定积分为例,应用蒙特卡罗方法借助R语言模拟计算定积分的值,并给出结果的相对误差与样本量的关系.
This paper introduces the main idea and theoretical basis of Monte Carlo method.Taking one-dimensional and two-dimensional definite integrals as examples, the values of the definite integrals are simulated by Monte Carlo method using R language, and the relationship between the relative error of the result and the sample size is given.
作者
张艳
ZHANG Yan(Pearl River College,Tianjin University of Finance and Economics,Tianjin 301811)
出处
《高等数学研究》
2023年第1期44-46,61,共4页
Studies in College Mathematics
基金
天津财经大学珠江学院重大项目预先研究项目(ZJZD2008)。
关键词
蒙特卡罗方法
定积分
误差
Monte Carlo method
definite integral
error