首页 > 其他分享 >THE UNIVERSITY OF MANCHESTER-NUMERICAL ANALYSIS 2Final Exam2021

THE UNIVERSITY OF MANCHESTER-NUMERICAL ANALYSIS 2Final Exam2021

时间:2024-09-03 10:22:26浏览次数:5  
标签:2Final function phi Exam2021 UNIVERSITY polynomials int x2 mathrm

2. (a) Briey describe how orthogonal polynomials can be used to fi nd the nodes of Gaussian quadra-ture rules for a weighted integral ∫ a b f ( x ) w ( x ) d x . \int_{a}^bf(x)w(x)\mathrm{d}x. ∫ab​f(x)w(x)dx.(b) Using your described approach to find the nodes, and then the method of undetermined coefficients to find the weights, derive the Gauss quadrature rule of the form, ∫ − 1 1 f ( x ) ( 1 − x 2 ) 1 / 2   d x ≈ w 0 f ( x 0 ) + w 1 f ( x 1 ) . \int_{-1}^{1}f(x)(1-x^{2})^{1/2}\,\mathrm{d}x\approx w_{0}f(x_{0})+w_{1}f(x_{1}). ∫−11​f(x)(1−x2)1/2dx≈w0​f(x0​)+w1​f(x1​).You may use the following facts without proof: ϕ 0 ( x ) = 1 , ϕ 1 ( x ) = x , ϕ 2 ( x ) = x t , ϕ 2 ( x ) = x 2 − 1 / 4. \phi_{0}(x)=1, \phi_{1}(x)=x, \phi_{2}(x)= x t, \phi_{2}(x)=x^{2}-1/4. ϕ0​(x)=1,ϕ1​(x)=x,ϕ2​(x)=xt,ϕ2​(x)=x2−1/4. are orthogonal polynomials w.r.t. the weight function w ( x ) = ( 1 − x 2 ) 1 / 2 w(x)=(1-x^{2})^{1/2} w(x)=(1−x2)1/2 on ( − 1 , 1 ) (-1,1) (−1,1), and ∫ − 1 1 ( 1 − x 2 ) 1 / 2 d x = π / 2. \int_{-1}^1(1-x^{2})^{1/2}\mathrm{d}x=\pi/2. ∫−11​(1−x2)1/2dx=π/2.

Ans:

4. Let f ∈ [ − 1 , 1 ] f\in [-1,1] f∈[−1,1] and let p n p_n pn​ be the best weighted L 2 L_2 L2​ approximation to f f f from polynomials of degree at most n n n with respect to the weight function w ( x ) = ( 1 − x 2 ) − 1 / 2 w(x)=(1-x^{2})^{-1/2} w(x)=(1−x2)−1/2 on ( − 1 ; 1 ) . (-1; 1). (−1;1).

标签:2Final,function,phi,Exam2021,UNIVERSITY,polynomials,int,x2,mathrm
From: https://blog.csdn.net/weixin_42794212/article/details/139034551

相关文章

  • The American University in Cairo CSEA End of Winter Break Contest 2023
    链接:https://codeforces.com/gym/104168\(\\\)ADivisorDifference签到,输出\(n-1\)即可,复杂度\(O(1)\)。点击查看代码#pragmaGCCoptimize("unroll-loops,Ofast")#include<bits/stdc++.h>usingnamespacestd;usingi64=longlong;#defineendl&......
  • [University CodeSprint 4] Drawing Rectangles (扫描线 + 最小点覆盖)
    [UniversityCodeSprint4]DrawingRectangles扫描线+最小点覆盖题目的形式一看就是扫描线,观察到矩形的并面积\(\le3\times10^5\),所以可以直接把这些位置找出来。这部分的复杂度是\(O(n\logn)\)。然后剩下的部分就是一个经典的最小点覆盖问题。具体的说,构造二分图,左边代......
  • [Hackerrank University Codesprint 5] Sword profit (李超线段树)
    [HackerrankUniversityCodesprint5]Swordprofit李超线段树考虑大力推式子。写出在第\(i\)所商店的第\(k\)把剑在第\(j\)所商店卖掉的价格。\[\text{profit}=\max(0,q_i-(j-i)\cdotd_i-r_j)-(a_i+k\cdotb_i)\]显然利益一定要是正的才有价值,所以\(\max\)可以改到......
  • 王立志等(Iowa State University):一种用于作物产量预测的 CNN-RNN 框架
    这是美国爱荷华州立大学工业工程系王立志老师联合同校老师发表的一篇文章。Front.PlantSci.虽然影响因子不高(大家应该都知道偏应用的数量遗传学发表的期刊普遍不高),但本文的引用还是蛮高的,好像是年度最佳论文之一吧。本文介绍了一种基于深度学习的框架,用于预测作物产量。该框架......
  • The 18-th Beihang University Collegiate Programming Contest (BCPC 2023) - Final
    https://codeforces.com/gym/104883A#include<bits/stdc++.h>usingnamespacestd;usingi32=int32_t;usingi64=longlong;usingvi=vector<int>;i32main(){ios::sync_with_stdio(false),cin.tie(nullptr);i64n,sum=0;c......
  • CF1717E Madoka and The Best University
    CF1717EMadokaandTheBestUniversity简化题意求\(\sum\operatorname{lcm}(c,\gcd(a,b))\thinspace(a+b+c=n\thinspace,a,b,c\inZ^+)\)。做法由于我们只要知道其中两个数的值就能确定第三个数,所以只需要枚举两个数即可,这里考虑枚举\(c\)和\(a\)。设答案......
  • CF1916E Happy Life in University
    关于我赛时线段树忘了开四倍空间导致白吃了一发罚时这档逝原题传送门约定\(x\)子树内的叶子称为\(x\)的叶子。与\(x\)颜色相同的点称为\(x\)的同色点或\(x\)色点。所有在\(x\)子树内的、到\(x\)的路径上(两端不含)没有\(x\)的同色点的\(x\)的同色点称为\(x\)......
  • academy和college "University"
    一文告诉你academy和college区别FFF看世界2024-01-2221:41上海哈利波特中的学院就是Academy"Academy"和"College"在一些语境中可能有交叉使用,但它们通常表示不同类型的教育机构。这里是它们的一般区别:Academy(学院):"Academy"一词通常指的是一所高中或中......
  • 浙江科技大学(Zhejiang University of Science and Technology)
    浙江科技大学(ZhejiangUniversityofScienceandTechnology)为浙江省属全日制本科高校,是一所具有硕士、学士学位授予权和外国留学生、港澳台学生招生权的特色鲜明的应用型省属本科高校,主校区位于杭州西湖区小和山高教园区,分校区位于安吉教科文新区,是教育部首批“卓越工程师教育培......
  • 信阳 信阳农林学院 Xinyang Agriculture and Forestry University 简 称信阳农林
    信阳农林学院外文名XinyangAgricultureandForestryUniversity简    称信阳农林·XinyangA&FUniversity(XYAFU) 历史沿革1910年(清宣统二年)学校在私立淮西中等学堂旧址(今汝南县城关)创建,校名为汝宁府中等实业学堂。1911年改称汝宁府官立甲种农业学校。1......