- Home
·
- Math/Dates
·
- Calculate how many newspapers you can have from a tree with x diameter and x height. Very Interesti
Calculate how many newspapers you can have from a tree with x diameter and x height. Very Interesti
Calculate how many newspapers you can have from a tree with x diameter and x height. Very Interesting!
Rate Calculate how many newspapers you can have from a tree with x diameter and x height. Very Interesti
(2(2 Vote))
Dim r, h, V, P, D As Long
Dim ld, dl, nq, discard As Long
r = Val(Text1.Text)
h = Val(Text2.Text)
V = 3.14 * r ^ 2 * h
D = 540
P = V * D
discard = 54
ld = P / 2
dl = ld - discard
nq = dl / 0.2
Text3.Text = Str(nq)
If Text1.Text = "" And Text2.Text = "" Then
msgresult = MsgBox("Enter all data!", vbExclamation)
End If
End Sub
Calculate how many newspapers you can have from a tree with x diameter and x height. Very Interesti Comments
No comments yet — be the first to post one!
Post a Comment