Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
ACCC1380
/
duifenyi
like
0
Dataset card
Files
Files and versions
Community
ACCC1380
commited on
May 6, 2024
Commit
2bca7ce
·
verified
·
1 Parent(s):
698a7f9
Update 定积分作业.m
Browse files
Files changed (1)
hide
show
定积分作业.m
+5
-0
定积分作业.m
CHANGED
Viewed
@@ -4,3 +4,8 @@ f = @(x) log(1 + x) ./ (1 + x.^2);
4
5
% 计算定积分
6
jifen = integral(f, 0, 1)
4
5
% 计算定积分
6
jifen = integral(f, 0, 1)
7
+
8
+
%梯形
9
+
x=[0.3:0.2:1.5]
10
+
y=[0.3895,0.6598,0.9147,1.1611,1.3971,1.6212,1.8325]
11
+
I=trapz(x,y)