SlideShare a Scribd company logo
1 of 3
HELPIDO.COM
CLICK HERE TO GET THE SOLUTION !!!!!!!!!



COMP/220 iLab 4 of 7 - C++ Course

iLAB OVERVIEW

Scenario and Summary



This lab requires you to use C++ class composition to implement a single pole-filter design program.
The program will allow the user to specify resistor and capacitor values and filter type. Once all the
user parameters are specified, the program will return the cutoff frequency values for the filter.

Composition may be thought of as a has-a relationship for objects, as compared to inheritance,
which may be described as an is-a relationship for objects.

You are required to use two component classes: one for a resistor object and one for a capacitor
object. You are then to define and implement a filter class that will contain one object of each the
resistor and the capacitor classes in order to create the filter and its characteristics.

The Resistor class created in the Week 2 iLab may be used both as the class definition for the
resistor object and as a template or a guide for the capacitor-class definition.

The lab also requires you to implement your program in a multiple-file project and create both cpp
and h files for each class defined. In addition, the program will have the capacity to save all filter
parameters to a text file and read previously designed filter parameters from a text file.

Deliverables

1.         Submit a single Notepad file containing the source code for all the files of the lab to the
Dropbox for Week 4. Your source code should use proper indentation and be error free. Be sure that
your last name and the lab number are part of the file name: for example, YourLastName_Lab4.txt.



Each program should include a comment section that includes, at a minimum, your name, the lab
and exercise number, and a description of what the program accomplishes.

2.       Submit a lab report (a Word document) containing the following information to the
Dropbox for Week 4.

o         Include your name and the lab or lab-exercise number.

o          Specification: Include a brief description of what the program accomplishes, including its
input, key processes, and output.
o          Test Plan: Include a brief description of the method you used to confirm that your
program worked properly. If necessary, include a clearly labeled table with test cases, predicted
results, and actual results.

o         Summary and Conclusions: Write a statement summarizing your predicted and actual
output, and identify and explain any differences. For conclusions, write at least one nontrivial
paragraph that explains, in detail, either a significant problem you had and how you solved it or, if
you had no significant problems, something you learned by doing the exercise.

o         A UML diagram: This should show all classes, class members, access specifiers, data
types, and function arguments, along with the composition relationship of the classes.

o          Answers to Lab Questions: The answers to any and all lab questions are included in the
lab steps.

Each lab exercise should have a separate section in the lab-report document.

Your lab grade will be based upon

1.         the formatting of your source code;

2.         the use of meaningful identifiers;

3.         the extent of internal documentation;

4.         the degree to which an exercises’ specifications are met; and

5.         the completeness of your lab report.



iLAB STEPS

STEP 1: Create a Multifile Project for the Composition Lab



1. Add three classes to the project: a Filter class, a Capacitor class, and a Resistor class.

2. You may use the Resistor class files from the Week 2 lab for this lab.

3. The Capacitor class should be modeled after the Resistor class for class members and operation.

STEP 2: Filter-Class Definition

The Filter class should have, at a minimum, the following capabilities.

1.         a resistor-object data member

2.         a capacitor-object data member

3.         a cutoff frequency (in Hertz) of the RC filter

4.        maximum and minimum cutoff frequencies, based on the maximum and minimum in-
tolerance values of the capacitor and the resistor object

5.         a filter type, either low pass or high pass
6.         allow the user to enter new values for the filter, including

6.1. resistor tolerance and nominal resistance;

6.2. capacitor tolerance and nominal capacitance; and

6.3. filter type

7.          provides the ability to write all capacitor, resistor, and filter data members to a formatted
text file and allows the user to name the file

8.        provides the ability to read all capacitor, resistor, and filter data members from a
formatted text file and allows the user to enter the file name and correctly handles a file-not-found
error

STEP 3: Test-Program Operation

1.        All data-input and data-display operations (cin and cout) should be done in the function
main() test program.

2.         The test program should instantiate at least one object of the class Filter.

a.        The user should enter values for all the data members of the Filter, Resistor, and
Capacitor classes.

b.         The Filter class should then calculate and display the correct maximum and minimum
cutoff frequencies.

3.         The test program should then display all Filter, Resistor, and Capacitor data members.


