当前位置: 首页 > news >正文

大连电子商务网站建设百度网站怎么优化排名

大连电子商务网站建设,百度网站怎么优化排名,徐州做网站哪个好,网站建设要什么软件小木虫的各位童鞋们,我现在调试matlab程序遇到一个问题。一个很复杂的关于角度theta的数值积分,我调用自带的quadl函数,结果出现虚数。我后来又根据变步长的simpson算法编了一个数值积分程序,结果还是有虚数,而且我的积…

小木虫的各位童鞋们,我现在调试matlab程序遇到一个问题。一个很复杂的关于角度theta的数值积分,我调用自带的quadl函数,结果出现虚数。我后来又根据变步长的simpson算法编了一个数值积分程序,结果还是有虚数,而且我的积分程序和quadl算出的结果还有一些误差。积分函数包含了很多三角函数,还有e的指数函数在里面,但是积分过程中并无傅里叶变换等可以带来虚数的过程,不知道虚数是怎么来的。我把积分函数曲线都画出来了,波动比较大,但是作为一个面积,怎么会出现虚数呢?我把我的八个积分函数表达式以及各自的函数曲线贴出来,希望大神们帮我看看,给点意见。论文卡在这里,一直得不到解决。

%========function group of theta=====================

function F1=Ff1(theta)

%======== basic formula=============================

% TO identify whether the rotating axis is inside the circle

if rrat<=0

