Question
A unity amplitude square wave y(t) can be approximated by the following sum of three sine waves: y ( t ) 4 ( sin (
A unity amplitude square wave y(t) can be approximated by the following sum of three sine waves:
y ( t ) 4 ( sin ( x ) + 1 3 sin ( 3 x ) + 1 5 sin ( 5 x ) )
where x is in radians. Write a VI that evaluates this sum at 300 equally spaced x-values in the range from x = 0 to x = 6 (i.e., for three cycles of the first sine function in the sum) and then plots the resulting y vs. x on a Waveform Graph, whose x-axis is calibrated in radians. When the VI is run, it should produce the front panel plot shown next.
Suggested icon: Sine, Compound Arithmetic, Pi.
in lab view
Waveform Graph Plot 0 M 1.5- BA 1- WW 0.5-1 IN UVU -1.5--TTT 0 2 4 6 14 16 18 20 8 10 12 x (radians) Waveform Graph Plot 0 M 1.5- BA 1- WW 0.5-1 IN UVU -1.5--TTT 0 2 4 6 14 16 18 20 8 10 12 x (radians)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