ChaseDream
搜索
返回列表 发新帖
查看: 255|回复: 1
打印 上一主题 下一主题

PS: P, Z from 1-9, inclusive, 1P, Z5 are two numbers, if 5*1P = Z5, then value o

[复制链接]
楼主
发表于 2006-7-21 16:18:00 | 只看该作者

PS: P, Z from 1-9, inclusive, 1P, Z5 are two numbers, if 5*1P = Z5, then value o

机井上出了两道题:一道是求最小值:

101. P, Z from 1-9, inclusive,  1P, Z5 are two numbers, if 5*1P = Z5, then the least value of Z-P = ?

一道是求最大值:

190.   PS: P, Z from 1-9, inclusive, 1P, Z5 are two numbers, if 5*1P = Z5, then the least value of Z-P = ?

我碰到的题目一模一样,但是问最大值
                    

我想这两道题目都是一样的,具体解法如下:

由 5*1P = Z5=》5×(10+p)=10×z+5 ,整理得:p=2×z-9;

带入 Z-P =》 Z-P =9-z,注意这里得z一定要大于等于5,这是由条件5*1P 决定,所以当求最小值时,z=9=p ,z-p=0;

当求最大值时z=5(z一定要大于等于5),所以最大值 =4;

沙发
发表于 2006-7-21 16:20:00 | 只看该作者
0,4 同意
您需要登录后才可以回帖 登录 | 立即注册

Mark一下! 看一下! 顶楼主! 感谢分享! 快速回复:

手机版|ChaseDream|GMT+8, 2025-10-19 13:50
京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号

ChaseDream 论坛

© 2003-2025 ChaseDream.com. All Rights Reserved.

返回顶部