Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Program Requirements: 1. Write a program that will read the three data files provided above (and on the course website) to find the resistivity, wire
Program Requirements: 1. Write a program that will read the three data files provided above (and on the course website) to find the resistivity, wire diameter, and temperature coefficient in order to calculate the wire resistance. The program should provide the user with two options Option 1: Find the resistance of a wire where the user specifies the following Material Wire length (in m) Wire gauge (0-40) Temperature (in C) Option 2: Find the resistance of a wire over a range of temperatures (with temperature and resistance values stored in arrays) where the user specifies the following Material Wire length (in m) Wire gauge (0-40) Initial Temperature (in C) Final Temperature (in C) Temperature increment (in C) Additionally, if the user selects Option 2, the user should be given two additional choices Option 24: Show a formatted table of Temperature and Resistance values on the screen Option 2B: Send the temperature and resistance values to a commas-delimited file so the file can be opened with Excel to produce a nicely formatted table and a nicely formatted graph of resistance versus temperature. The user should be prompted to enter the name of the output file where the data is to be stored. Program Requirements: 1. Write a program that will read the three data files provided above (and on the course website) to find the resistivity, wire diameter, and temperature coefficient in order to calculate the wire resistance. The program should provide the user with two options Option 1: Find the resistance of a wire where the user specifies the following Material Wire length (in m) Wire gauge (0-40) Temperature (in C) Option 2: Find the resistance of a wire over a range of temperatures (with temperature and resistance values stored in arrays) where the user specifies the following Material Wire length (in m) Wire gauge (0-40) Initial Temperature (in C) Final Temperature (in C) Temperature increment (in C) Additionally, if the user selects Option 2, the user should be given two additional choices Option 24: Show a formatted table of Temperature and Resistance values on the screen Option 2B: Send the temperature and resistance values to a commas-delimited file so the file can be opened with Excel to produce a nicely formatted table and a nicely formatted graph of resistance versus temperature. The user should be prompted to enter the name of the output file where the data is to be stored
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started