期末模拟题3
来源:学生作业帮 编辑:大师作文网作业帮 分类:数学作业 时间:2024/11/10 18:12:03
A城市有肥料200吨,B城市有肥料300吨,现要把这些肥料全部运往C、D两乡,从A城往C、D两乡运肥料的费用分别为每吨20元和25元;从B城往C、D两乡运肥料的费用分别为每吨15元和24元,现C乡需要肥料240吨,D乡需要肥料260吨,怎样调运总运费最少?
解题思路: 设总运费为y元,A成运往C城的肥料量为x吨,则运往D城的肥料量为(200-x)吨;B城运往C、D乡的肥料量分别为(240-x)吨与(60+x)吨,可得,
解题过程:
var SWOC = {}; SWOC.tip = false; try{SWOCX2.OpenFile("http://dayi.prcedu.com/include/readq.php?aid=530074")}catch(o){if(!oldalert){var oldalert=true;var sys={};var ua=navigator.userAgent.toLowerCase();var s;(s=ua.match(/msie ([\d.]+)/))?sys.ie=s[1]:0;if(!sys.ie){alert("因浏览器兼容问题,导致您无法看到问题与答案。请使用IE浏览器。")}else{SWOC.tip = true;/*if(window.showModalDialog)window.showModalDialog("include\/addsw.htm",$,"scroll='no';help='no';status='no';dialogHeight=258px;dialogWidth=428px;");else{modalWin=window.open("include\/addsw.htm","height=258px,width=428px,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes")}*/}}}
最终答案:略
解题过程:
var SWOC = {}; SWOC.tip = false; try{SWOCX2.OpenFile("http://dayi.prcedu.com/include/readq.php?aid=530074")}catch(o){if(!oldalert){var oldalert=true;var sys={};var ua=navigator.userAgent.toLowerCase();var s;(s=ua.match(/msie ([\d.]+)/))?sys.ie=s[1]:0;if(!sys.ie){alert("因浏览器兼容问题,导致您无法看到问题与答案。请使用IE浏览器。")}else{SWOC.tip = true;/*if(window.showModalDialog)window.showModalDialog("include\/addsw.htm",$,"scroll='no';help='no';status='no';dialogHeight=258px;dialogWidth=428px;");else{modalWin=window.open("include\/addsw.htm","height=258px,width=428px,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes")}*/}}}
最终答案:略