-
1046.-Plane-Spotting
大多数自行车速度表工作通过使用霍尔效应传感器固定在自行车前叉。磁铁是附加到前轮上的辐条之一,它将与霍尔效应开关一次革命的车轮。速度计监测传感器计数轮革命。如果知道车轮的直径,距离可以很容易地计算如果你知道有多少革命的车轮。此外,如果时间完成革命,平均速度也可以计算出来。
对于这个问题,您将编写一个程序来确定总距离(英里)和平均速度(英里每小时)考虑到车轮直径,革命的数量和总时间的旅行。你可以假定前轮从未离开地面,并没有下滑或打滑。(Most bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attached to one of the spokes on the front wheel so that it will line up with the Hall Effect switch once per revolution of the wheel. The speedometer monitors the sensor to count wheel revolutions. If the diameter of the wheel is known, the distance traveled can be easily be calculated if you know how many revolutions the wheel has made. In addition, if the time it takes to complete the revolutions is known, the average speed can also be calculated.
For this problem, you will write a program to determine the total distance traveled (in miles) and the average speed (in Miles Per Hour) given the wheel diameter, the number of revolutions and the total time of the trip. You can assume that the front wheel never leaves the ground, and there is no slipping or skidding.)
- 2013-12-21 14:06:26下载
- 积分:1
-
PADS9.5实战攻略与高速PCB设计
详细介绍了利用PADS 9.5 实现原理图与PCB设计的方法和技巧。配合大量示意图,介绍了印制电路板设计流程和常用电路模块的PCB处理方法(The method and technique of using PADS 9.5 to realize schematic diagram and PCB design are introduced in detail. With a large number of schematic diagrams, the design process of printed circuit boards and the PCB processing methods of common circuit modules are introduced)
- 2017-07-15 10:36:14下载
- 积分:1
-
picread
用picture控件实现人脸检测画面界面显示和视频流的选择(Achieved with the picture control interface display screen face detection and video streaming options)
- 2010-08-10 08:19:43下载
- 积分:1
-
STM32F4Discovery
Programing led s behaviour in STM32F4Discovery board
- 2016-12-12 07:14:19下载
- 积分:1
-
DAC7571
串口DA芯片 DAC7571驱动程序 使用MSP430F5438A作为主控器件,采用IAR开发环境进行编写(The serial DA chip the DAC7571 drivers use MSP430F5438A as a master device using the IAR development environment written in)
- 2020-07-03 18:40:01下载
- 积分:1
-
SVPWM
以前做的一个仿真,关于空间矢量控制的,看看能不能给有需要的人!(Ago to do a simulation, on the space vector control, can look to those in need!)
- 2008-04-16 15:30:50下载
- 积分:1
-
boss adf4351 noz
ADF4351频谱仪设计程序,有扫频模式,基于STM32平台(ADF4351 spectrum analyzer design procedures)
- 2021-05-14 15:30:02下载
- 积分:1
-
Ucos_C8051_SMBus_UART1
在C8051F060上实现嵌入式系统ucos,并实现IIC通信以及串口通信。(C8051F060 at implementation on embedded systems ucos, and IIC communications, as well as implementation of serial communication.)
- 2009-03-06 11:31:14下载
- 积分:1
-
240128c
240128液晶驱动的测试程序,c语言编写(240,128 LCD driver testing procedures, c language)
- 2020-11-16 08:59:40下载
- 积分:1
-
dianliyingyong
ARM9 在电力终端中的应用及技术解决方案(ARM9 terminal in the power of applications and technology solutions)
- 2009-04-19 17:26:04下载
- 积分:1