Question

I need someone to code this up in C , and show the screen shot shot of the output for some input

Design an amplitude modulation scheme that will generate the amplitude modulated signal yAM(t) ct)m(t)c(t) where c(t) sin 2rFd is the carrier with carrier frequency F, and m(t)-A,n sin 2πFmt is the modulating signal with amplitude Am and modulating frequency Fm. For initial values you may assume that Fc-6 kHz, Fm-400 Hz and Am-1.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

#include<stdio.h>
#include<math.h>
#include <stdlib.h>
#define PI 3.14159265


main()
{
double ret, val,t,am,fc,fm;
t=1/24.0; //if t>=1 vlaue is 0;
fc=6;
fm=0.4;
am=1;
ret = sin(2*PI*fc*t);
val=ret+((am*sin(2*PI*fm*t))*ret);
printf("%lf",val);
}

output:

Add a comment
Know the answer?
Add Answer to:
I need someone to code this up in C , and show the screen shot shot...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Program in any language. I need help I have no idea how to do this! (1)...

    Program in any language. I need help I have no idea how to do this! (1) Write a program to combine 2 (two) waves with different frequencies (fm and fc) using AM (Amplitude Modulation) technique: y(t) = [1 + m cos(2 π fn t) ] A sin(2 π ) where fm is the modulated frequency, fc is the carrier frequency, A- Amplitude, m- index of modulation, t time and 3.14159265359 (A) Plot y(t) in time domain t = 0 to...

  • Engineering question. Please provide your work. Please explain how you got each number in your work. Please do not copy your work and answers from other people's links. 2. Erequency modulation (F...

    Engineering question. Please provide your work. Please explain how you got each number in your work. Please do not copy your work and answers from other people's links. 2. Erequency modulation (FM) An FM transmitter has a deviation sensitivity of 10 kHz/mV. Both modulating signals have an amplitude of 4.5 mV. Complete the following table: Modulation index, m Carrier frequency deviation, of Modulating signal frequency, fm 50 Hz 15,000 Hz 2. Erequency modulation (FM) An FM transmitter has a deviation...

  • Consider an FM system where the modulated signal is

    Consider an FM system where the modulated signal is s(t) = 10 cos (2πfct + 2πkf∫0t m(τ)dτ)where the carrier frequency is fc = 100 MHz. The modulation signal is m(t) = 10 cos(2πfmt), where fm = 3 kHz. (a) Assuming that kf = 10, what is the approximate bandwidth of s(t)? (b) Find the instantaneous frequency fi(t) of s(t). What are the maximum and minimum values of fi(t) ?

  • Please answer FAST ASAP I will rate you thumbs up ?? (1) What are the reasons...

    Please answer FAST ASAP I will rate you thumbs up ?? (1) What are the reasons behind the need of modulation for radio transmission, i.e., why not directly transmit the original signal? Q2) A carrier signal with frequency f. Hz is double-sideband suppressed carrier (DSB-SC) amplitude modulated by a triangular shaped message signal, m(t), plotted below (Fig. Q2). The DSB-SC amplitude modulated signal is then passed from a band-pass filter with center frequency fc-Im and bandwidth 2fm where fm =...

  • Select the correct statement regarding the difference between the FM modulated signal waveform and the AM...

    Select the correct statement regarding the difference between the FM modulated signal waveform and the AM modulated signal waveform. a. The FM signal wave changes frequency according to the message wave m(t). The "peak" amplitude of the FM signal, Ac=5, remains constant. b. There is no difference between the FM and AM signal waves because they are both modulated by the same message wave, m(t) = Amcos(2πfmt) c. The AM signal wave frequency changes with the message wave m(t) while...

  • Communication systemProblems 1. A 25 MHz carrier is modulated by a 400 Hz audio sine...

    Communication systemProblems A 25 MHz carrier is modulated by a 400 Hz audio sine wave If the carrier voltage 4 V and the maximum deviation is 10 KHz, write the equation of this modulated wave for FM. If the modulating frequency is now changed to 2 KHz, all else remaining constant, write the new equation for FM2. In an FM system, when the audio frequency (AF) is 500 Hz and the AF voltage is 2.4 V, the deviation is 4.8 KHz....

  • Question 4: (20 points) An FM signal is modulated with message m(t)Am cos(2Tmt). The measured amp...

    Question 4: (20 points) An FM signal is modulated with message m(t)Am cos(2Tmt). The measured amplitude spectrum, SPM(f), is shown below: Amplitude spectrum of the frequency modulated signal 2 -2 5000 4000 3000 2000 -1000 1000 2000 3000 4000 5000 frequency f [Hz] a) What is the carrier frequency fe? b) What is the message frequency fm c) What is the FM modulation index Bf? Is it a narrowband or a wideband signal? d) Using Carson's rule, estimate the transmission...

  • 1 2 4. The amplitude modulation signal is given by the following expression and is applied...

    1 2 4. The amplitude modulation signal is given by the following expression and is applied to 75 load. Vam(t) = 10 sin (21fct) - 2.5 cos (1500krt) + 2.5 cos (1450krt) V Determine: a) Modulation index b) The frequency of the carrier and the information signal c) The bandwidth d) The total power e) The transmission power efficiency be ar e 5. One of the inputs to a frequency modulator is a 250 kHz carrier signal with amplitude of...

  • a. In FM transmission circuits, explain the purpose and function of: i. Pre-emphasis and de-emphasis circuits....

    a. In FM transmission circuits, explain the purpose and function of: i. Pre-emphasis and de-emphasis circuits. (CO1: PO1 - 3 Marks) ii. Limiter circuit. (CO1: P01 - 3 Marks) b. A sinusoidal carrier wave of frequency fe = 110 MHz is modulated by a modulating signal m(t). The characteristics of the modulating signal is illustrated in Figure Q2(b) and the Frequency Deviation Constant of the FM Modulator, kf = 107 Hz/volt. Determine the minimum bandwidth required for transmission of the...

  • Engineering question. Please provide your work. Please explain how you got each number in your work. Please do not copy your work and answers from other people's links. Amplitude modulation (AM)...

    Engineering question. Please provide your work. Please explain how you got each number in your work. Please do not copy your work and answers from other people's links. Amplitude modulation (AM) An AM signal has the following parameters: 1. - a carrier amplitude of 60 volts; - a carrier frequency, fe of 1560 kHz; - a modulating frequency of 13 kHz; - a modulation index, m, of 0.707 (a) What are the lower and upper side frequencies in kHz? (b)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT