summaryrefslogtreecommitdiff
path: root/3782/CH7/EX7.11/Ex7_11.sce
blob: 7d3f46bc5611d88de06ffb98e5550e807b1a00df (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



//

//

printf("\n case 1')
n=1
c=0////anchor point outside
m=100
fr=4.825
ir=7.775
area1=m*(fr-ir+10*n)

printf("\n area of figure is %0.3f square cm',area1)

printf("\n case 2')
fr=8.755
ir=2.325
m=100
n=2
area2=m*(fr-ir-10*n+c)

printf("\n area of figure is %0.3f sq cm',area2)
c=(area1/m)+13.570
printf("\n C= %0.3f ",c)

areac=m*c
printf("\n area of zero circle is %0.3f square cm',areac)