answersLogoWhite

0


Best Answer

It would be a function of the form:

w = c + k*p/2

where

w is the weight

p is the number of pages in the book

k is the weight of each numbered page of the book

c is the weight of the cover

The function could be further refined to take account of

  • step increases in the binding (it does not change with every page),
  • unnumbered pages,
  • rounding up the number of pages to the binding units,
  • page size
  • different page weights for different quality paper
  • and so on.
User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What function that takes the number of pages in a book and returns the weight of the book?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What would be the name for a function that takes the number of pages in a book and returns the weight of the book?

pages (weight)


What would be the best name for a function that takes the number of pages in a book and returns the weight of the book?

A suitable name for this function could be "calculateBookWeight" or "getBookWeight".


Which would be the best name for a function that takes the number of pages in book and returns weight of book?

i titty banged ur granny


How many pages does The Godfather Returns have?

"The Godfather Returns" by Mark Winegardner has approximately 608 pages.


How many pages does She Returns to the Floating World have?

She Returns to the Floating World has 132 pages.


What would be a good name for the function that takes the length of a reading assignment and returns the time needed to complete it?

Time(pages)


Which would be a good name for the function that takes the length of a reading assignment and returns the time needed to complete it?

Time(pages) *ER7*(:


How many pages does the enchantress returns have?

"The Enchantress Returns" by Chris Colfer has approximately 512 pages.


How many pages does The Pure Weight of the Heart have?

The Pure Weight of the Heart has 357 pages.


How many pages does Weight Loss - novel - have?

Weight Loss - novel - has 432 pages.


What is the average weight of a school book?

The average weight of a school book is around 2-3 pounds. The weight can vary depending on the size, material, and number of pages of the book.


What Estimate mass of notebook?

The average weight of a notebook is about 0.5-1.0 pounds, depending on the size and number of pages.