bonjour ,
je suis programmateur et je cherche a exprimer cette équation: pour l aire d un secteur d une ellipse
je la comprend pas elle est trop complexe :
A = ab/2 * { θ - atan[ (b-a)sin(2Θ2) / (a+b+(b-a)cos(2Θ2)) ] + atan[ (b-a)sin(2Θ1) / (a+b+(b-a)cos(2Θ1)) ] }
voila comment je l ai formulé
θ = angle2 - angle1
f = b-a
sin1 = sin(2*Θ1)
sin2 = sin(2*Θ2)
cos1 = cos(2*Θ1)
cos2 = cos(2*Θ2)
hf = (f) *sin2
he = (f) *sin1
gf = (a+b+(f) | rf = gf * cos2
ge= (a+b+(f) | re = ge * cos1
atan1 = hf / rf
atan2 = he / re
A = ab/2 * { θ - atan1 + atan2 }
mais ca marche pas
merci pour toutes aide