473,480 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

canj anyone solve this?in 1 hour!!!

1 New Member
The file VOLTAGES.DAT provided contains a set of voltages recorded as part of a
machine monitoring program. The recorded voltages, in the range of 0.0V to
+5.0V, have been converted into digital numbers in the range 0 to 255 through the
use of an 8-bit A/D converter.
The A/D converter used is configured so that 0.0V is mapped to 0 while a voltage
of +5.0V is mapped to 255, the mapping of intermediate values being linear
within this range.
Each byte in the file VOLTAGES.DAT represents a single recorded voltage
sampled at 100 millisecond intervals.
For the purpose of the monitoring program it is important to consider the range
variability of the output voltage observed for the machine of interest. Write a
program, in C++, which determines
1. the maximum voltage,
2. the minimum voltage,
3. and the range of voltages
observed each minute for the machine of interest.
Nov 28 '06 #1
1 1140
AricC
1,892 Recognized Expert Top Contributor
Have you started? If so post your code
Nov 28 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1834
by: Alex | last post by:
Hi, I have a problem involving some design issue. I have two unrelated (that is, they do not derive from the same base) classes: ClassA ClassB Both have a quite similar interface, so they can...
1
2236
by: Chua Wen Ching | last post by:
Hi there, I got a link here http://www.derkeiler.com/Newsgroups/microsoft.public.platformsdk.security/2003-10/0259.html I am wondering, how do you get the value of SCARD_PROTOCOL_T0: Dim...
0
833
by: G Dean Blake | last post by:
This datagrid (dgbudgets) binds perfectly and column4 is a non visible column. Immediately after the bind, however, column(4).visible is true both in the grid and the grid retrieved from the...
7
1993
by: Shapper | last post by:
Hello, I have an ASP:ImageButton where I want to call a function and pass a string: OnClick="Change_Photo("John")" I am having problems with "". I tried
7
2141
by: Nobody | last post by:
Anyone have a clean way of solving this define issue? In Windows, there are sometimes unicode functions and multibyte functions... the naming convention used is FunctionA for multibyte and...
4
1608
by: hardik | last post by:
hi friends i need help in this sql query i have table like, id fid __ _____ autonumber text and i am storing values like
7
89958
by: akmaRudiliyn | last post by:
Hai everybody :). I have problem and need help. ERROR: ERROR Violation of PRIMARY KEY constraint 'PK_Table1_01'. Cannot insert duplicate key in object 'dbo.table1'. ERROR The statement has...
5
2642
by: Tim Quin | last post by:
I've failed miserably to correct the display issues in IE7 though for a site i built for a friend of mine. http://www.danielburtonimagery.com. Tried pretty much every trick I can think of to give it...
2
3326
by: jees | last post by:
when i am doing a project in magento 1.4 suddenly this error msg came no i cant access the frontend what i can do to sove this problem, i tried to flush the cache nothing happend if anyone knows the...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7059
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7010
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5362
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4499
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3011
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3003
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
203
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.