数字运算
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of i...
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of i...
这里有2组图,“1000.0.05”这一组是运行结果比较好的一组图,但是当时修改了时间间隔而没有改坐标说明,所以db1000.0.05.fig这幅图的坐标说明后来做了人工改正(应该是“time(0~250ms分成5000组,步长0.05ms”)。...
《角度测量器》 用光电编码器测量角度,每个脉冲为0.72度。 测量范围:0.0~360.0度 为保证不错过脉冲,用timer1计数,在电平跳变中断里判断转动方向,尽量加快处理过程。 数据换算和数码管扫描显示在主循环中实现。 译码器用10米长5芯屏蔽线与数显器的两片74HC595连接。 M...
本程序为tcl程序,用于以ns2模拟ad hoc network. 本程序实作50个 nodes 在1000 * 1000公尺内随意移动的ad hoc network....
串口采集数据,然后由网口发送出去,linux c编程...