Find the frame length with derivative

AI Thread Summary
The discussion focuses on finding the optimal frame length (nf) that maximizes transmission efficiency for different ARQ protocols by using derivatives. Participants are troubleshooting derivative calculations, particularly regarding the application of the product rule and the correct identification of variables in their equations. There is a consensus that errors may stem from misapplying the derivative rules, specifically in differentiating products and simplifying terms. Suggestions include extracting common factors and finding a common denominator to combine terms effectively. The conversation emphasizes the importance of clarity in mathematical derivations to align with expected textbook answers.
DODGEVIPER13
Messages
668
Reaction score
0
Find the optimum frame length nf that maximizes transmission efficiency for a channel with random bit erros by taking the derivative and setting it to zero for the following protocols:
(a) Stop-and-Wait ARQ
(b) Go-Back-N ARQ
(c) Selective Repeat ARQ

My work has been uploaded I am a bit rusty on derivative, so I am pretty sure I made a mistake just unsure of where.
 

Attachments

  • EPSON008.JPG
    EPSON008.JPG
    22.1 KB · Views: 448
Physics news on Phys.org
The last factor with nf is wrong I think. I used the duv = u*dv + v*du rule with v= (nf+B)^-1 and got a different factor from yours so check it again and post your result.
 
What did you use for u? I guess you did a u substitution to do this then so if I find u I can do the derivative.
 
u = nf - n0 your numerator and v= (nf+B)^-1
 
EPSON001.JPG
 
My apologies, I must have done something wrong. Yours looks correct. How is the book answer different? That might tell you where the real error is.
 
Okay I think I see your error. You differentiated the a^nf and multiplied it to the differentiated version of the second factor. Don't you have to apply the duv product rule here too?

With u=a^nf and v= the rest.
 
Sorry if the post is a bit confusing and my slow responses.
EPSON002.JPG
 
Is my answer improved at all?
 
  • #10
Yes, it looks right but you can do more by extracting out the a^nf factor and by finding a common denominator so you can combine numerator terms ie multiply the second term by (nf+B)/(nf+B).
 
  • #11
Posted this with my phone sorry if it is hard to read
1412268926261.jpg
 
  • #12
So should this be simplified further?
 
  • #13
I can't see anything further. Does this differ from some book answer you have? or were you expecting it to be much simpler?
 
Back
Top