代码搜索结果
找到约 10,000 项符合
1 的代码
ch1_1view.cpp
// ch1_1View.cpp : implementation of the CCh1_1View class
//
#include "stdafx.h"
#include "ch1_1.h"
#include "ch1_1Doc.h"
#include "ch1_1View.h"
#include "mainfrm.h"
#include "DlgChaos.
ch1_1view.h
// ch1_1View.h : interface of the CCh1_1View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CH1_1VIEW_H__349D54B5_FC69_11D6_8259_5254AB2F7
ch1_1doc.cpp
// ch1_1Doc.cpp : implementation of the CCh1_1Doc class
//
#include "stdafx.h"
#include "ch1_1.h"
#include "ch1_1Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char T
ch1_1doc.h
// ch1_1Doc.h : interface of the CCh1_1Doc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CH1_1DOC_H__349D54B3_FC69_11D6_8259_5254AB2F740C
suanli1_1_3.m
%算例<mark>1</mark>.<mark>1</mark>.3,见课本第<mark>1</mark>7页
%首先网格剖分
xl=0.;
xr=pi;%左右端点
n=20;
h=(xr-xl)/n;%步长
%解差分格式形成的方程组
U=zeros(n-<mark>1</mark>,<mark>1</mark>);
aa=-<mark>1</mark>+h^2/<mark>1</mark>2;
bb=2+5/6*h^2;
A=diag(bb*ones(n-<mark>1</mark>,<mark>1</mark>))+diag(aa*ones(n-2,<mark>1</mark>),<mark>1</mark>)+diag(aa*ones(n-2,<mark>1</mark>),- ...
dxz1_1p.m
clear;close;
n=4;
r=[28 21 23 25 5]'/100;
q=[2.5 1.5 5.5 2.6 0]'/100;
p=[1 2 4.5 6.5 0]'/100;
u=[103 198 52 40 100]';
for lemda=linspace(0,1,300)
c=[(1-lemda)*(p-r);lemda];
A1=[(1+p)', 0