Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:这题知道圆台公式就OK了。一个while语句就搞定!

Posted by huangcr at 2008-08-12 10:45:22 on Problem 2405
In Reply To:Re:这题知道圆台公式就OK了。一个while语句就搞定! Posted by:FearNoOne at 2008-08-08 02:00:51
> 能解释一下吗?我推的式子很繁琐啊
v=直径为D的圆柱的面积-两个园台的面积-直径为d的圆柱的面积。

V=D*s1-(1/3*(D*s1-d*s2)+s2*d)

V=2/3*(D*s1-s2*d)

s1=pi*(D/2)^2

s2=Pi*(d/2)^2

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator