维修线性流量阀的内筒设计(程序)

%%%%%%%%%问题一模型
syms x
y1=(acos(1-4*x)-(8*x-16*x^2)^(1/2)*(1-4*x));
s=2*pi*x;
Y1=abs(y1-s);
Y2=Y1/s;
figure;
ezplot(y1,[0 0.5])
hold on
ezplot(s,[0 0.5])
figure;
ezplot(Y2,[0 0.5])
axis([0 0.5 0 2.5])
 
y2=2*(acos(1-2*x)-(4*x-4*x^2)^(1/2)*(1-2*x));
Y3=abs(y2-s);
Y4=Y3/s;
subplot(121)
ezplot(Y3,[0 0.5])
axis([0 0.5 0 2.5])
subplot(122)
ezplot(Y4,[0 0.5])
axis([0 0.5 0 2.5])
figure;
ezplot(y2,[0 0.5])
hold on
ezplot(s,[0 0.5])
%%%%%%%%%%%%%%%程序一
syms x
y1=(2*x-4*x^2)^1/2;
Y1=int(y1);  %不定积分
figure;
ezplot(Y1,[0 0.5])    %曲线
y2=x^2*16*pi/6;
figure;
ezplot(y2,[0 0.5])
y3=1.6*x+asin(0.05)-0.2*0.96^1/2;
figure;
ezplot(y3,[0 0.5])
figure;
y4=2*(acos(1-4*x)-(8*x-16*x^2)^(1/2)*(1-4*x));
ezplot(y4,[0 0.5])

%%%%%%%%%%%%%%%%改进的线性函数
syms x
y=2*pi*x;
y1=(acos(1-4*x)-(8*x-16*x^2)^(1/2)*(1-4*x));
ezplot(y,[0 0.48])
hold on
ezplot(y1,[0.48 0.5])
axis([0 0.5 0 4])

%%%%%%%%%%%%%%%%积分求面积
n=input('请输入: ');
y(1)=1/n;
for i=1:n
    y(i+1)=y(i)+(2*sqrt(1-(sqrt(7)/4/n*i)^2)*sqrt(7)/4/n);
end
p=2*y(n);
double(simplify(p))
    

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zgsslf

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值