早教吧作业答案频道 -->其他-->
用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;
>> 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无关.
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无关.
看了 用matlab画ezplot...的网友还看了以下:
口算.0.46-0.06=3.7+4.3=1+0.55=4.6-1.8=0.65+0.32=10- 2020-04-07 …
上面写不下,我写在下面填符号1.(1)1/2()0.4()3/10()0.1=1(2)1/2()0 2020-05-13 …
3.4-1.4= 7.82-7.2= 2.19+9.1= 10.1-0.89= 0.68+0.42 2020-05-15 …
Matlab绘图,该程序a=input('请输入a的值:');x=-10:0.1:10; y= 2020-05-16 …
看谁算行又对又快0.45÷0.05=4.3×0.5=1-0.08=600×0.01=0.65×1. 2020-05-17 …
ansys直接建立有限元模型问题finish/clear/prep7n,1,0,0,0n,2,0, 2020-05-17 …
0.9*0.9*0.9*0.9*0.9*0.9*0.9*0.9*0.9*0.9*循环0.9等于?0 2020-06-06 …
直接写得数:13.75-7.5=600÷15=6.4×1.25=0.1-0.1+0.1=0.1÷0 2020-07-18 …
1.2(x+1)/3=5(x+1)/6-12.x-3/0.5-x+4/0.2=1.63.2x/0. 2020-07-19 …
0.1*0.3*0.9+0.2*0.6*1.8+0.3*0.9*2.7/0.1*0.2*0.4+0 2020-07-26 …