matlab 中fprintfclear all; syms xy = (1500-x)*(1+0.0015*x);ezplot(y,[1000,2000]);dydx = diff(y,x);xsh= solve(dydx);ymax=subs(y,x,xsh);ezplot(y,[0 1500]) ;hold on;plot(xsh,ymax,'-ro'); grid on;hold off;fprintf('the best count is %d dollars/n',xsh)运
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/25 23:38:22
xAN0E2*Mwp ԅ;%l%^ge@1pHYX&qZl4秲2BR`ۍdFȸFarN&$Qڅm|BYF)kYG(K/Ʈ3ZӢ&un;=rߊ@kA֒V)*+`lt2}WY[sȹuPZ90-%5v\{s3>`ǯi| J.x;2$
GVXґZoȣ[pC=m2FP+Ȳ^תpBLiBq<