Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PROJECT 3: CUMULATIVE LEARNING The completed assignment must be submitted via Bl

ID: 3916572 • Letter: P

Question

PROJECT 3: CUMULATIVE LEARNING The completed assignment must be submitted via Blackboard. Document name must be: LastName_P3.cpp Your code must be saved as C++ file The source code file must contain a file header formatted as specified below. The . header information must be complete and accurate. The source code file should use self- documenting code and additional comments (as required) to improve code readability SOURCE FILE HEADER /I EGR 126 ELI Summer 2018 /I Student Name: First name LASTNAME (last name must be in capitals) // Assignment: // Systeins ihe operating system and IDE information Submission Date: /I Purpose: Explain what this program does and if there are any limitations or constraints / COMMUNICATION CHANNEL CLASSIFICATION In digital voice communication (that which you have experienced while using your cell phone), a challenge is to characterize the behavior of the communication channel through which the signal is traveling. Communication channels have different degradation effects on signals, and it becomes difficult to use a corrupted signal on the receiver side. To overcome this challenge, engineers develop channel identification and classification techniques. In the channel identification process, engineers send a known signal (the reference signal) into the channel of interest and then measure the output signal that the channel produces. Knowing the properties of the reference signal, the return (output) signal can be compared with the input (the reference signal) to see the effect of the channel on the signal. Communicatiorn Channel 1 (unknown characteristic) OUTPUT # 1 GIVEN INPUT REFERENCE Communication Channel 2 (unknown characteristic) OUTPUT #2 GIVEN GIVEN Communicationn Channel 3 (unknown characteristic) OUTPUT #3 GIVEN To implement a channel identification method to measure the effect of the channel, we need a comparison technique. What is the best way to compare two signals? The answer for this critical uestion is found in mathematics: Euclidean Distance. In digital voice communication, channel

Explanation / Answer

#include<iostream>

#include<conio.h>

#include<math.h>

using namespace std;

double distanceCalculate(double x1, double y1, double x2, double y2)

{

double x = x1 - x2; //calculating number to square in next step

double y = y1 - y2;

double dist;

dist = pow(x, 2) + pow(y, 2); //calculating Euclidean distance

dist = sqrt(dist);   

return dist;

}

int main()

{

double x1, y1, x2, y2;

double dist;

cout << "Enter x1:" << endl; //user inputs the points

cin >> x1;

cout << "Enter y1:" << endl;

cin >> y1;

cout << "Enter x2:" << endl;

cin >> x2;

cout << "Enter y2:" << endl;

cin >> y2;

dist = distanceCalculate(x1, y1, x2, y2); //initiate equation

cout << "Distance Between (" << x1 << " , " << y1 << ") and (" << x2 << " , " << y2 << ") = " << dist;

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote