边值问题导论

D. Gleich
{"title":"边值问题导论","authors":"D. Gleich","doi":"10.1142/9789813274037_0001","DOIUrl":null,"url":null,"abstract":"1 # We use a grid representation of the function u(x) on [0, 1] 2 # so we divide [0, 1] up into N + 1 increments of 1/N each. 3 4 N = 10 5 xgrid = collect(0:1/N:1) 6 7 # This means that u is a vector with n = N+1 elements, 8 # but two of them are fixed at alpha and beta. 9 10 n = length(xgrid) 11 12 example_u = zeros(n); 13 example_u[1] = 1 # suppose alpha = 1 14 example_u[end] = 1/2 # suppose beta = 1/2 15 16 example_u[2:end-1] = 1.06-1*(xgrid[2:end-1]-0.25).^2; 17 18 plot(xgrid, example_u)","PeriodicalId":140610,"journal":{"name":"Ordinary Differential Equations and Boundary Value Problems","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Introduction to Boundary Value Problems\",\"authors\":\"D. Gleich\",\"doi\":\"10.1142/9789813274037_0001\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"1 # We use a grid representation of the function u(x) on [0, 1] 2 # so we divide [0, 1] up into N + 1 increments of 1/N each. 3 4 N = 10 5 xgrid = collect(0:1/N:1) 6 7 # This means that u is a vector with n = N+1 elements, 8 # but two of them are fixed at alpha and beta. 9 10 n = length(xgrid) 11 12 example_u = zeros(n); 13 example_u[1] = 1 # suppose alpha = 1 14 example_u[end] = 1/2 # suppose beta = 1/2 15 16 example_u[2:end-1] = 1.06-1*(xgrid[2:end-1]-0.25).^2; 17 18 plot(xgrid, example_u)\",\"PeriodicalId\":140610,\"journal\":{\"name\":\"Ordinary Differential Equations and Boundary Value Problems\",\"volume\":\"14 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-09-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Ordinary Differential Equations and Boundary Value Problems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1142/9789813274037_0001\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ordinary Differential Equations and Boundary Value Problems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1142/9789813274037_0001","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

1 # 我们使用网格表示 [0, 1] 上的函数 u(x) 2 # 因此,我们将 [0, 1] 分成 N + 1 个增量,每个增量为 1/N。3 4 N = 10 5 xgrid = collect(0:1/N:1) 6 7 # 这意味着 u 是一个有 n = N+1 个元素的向量,8 # 但其中两个元素固定为 alpha 和 beta。9 10 n = length(xgrid) 11 12 example_u = zeros(n); 13 example_u[1] = 1 # 假设 alpha = 1 14 example_u[end] = 1/2 # 假设 beta = 1/2 15 16 example_u[2:end-1] = 1.06-1*(xgrid[2:end-1]-0.25).^2; 17 18 plot(xgrid, example_u)
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Introduction to Boundary Value Problems
1 # We use a grid representation of the function u(x) on [0, 1] 2 # so we divide [0, 1] up into N + 1 increments of 1/N each. 3 4 N = 10 5 xgrid = collect(0:1/N:1) 6 7 # This means that u is a vector with n = N+1 elements, 8 # but two of them are fixed at alpha and beta. 9 10 n = length(xgrid) 11 12 example_u = zeros(n); 13 example_u[1] = 1 # suppose alpha = 1 14 example_u[end] = 1/2 # suppose beta = 1/2 15 16 example_u[2:end-1] = 1.06-1*(xgrid[2:end-1]-0.25).^2; 17 18 plot(xgrid, example_u)
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信