Tourist's Notes

Revision en1, by Shellhead96, 2017-10-05 13:56:25

I'm stuck at this question for some time and referred to this solution and just wanted to ask how " maxH = max(maxH, (d[i+1]-d[i])/2+(h[i]+h[i+1])/2 ) " term can be derived. I am interpreting it as the minimum height in consecutive interval and taking max of them. How it can be derived. Thanks

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Shellhead96 2017-10-05 13:56:25 423 Initial revision (published)