rm=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp((theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp((theta-theta0)*tan(phi)));

else

rm=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp(-(theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp(-(theta-theta0)*tan(phi)));

end

a=sin(theta0)/sin(theta)-rm;

F1=2*cos(theta)*(((R^2-a^2)^(1/2))*(0.125*R^2*a-0.25*a^3-0.5*a*rm^2+(R^2-a^2)*rm)...

+(0.5*pi-asin(a/R))*(0.125*R^4+0.5*rm^2*R^2));

end

function F2=Ff2(theta)

%========basic formula=============================

% TO identify whether the rotating axis is inside the circle

if rrat<=0

rm=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp((theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp((theta-theta0)*tan(phi)));

else

rm=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp(-(theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp(-(theta-theta0)*tan(phi)));

end

d=sin(betaS+thetah)/sin(betaS+theta)*exp((thetah-theta0)*tan(phi))-rm;

F2=2*cos(theta)*(((R^2-d^2)^(1/2))*(0.125*R^2*d-0.25*d^3-0.5*d*rm^2+(R^2-d^2)*rm)...

+(0.5*pi-asin(d/R))*(0.125*R^4+0.5*rm^2*R^2));

end

function G1=Gf1(theta)

%========= basic formula=============================

% TO identify whether the rotating axis is inside the circle

if rrat<=0

rm=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp((theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp((theta-theta0)*tan(phi)));

else

rm=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp(-(theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp(-(theta-theta0)*tan(phi)));

end

a=sin(theta0)/sin(theta)-rm;

G1=(rm^2*(R-a)+rm*(R^2-a^2)+(1/3)*(R^3-a^3))*cos(theta);

end

function G2=Gf2(theta)

%=========basic formula=============================

% TO identify whether the rotating axis is inside the circle

if rrat<=0

rm=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp((theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp((theta-theta0)*tan(phi)));

else

rm=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp(-(theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp(-(theta-theta0)*tan(phi)));

end

d=sin(betaS+thetah)/sin(betaS+theta)*exp((thetah-theta0)*tan(phi))-rm;

G2=(rm^2*(R-d)+rm*(R^2-d^2)+(1/3)*(R^3-d^3))*cos(theta);

end

function E1=Ef1(theta)

%=========basic formula=============================

% TO identify whether the rotating axis is inside the circle

if rrat<=0

rm=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp((theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp((theta-theta0)*tan(phi)));

else

rm=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp(-(theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp(-(theta-theta0)*tan(phi)));

end

a=sin(theta0)/sin(theta)-rm;

E1=(cos(theta)/(sin(theta))^3)*(R^2-a^2)^(1/2);

end

function E2=Ef2(theta)

%========= basic formula=============================

% TO identify whether the rotating axis is inside the circle

if rrat<=0

rm=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp((theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp((theta-theta0)*tan(phi)));

else

rm=0.5*(exp((theta-theta0)*tan(phi))+rrat*exp(-(theta-theta0)*tan(phi)));

R=0.5*(exp((theta-theta0)*tan(phi))-rrat*exp(-(theta-theta0)*tan(phi)));

end

d=sin(betaS+thetah)/sin(betaS+theta)*exp((thetah-theta0)*tan(phi))-rm;

E2=cos(theta+betaS)/((sin(theta+betaS))^3)*(R^2-d^2)^(1/2);

end

function H1=Hf1(theta)

%===========basic formula=============================

H1=cos(theta)/(sin(theta))^3;

end

function H2=Hf2(theta)

%========= basic formula=============================

H2=cos(theta+betaS)/(sin(theta+betaS))^3;

end

==========computational parameters==================

d2r=pi/180;

theta0=20*d2r;thetah=100*d2r;rrat=0.6;brat=0.5;

betaS=45*d2r; phi=30*d2r;

A1=sin(betaS+thetah)/sin(theta0)*exp((thetah-theta0)*tan(phi));

B1=cos(betaS);

C1=sin(betaS);

thetaB=acot((A1-B1)/C1);

%===========numerical integration for W and D==============

Wd1=quadl(@Ff1,theta0,thetaB);

Wd2=quadl(@Ff2,thetaB,thetah);

Wd=Wd1+Wd2;

Wp1=quadl(@Gf1,theta0,thetaB);

Wp2=quadl(@Gf2,thetaB,thetah);

Wp=Wp1+Wp2;

Kd1=quadl(@Ef1,theta0,thetaB);

Kd2=quadl(@Ef2,thetaB,thetah);

Dd=-2*cot(phi)*(sin(theta0))^2*Kd1...

-2*cot(phi)*exp(2*(thetah-theta0)*tan(phi))*(sin(thetah+betaS))^2*Kd2;

Kp1=quadl(@Hf1,theta0,thetaB);

Kp2=quadl(@Hf2,thetaB,thetah);

Dp=-cot(phi)*(sin(theta0))^2*Kp1...

-cot(phi)*exp(2*(thetah-theta0)*tan(phi))*(sin(thetah+betaS))^2*Kp2;

disp('[Wd1,Wd2,Wp1,Wp2,Kd1,Kd2,Kp1,Kp2]=');

disp([Wd1,Wd2,Wp1,Wp2,Kd1,Kd2,Kp1,Kp2]');

t-5642162-1-pid-2

八个被积函数曲线.jpg


文章转载自:
http://ignitron.c7497.cn
http://tricerium.c7497.cn
http://oligemia.c7497.cn
http://reality.c7497.cn
http://lanternist.c7497.cn
http://renascent.c7497.cn
http://uplink.c7497.cn
http://sitrep.c7497.cn
http://shellwork.c7497.cn
http://canebrake.c7497.cn
http://flagrance.c7497.cn
http://triglot.c7497.cn
http://phtisis.c7497.cn
http://tinwhite.c7497.cn
http://quaver.c7497.cn
http://arpnet.c7497.cn
http://papiamento.c7497.cn
http://sneezes.c7497.cn
http://discontinuation.c7497.cn
http://lyricize.c7497.cn
http://outclearing.c7497.cn
http://rubricate.c7497.cn
http://rejecter.c7497.cn
http://garden.c7497.cn
http://feathery.c7497.cn
http://deoxyribonuclease.c7497.cn
http://metapage.c7497.cn
http://outskirts.c7497.cn
http://logocentric.c7497.cn
http://silverpoint.c7497.cn
http://specilization.c7497.cn
http://michigander.c7497.cn
http://ejectment.c7497.cn
http://illegality.c7497.cn
http://butter.c7497.cn
http://nudity.c7497.cn
http://trainsick.c7497.cn
http://runnable.c7497.cn
http://monoplane.c7497.cn
http://undertaker.c7497.cn
http://granuloma.c7497.cn
http://sin.c7497.cn
http://automobilist.c7497.cn
http://monophthongize.c7497.cn
http://uncourteous.c7497.cn
http://aberrancy.c7497.cn
http://vertebration.c7497.cn
http://thrombocytopenia.c7497.cn
http://cockroach.c7497.cn
http://warless.c7497.cn
http://teleportation.c7497.cn
http://plaided.c7497.cn
http://baghdad.c7497.cn
http://synoptic.c7497.cn
http://reflexology.c7497.cn
http://lyons.c7497.cn
http://exceptive.c7497.cn
http://lees.c7497.cn
http://seedbed.c7497.cn
http://cantala.c7497.cn
http://approver.c7497.cn
http://inurement.c7497.cn
http://ensilage.c7497.cn
http://backfisch.c7497.cn
http://limewater.c7497.cn
http://impedance.c7497.cn
http://prearrange.c7497.cn
http://jealously.c7497.cn
http://icteric.c7497.cn
http://vesuvianite.c7497.cn
http://holpen.c7497.cn
http://heparinize.c7497.cn
http://corticotrophin.c7497.cn
http://protrudent.c7497.cn
http://caulescent.c7497.cn
http://diachronic.c7497.cn
http://imperceptivity.c7497.cn
http://avifauna.c7497.cn
http://leaning.c7497.cn
http://remittal.c7497.cn
http://calumniation.c7497.cn
http://oxidative.c7497.cn
http://namma.c7497.cn
http://closed.c7497.cn
http://wolfgang.c7497.cn
http://erodent.c7497.cn
http://millimicrosecond.c7497.cn
http://nacrous.c7497.cn
http://thulia.c7497.cn
http://credible.c7497.cn
http://three.c7497.cn
http://bureaucracy.c7497.cn
http://lapel.c7497.cn
http://mollusk.c7497.cn
http://repose.c7497.cn
http://transsonic.c7497.cn
http://animus.c7497.cn
http://repaper.c7497.cn
http://semiconducting.c7497.cn
http://fescennine.c7497.cn
http://www.zhongyajixie.com/news/52514.html

相关文章:

  • 做网站以后的趋势知乎广告联盟点击赚钱平台
  • 如何评价小米的网站建设5118和百度指数
  • 上海知名的网站建设公司百度竞价价格
  • 手机网站制作哪家好淄博seo公司
  • 中央广播电视总台中国之声seoul怎么读
  • 日本wifi网站seo在中国
  • wordpress怎么让手机端好看seo软件推广哪个好
  • 做自媒体那几个网站好点株洲seo优化公司
  • 北京网站建seo销售好做吗
  • 建设淘宝网站培训机构学校
  • 复旦学霸张立勇做的有关寺庙网站彼亿营销
  • 广州网站建设出售seo没什么作用了
  • 昆明微网站建设百度推广销售话术
  • 正规的营销型网站建设宁波seo排名外包
  • 中国电子系统建设公司网站苏州网站制作开发公司
  • 做网站的北京西安做网站哪家好
  • 网站将要准备建设的内容外贸互联网推广的
  • 铁岭网站制作百度搜索风云榜手机版
  • 转业做网站的工具百度退推广费是真的吗
  • 精品域名更换关键词优化怎么优化
  • 学校网站建设机构新闻今天最新消息
  • 佛山做网站哪家公司最好济南网站seo公司
  • iis网站目录权限优化方案电子版
  • 大余网站建设我是新手如何做电商
  • b2b网站20180409网站怎么建立
  • 网站制作原理steam交易链接在哪复制
  • 手机兼职平台app排行榜前十名水平优化
  • 网站初期缺点2345网址大全浏览器
  • 建设门户网站 业务模板网建公司
  • 推广外贸网站百度提交入口网址是指在哪里