Question

Please show commands and explain how to plot. Thank you.7. Lab Assignments 7. 1 Plot y-cos(2x π x 60x t) + 0.2 sin(2x π x 1 80x ) + 0. I sin(2x π x 300 x ) , for 0ss0.05s. Sampling step should not be greater than 0.02 ms. 7.2 Replace the Fen in Fig4from sin(u) to cos(2u) and do the simulation again and report your simulation result. 7.3 Write the branch currents down for the circuit shown in Fig. 7. Print out your simulation results and compare them with your circuit analysis. When youre finished, hand it in with your completed data table given below. Branch currents R1 R2 R3 & R4

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

R CODE NEEDED FOR THE PLOT

#taking sampling size as 0.01 ms

#0.02ms is .00002 seconds
x<-seq(0,0.05,.00001)
y<-cos(2*pi*60*x)+0.2*sin(2*pi*180*x)+0.1*sin(2*pi*300*x)
plot(x,y)

REQUIRED PLOT IS

Add a comment
Know the answer?
Add Answer to:
Please show commands and explain how to plot. Thank you. 7. Lab Assignments 7. 1 Plot...
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
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