Skip to content
Snippets Groups Projects
Commit 1dfd84bc authored by Mildred Alexandra Arias Yanez's avatar Mildred Alexandra Arias Yanez
Browse files

Tarea_de_Física_Médica

parent 9381c357
No related branches found
No related tags found
No related merge requests found
%% Cell type:markdown id: tags:
### ProblemasdeTarea(Semana 2 de Física Médica)_MildredArias
%% Cell type:code id: tags:
``` python
import numpy as np
import statistics as stats
```
%% Cell type:markdown id: tags:
Para el caso de una dosis de 70Gy nf es igual a 35
%% Cell type:code id: tags:
``` python
f=0.06*2+0.36
```
%% Cell type:code id: tags:
``` python
np.exp((-8E7)*(np.exp(-35*2*f)))
```
%% Output
0.9999997954519467
%% Cell type:markdown id: tags:
Para el caso de una dosis de 50Gy nf es igual a 25
%% Cell type:code id: tags:
``` python
np.exp((-8E7)*(np.exp(-25*2*f)))
```
%% Output
0.9969844483020136
%% Cell type:markdown id: tags:
La TPC es igual a 99% y nos interesa una TPC de 90%, entonces la dosis debe ser menor a la suministrada convencionalmente
%% Cell type:code id: tags:
``` python
np.exp((-8E7)*(np.exp(-22*2*f))) #para una dosis de 44Gy tenemos nf=22
```
%% Output
0.9476206429784807
%% Cell type:code id: tags:
``` python
np.exp((-8E7)*(np.exp(-21*2*f))) #para una dosis de 42Gy tenemos nf=21
```
%% Output
0.8689132895271553
%% Cell type:markdown id: tags:
si promediamos estas dos tendremos una TPC de 90%
%% Cell type:code id: tags:
``` python
TPC= [0.9476,0.8689]
print(stats.mean(TPC))
```
%% Output
0.90825
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment