summaryrefslogtreecommitdiff
path: root/3782/CH7/EX7.9/Ex7_9.sce
blob: 2d3e2357005f77f04daf52ea6aa90fe742de1a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36



//

//

printf("\n case 1')

ir=3.415
fr=4.415
n=0//anchor point outside
c=0
sc=16   //1cm^2=16m^2
h=10000
ag=0.16*h

am=ag/sc
printf("\n A= %0.3f square centimeters",am)

m=am/(fr-ir)

printf("\n M= %0.3f ",m)

printf("\n case 2')

fr_ir=2.25
c=21.22
n=1

a1=m*(fr_ir-10+c)
printf("\n required area is %0.3f square centimeters ",a1)

area=m*c

printf("\n area of zero circle is %0.3f square centimeters",area)