Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ language I will appreciate your assistance SORIGIN STTL 86400 ; 1 day ost2415. edu IN SOA dns. ost2415.edu. MailTest. ost2415. edu. 2016111901 ; serial

c++ language

I will appreciate your assistance

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
SORIGIN STTL 86400 ; 1 day ost2415. edu IN SOA dns. ost2415.edu. MailTest. ost2415. edu. 2016111901 ; serial 21600 ; refresh (6 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) 600 ; minimum (10 minutes) NS DnsSer. cst2415. edu. NS NS1 . cst2415. edu. SORIGIN cst2415.edu. DnsSer A 127.0.0.1 NS1 127.0.0.1 dns 1 192 . 168. 15.??? clientl 192. 168 . 15.??? client2 192 . 168. 15.??? masterdns 192. 168 . 15.??? slave 192 . 168. 15.???from numpy import loadtxt from pylab import plot, show, xlabel, ylabel, xlim import matplotlib. pyplot as plt from numpy. fft import rift piano = loadtxt("piano. txt", float) trumpet = loadtxt("trumpet. txt", float) pit. plot(piano, linewidth=0.05) pit. title("waveform of piano") pit. figure() pit. plot(trumpet, linewidth=0.05) pit. title("waveform of trumpet") N = 10080 c1 = rift(piano) c2 = rift(trumpet) pit. figure() pit. plot(abs(c1)) left, right = plt.xlim() pit. xlim(0, N) pit. title("DFT of piano waveform") pit. xlabel("Sks") pit. ylabel("sc_k$") pit. figure() pit. plot(abs(c2)) left, right = plt.xlim() pit. xlim(0, 10000) pit. title("DFT of trumpet waveform") pit. xlabel("Sks") pit. ylabel("sc_k$") 5 = 0 for i in range(500, 2000): #find the k corresponding to the highestpeak if (abs (c1[i] )> 5): 5 = abs (c1[i]) maxi1 = i 5 =0 for i in range(2000, 3600): #find the k corresponding to the highestpeak if(abs (c2[i] )> s):Consider the C+ + code below. [Note that main () reads a character into x on line 26 and executes line 28, 29, or 30 according to whether that character is 'l', 2, or something else. Then line 32 calls p->test () (see line 5). Also notice the functions defined on lines 6, 7, 12, 13, and 18.) 0 #include 1 using nameapage atd class Super ( public: void tant () | 1()2 9() 1 ) void [() | cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions