楼主: lby1234562000
3101 0

[问答] ritz galerkin method解偏微分方程 [推广有奖]

  • 0关注
  • 0粉丝

高中生

80%

还不是VIP/贵宾

-

威望
0
论坛币
-6 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
183 点
帖子
20
精华
0
在线时间
51 小时
注册时间
2009-8-9
最后登录
2014-3-22

楼主
lby1234562000 发表于 2011-3-29 00:22:38 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请教有谁用过matlab编过ritz galerkin method解偏微分方程的马?
Consider the two-point boundary value problem
􀀀y00 + y = (2 + 1) sin(x); x 2 (0; 1)
y(0) = 1; y0(1) = 1
2 e 􀀀 1
e  􀀀 
(1)
It is easy to verify that the solution to this problem is
y(x) =
1
2 ex + e􀀀x + sin(x)
(Note that MatLab has a built-in value for . Read \help pi" in MatLab. Moreover,
you can compute e in MatLab from exp(1).)
Write a MatLab program that uses the Ritz-Galerkin method with piecewise linear chapeau
(i.e., hat) basis functions (de ned on page 176 of your textbook) on an equally
spaced grid to solve the two-point boundary value problem (1). That is, let the gridpoints
be xi = ih for i = 0; 1; : : : ;m and h = 1=m, where m is an integer. (See below
for the choices of m.)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:galerkin Method 偏微分方程 Gale 微分方程 微分方程 Method ritz galerkin

徐志膜

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-30 11:57