早教吧 育儿知识 作业答案 考试题库 百科 知识分享

用matlab画ezplot隐函数,不出曲线syms x2 t;>> ezplot('1.06*(3.397+2.3982/(1-0.09311/x2/x2)+2.164/(1-950/x2/x2))/x2+(1-1.06/x2)*(3.397+2.3982/(1-0.09311*(1/1.06-1/x2)^2)+2.164/(1-950*(1/1.06-1/x2)^2))=2.4521*2.399/((2.4521*sin(t))^2+(2.399*cos(

题目详情
用matlab画ezplot隐函数,不出曲线
syms x2 t;
>> ezplot('1.06*(3.397+2.3982/(1-0.09311/x2/x2)+2.164/(1-950/x2/x2))/x2+(1-1.06/x2)*(3.397+2.3982/(1-0.09311*(1/1.06-1/x2)^2)+2.164/(1-950*(1/1.06-1/x2)^2))=2.4521*2.399/((2.4521*sin(t))^2+(2.399*cos(t))^2)')
>>
为什么不出曲线啊 晕死.
▼优质解答
答案和解析
我知道了.
syms x2 t;
f=1.06*(3.397+2.3982/(1-0.09311/x2/x2)+2.164/(1-950/x2/x2))/x2+(1-1.06/x2)*(3.397+2.3982/(1-0.09311*(1/1.06-1/x2)^2)+2.164/(1-950*(1/1.06-1/x2)^2))-2.4521*2.399/((2.4521*sin(t))^2+(2.399*cos(t))^2)
t=-pi:pi;
f1=subs(f)
for k=1:length(f1)
x2=solve(f1(k))
end
运行结果:
x2 =

1.0250097104059782021421358099108
1.0980469984021719325003469549124
30.591896001968415868908339984933
.20157399195668532730219297349672+.11920913892629584696946417942134*i
-.22414288262807120044180913911030+.17832820285274900068372058498564*i
-.55470344666696555174863098080614e-16
-31.051766236766746553491095315598
-.22414288262807120044180913911030-.17832820285274900068372058498564*i
.20157399195668532730219297349672-.11920913892629584696946417942134*i



x2 =

1.0250081462663096061458569765349
1.0980451415476579080106237253884
30.593337353798590163809655664859
.20219823177806939537697635911424+.11876046829217747685509692836763*i
-.22522493694832035994593799498327+.17793611650993627904919017644924*i
-.54746529226895465613697552366230e-16
-31.050330837322582517474813623093
-.22522493694832035994593799498327-.17793611650993627904919017644924*i
.20219823177806939537697635911424-.11876046829217747685509692836763*i



x2 =

1.0250078951328925812561076301079
1.0980448434536815271671854363533
30.593568757299522135699118018247
.20229807672938879772778263075711+.11868834192559091201295395969140*i
-.22539828294904132494623747658926+.17787273967565643208924376400985*i
-.54631243447179640660623577102389e-16
-31.050100385992615321126827900549
-.22539828294904132494623747658926-.17787273967565643208924376400985*i
.20229807672938879772778263075711-.11868834192559091201295395969140*i



x2 =

1.0250096647852556401651234354248
1.0980469442383390957932935015489
30.591938043733146866446298356649
.20159225716570190980937573810926+.11919606617789707577683226980942*i
-.22417450139725445438350609813339+.17831683151774944439345452416796*i
-.55449091297220726844147210288576e-16
-31.051724369149032354368463388830
-.22417450139725445438350609813339-.17831683151774944439345452416796*i
.20159225716570190980937573810926-.11919606617789707577683226980943*i



x2 =

1.0250084362519264117697493354978
1.0980454857716562253978626704321
30.593070145133451907185049646559
.20208280941975496564865962836937+.11884372230477457007772327624776*i
-.22502464092878850186167866046326+.17800915199990883865805933913652*i
-.54879968128846363529784700182746e-16
-31.050596945295370851856907778648
-.22502464092878850186167866046326-.17800915199990883865805933913652*i
.20208280941975496564865962836937-.11884372230477457007772327624776*i



x2 =

1.0250077011856695313921226756863
1.0980446132463737451997321635228
30.593747464421836214853977618387
.20237511403345409021089177588256+.11863262262080689455718917119347*i
-.22553208340148514364340320954898+.17782371408827912091195733415095*i
-.54542383798518309725071586907327e-16
-31.049922413552600456921587186811
-.22553208340148514364340320954898-.17782371408827912091195733415095*i
.20237511403345409021089177588256-.11863262262080689455718917119347*i



x2 =

1.0250095321150422455209407941118
1.0980467867257075423408357507238
30.592060305129613204155271280152
.20164535449231408877668887240988+.11915804457058588955486131636633*i
-.22426643216552808316573994004338+.17828374036931456783149046757102*i
-.55387332913626521177074829464945e-16
-31.051602614008788674788377845693
-.22426643216552808316573994004338-.17828374036931456783149046757102*i
.20164535449231408877668887240988-.11915804457058588955486131636633*i

可以看出,x2与t无关.