单窗口多曲线绘图 t=0:pi/100:2*pi; y=sin(t);y1=sin(t+0.25);y2=sin(t+0.5); plot(t,y,t,y1,t,y2)
单窗口多曲线绘图
t=0:pi/100:2*pi;
y=sin(t);y1=sin(t+0.25);y2=sin(t+0.5);
plot(t,y,t,y1,t,y2)
单窗口多曲线绘图
t=0:pi/100:2*pi;
y=sin(t);y1=sin(t+0.25);y2=sin(t+0.5);
plot(t,y,t,y1,t,y2)
第2题
在不同图形窗口中分别绘出y=sin(t)、y1=sin(t+0.785)、y2=sin(t+1.57)的图形。程序如下:
t=0:pi/100:2*pi;
y=sin(t);y1=sin(t+0.785);y2=sin(t+1.57);
plot(t,y)
figure(2)
plot(t,y1)
figure(3)
plot(t,y2)
第3题
在当前图形窗口中分别绘出y=cos(t)、y1=cos(t+0.0.785)、y2=cos(t+1.57)的图形。程序如下:
t=0:pi/100:2*pi;
y=cos(t);y1=cos(t+0.785);y2=cos(t+1.57);
subplot(1,3,1);plot(t,y)
hold on
subplot(1,3,2);plot(t,y1)
hold on
subplot(1,3,3);plot(t,y2)
hold off
第4题
用不同线型和颜色绘图
x=0:pi/100:2*pi;
y1=sin(x);
y2=cos(x);
plot(x,y1,'go',x,y2,'b=.')
其中参数“go”和“b-.”表示图形的颜色和线型。g表示绿色,o表示图形线型为圆圈;b表示蓝色,-.表示图形线型为点画线。
第5题
t=0:0.1:10
y1=sin(t);y2=cos(t);
plot(t,y1,'r',t,y2,'b=');
x=[1.7*pi;1.6*pi];
y=[-0.3;0.8];
s=['sin(t)';'cos(t)'];
text(x,y,s);
title('正弦和余弦曲线');
legend('正弦','余弦')
xlabel('时间t'),ylabel('正弦、余弦')
grid on
axis square
第6题
A.使标准曲线通过坐标原点
B.使测量中c--T为线性关系
C.使测量符合比耳定律,不发生偏离
D.使所测吸光度A值真正反应的是待测物的A值
第7题
A.使测量中C-T呈线性关系
B.使标准曲线通过坐标原点
C.使测量符合比尔定律,不发生偏离
D.使所测吸光度A值真正反映的是待测物的A值
第8题
下列程序的运行结果为【 】。 include<math.h> include<stdio.h> main() { int s=1; float n=1,pi=0; double t=1; while(fabs(t)>=2e-6) { pi+=t; n+=2; s=-s; t=s/n; } pi*=4; printf("pi=%.6f\n",pi); }
第9题
用简易蠕变仪测定软PVC薄膜的蠕变数据如下表。(样品100×6×0.09mm3,砝码质量200g)
t/min | 0 | 0.1 | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 25 |
ε | 0 | 0.07 | 0.16 | 0.20 | 0.215 | 0.225 | 0.23 | 0.24 | 0.245 | 0.255 | 0.26 | 0.265 | 0.275 |
t/min | 30 | 35 | 40 | 45 | 50 | 55 | 60 | 65 | 70 | 撤除砝码后 | |||
ε | 0.285 | 0.29 | 0.295 | 0.3 | 0.305 | 0.31 | 0.315 | 0.32 | 0.325 | ||||
t/min | 70.1 | 72 | 74 | 76 | 78 | 80 | 90 | 100 | 110 | 120 | 130 | 140 | 150 |
ε | 0.255 | 0.20 | 0.15 | 0.12 | 0.105 | 0.10 | 0.085 | 0.075 | 0.07 | 0.065 | 0.065 | 0.06 | 0.06 |
画出蠕变和蠕变回复曲线,从图中求出ε1、ε2和ε3,从直线部分的斜率求PVC的本体黏度η。
第10题