CLICK HERE TO GET THE SOLUTION !!!!!!!!!

More Related Content

Viewers also liked

Struktur Pemrograman Java
Struktur Pemrograman JavaStruktur Pemrograman Java
Struktur Pemrograman Javaroji muhidin
 
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...raviranchi02
 
Travel shop | Магазин Отдыха
Travel shop | Магазин ОтдыхаTravel shop | Магазин Отдыха
Travel shop | Магазин ОтдыхаYakov Volkonski
 
026. Superhik
026. Superhik026. Superhik
026. SuperhikTompa *
 
Tarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajoTarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajoMariajoExtre
 
Can we really explain worker flows in transition?
Can we really explain worker flows in transition?Can we really explain worker flows in transition?
Can we really explain worker flows in transition?GRAPE
 
Steps to Shrink Datafiles
Steps to Shrink DatafilesSteps to Shrink Datafiles
Steps to Shrink DatafilesRam Kumar
 
Raceway Ecosystems
Raceway EcosystemsRaceway Ecosystems
Raceway Ecosystemsaci394
 
Process management using Supervisord
Process management using SupervisordProcess management using Supervisord
Process management using SupervisordAgeeleshwar K
 
Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)Javi Santa Cruz
 
Research equipment
Research equipmentResearch equipment
Research equipmentrageee
 

Viewers also liked (15)

Struktur Pemrograman Java
Struktur Pemrograman JavaStruktur Pemrograman Java
Struktur Pemrograman Java
 
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
Rampant.tech.press.using.the.oracle.oradebug.utility.debugging.oracle.applica...
 
Diákolimpia - foci
Diákolimpia - fociDiákolimpia - foci
Diákolimpia - foci
 
Travel shop | Магазин Отдыха
Travel shop | Магазин ОтдыхаTravel shop | Магазин Отдыха
Travel shop | Магазин Отдыха
 
026. Superhik
026. Superhik026. Superhik
026. Superhik
 
Tarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajoTarea colaborativa1 fol.La relación colectiva en el trabajo
Tarea colaborativa1 fol.La relación colectiva en el trabajo
 
Can we really explain worker flows in transition?
Can we really explain worker flows in transition?Can we really explain worker flows in transition?
Can we really explain worker flows in transition?
 
Pitch for music video !
Pitch for music video !Pitch for music video !
Pitch for music video !
 
Steps to Shrink Datafiles
Steps to Shrink DatafilesSteps to Shrink Datafiles
Steps to Shrink Datafiles
 
Raceway Ecosystems
Raceway EcosystemsRaceway Ecosystems
Raceway Ecosystems
 
Process management using Supervisord
Process management using SupervisordProcess management using Supervisord
Process management using Supervisord
 
Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)Tallerceramica ejercicio (1)
Tallerceramica ejercicio (1)
 
Research equipment
Research equipmentResearch equipment
Research equipment
 
Estado y gestion del agua
Estado y gestion del aguaEstado y gestion del agua
Estado y gestion del agua
 
Test
TestTest
Test
 

More from helpido6

Prg 421 week 4
Prg 421 week 4Prg 421 week 4
Prg 421 week 4helpido6
 
Prg 421 week 2
Prg 421 week 2Prg 421 week 2
Prg 421 week 2helpido6
 
Prg 421 week 1
Prg 421 week 1Prg 421 week 1
Prg 421 week 1helpido6
 
Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7helpido6
 
CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6helpido6
 
Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6helpido6
 
Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6helpido6
 
CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6helpido6
 

More from helpido6 (8)

Prg 421 week 4
Prg 421 week 4Prg 421 week 4
Prg 421 week 4
 
Prg 421 week 2
Prg 421 week 2Prg 421 week 2
Prg 421 week 2
 
Prg 421 week 1
Prg 421 week 1Prg 421 week 1
Prg 421 week 1
 
Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7Comp 220 ilab 7 of 7
Comp 220 ilab 7 of 7
 
CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6CIS/355 ilab 4 of 6
CIS/355 ilab 4 of 6
 
Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6Cis 355 i lab 3 of 6
Cis 355 i lab 3 of 6
 
Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6Cis 355 i lab 1 of 6
Cis 355 i lab 1 of 6
 
CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6CIS/355 ilab 6 of 6
CIS/355 ilab 6 of 6
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Comp 220 ilab 4 of 7

  • 1. HELPIDO.COM CLICK HERE TO GET THE SOLUTION !!!!!!!!! COMP/220 iLab 4 of 7 - C++ Course iLAB OVERVIEW Scenario and Summary This lab requires you to use C++ class composition to implement a single pole-filter design program. The program will allow the user to specify resistor and capacitor values and filter type. Once all the user parameters are specified, the program will return the cutoff frequency values for the filter. Composition may be thought of as a has-a relationship for objects, as compared to inheritance, which may be described as an is-a relationship for objects. You are required to use two component classes: one for a resistor object and one for a capacitor object. You are then to define and implement a filter class that will contain one object of each the resistor and the capacitor classes in order to create the filter and its characteristics. The Resistor class created in the Week 2 iLab may be used both as the class definition for the resistor object and as a template or a guide for the capacitor-class definition. The lab also requires you to implement your program in a multiple-file project and create both cpp and h files for each class defined. In addition, the program will have the capacity to save all filter parameters to a text file and read previously designed filter parameters from a text file. Deliverables 1. Submit a single Notepad file containing the source code for all the files of the lab to the Dropbox for Week 4. Your source code should use proper indentation and be error free. Be sure that your last name and the lab number are part of the file name: for example, YourLastName_Lab4.txt. Each program should include a comment section that includes, at a minimum, your name, the lab and exercise number, and a description of what the program accomplishes. 2. Submit a lab report (a Word document) containing the following information to the Dropbox for Week 4. o Include your name and the lab or lab-exercise number. o Specification: Include a brief description of what the program accomplishes, including its input, key processes, and output.
  • 2. o Test Plan: Include a brief description of the method you used to confirm that your program worked properly. If necessary, include a clearly labeled table with test cases, predicted results, and actual results. o Summary and Conclusions: Write a statement summarizing your predicted and actual output, and identify and explain any differences. For conclusions, write at least one nontrivial paragraph that explains, in detail, either a significant problem you had and how you solved it or, if you had no significant problems, something you learned by doing the exercise. o A UML diagram: This should show all classes, class members, access specifiers, data types, and function arguments, along with the composition relationship of the classes. o Answers to Lab Questions: The answers to any and all lab questions are included in the lab steps. Each lab exercise should have a separate section in the lab-report document. Your lab grade will be based upon 1. the formatting of your source code; 2. the use of meaningful identifiers; 3. the extent of internal documentation; 4. the degree to which an exercises’ specifications are met; and 5. the completeness of your lab report. iLAB STEPS STEP 1: Create a Multifile Project for the Composition Lab 1. Add three classes to the project: a Filter class, a Capacitor class, and a Resistor class. 2. You may use the Resistor class files from the Week 2 lab for this lab. 3. The Capacitor class should be modeled after the Resistor class for class members and operation. STEP 2: Filter-Class Definition The Filter class should have, at a minimum, the following capabilities. 1. a resistor-object data member 2. a capacitor-object data member 3. a cutoff frequency (in Hertz) of the RC filter 4. maximum and minimum cutoff frequencies, based on the maximum and minimum in- tolerance values of the capacitor and the resistor object 5. a filter type, either low pass or high pass
  • 3. 6. allow the user to enter new values for the filter, including 6.1. resistor tolerance and nominal resistance; 6.2. capacitor tolerance and nominal capacitance; and 6.3. filter type 7. provides the ability to write all capacitor, resistor, and filter data members to a formatted text file and allows the user to name the file 8. provides the ability to read all capacitor, resistor, and filter data members from a formatted text file and allows the user to enter the file name and correctly handles a file-not-found error STEP 3: Test-Program Operation 1. All data-input and data-display operations (cin and cout) should be done in the function main() test program. 2. The test program should instantiate at least one object of the class Filter. a. The user should enter values for all the data members of the Filter, Resistor, and Capacitor classes. b. The Filter class should then calculate and display the correct maximum and minimum cutoff frequencies. 3. The test program should then display all Filter, Resistor, and Capacitor data members. CLICK HERE TO GET THE SOLUTION !!!!!!!!!