Question: Assume again that you work for a forest inventory project. You need to write a program in which users can enter stand information and numerically

 Assume again that you work for a forest inventory project. You

Assume again that you work for a forest inventory project. You need to write a program in which users can enter stand information and numerically summarize the stand characteristics using data from field measurements. As a part of the program, you would like to create a new class named stand that implements the following: __- init_(self, acre, number, dbh): Creates a stand having the given area (in acre), number of trees, and average diameter at breast height (in feet) density(self): Calculates and returns the stand density (number of trees per acre) barea(self): Calculate and returns the basal area per acre* (in square feet per acre) *Basal area pre acre can be calculated by mean basal area at breast height times the stand density per acre (number of trees divided by the area in acre). Your class should: - implement __init_(self, acre, number, dbh), density(self), and barea(self) as defined above - have the file name "forestinv.py

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!