Aller au contenu

Dm Pour Le 31/01


Joanna57

Messages recommandés

  • E-Bahut
Posté(e)

B

1 h(x)=f(x)-g(x)=(x^2-1)e^(-x) est du signe de x^2-1 soit

h(x)<0 si x<-1 ou x>1 et C au dessus de Gamma,

h(x)<0 si -1<x<1 et Gamma au dessus de C.

2 H'(x)=(-2x-2)e^(-x)-(-x^2-2x-1)e^(-x)=(x^2-1)e^(-x)

donc H est une primitive de h sur R.

3 A(alpha)=int[1-alpha]h(x)dx=H(alpha)-H(1)=(-alpha^2-2alpha-1)e^(-alpha)-(-1^2-2-1)e^(-1)=4/e-(alpha+1)^2/e^(alpha)

lim(A(alpha))[alpha->infty)=4/e

À vérifier en rédigeant de façon détaillée.

Au travail.

  • E-Bahut
Posté(e)

Algorithme :

Proba - 29.01.2013
******************************************
******************************************
1 VARIABLES
2 a EST_DU_TYPE NOMBRE
3 c EST_DU_TYPE NOMBRE
4 n EST_DU_TYPE NOMBRE
5 i EST_DU_TYPE NOMBRE
6 k EST_DU_TYPE NOMBRE
7 x EST_DU_TYPE NOMBRE
8 y EST_DU_TYPE NOMBRE
9 DEBUT_ALGORITHME
10 LIRE n
11 POUR i ALLANT_DE 1 A n
12 DEBUT_POUR
13 a PREND_LA_VALEUR random()
14 c PREND_LA_VALEUR random()
15 SI ((a-c)inferieur.gif 1/4 ET (a-c)superieur.gif-1/4) ALORS
16 DEBUT_SI
17 k PREND_LA_VALEUR k+1
18 TRACER_POINT (a,c)
19 FIN_SI
20 FIN_POUR
21 AFFICHER "Probabilité d'un rendez vous réussi ="
22 k PREND_LA_VALEUR k/n
23 AFFICHER k
24 FIN_ALGORITHME
post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

post-24224-0-86204000-1359537678_thumb.j

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...
spam filtering
spam filtering