(Fac-simile frontespizio tesi di laurea specialistica) - Scor
(Fac-simile frontespizio tesi di laurea specialistica) - Scor
(Fac-simile frontespizio tesi di laurea specialistica) - Scor
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
[>end;<br />
procRPv1 := proc ( α, OP, CO, DE, freqOP)<br />
local alphal , OPp, COp, DEp, freqOPp, frequenzap, valoreme<strong>di</strong>osinp, vmsp,<br />
premio<strong>di</strong>rischiop, RLp, alphastl ;<br />
alphastl := α;<br />
OPp := OP;<br />
COp := CO;<br />
DEp := DE;<br />
freqOPp := freqOP;<br />
frequenzap := freqOPp× ( OPp/ DEp ) ^alphastl<br />
;<br />
valoreme<strong>di</strong>osinp := proc ( COq, DEq, alphastl )<br />
local a, c, d, vms, errelle;<br />
a := alphastl ;<br />
c := COq;<br />
d := DEq;<br />
errelle := ( c+ d)/ d;<br />
if a = 1 then vms := d × ln( errelle )<br />
else vms := d × ( errelle ^(<br />
1 − a ) − 1 ) /( 1 − a )<br />
end if<br />
end proc ;<br />
vmsp := valoreme<strong>di</strong>osinp ( COp, DEp, alphastl ) ;<br />
premio<strong>di</strong>rischiop := ( f, v ) → f× v;<br />
RLp := premio<strong>di</strong>rischiop ( frequenzap, vmsp ) ;<br />
print( `La frequenza me<strong>di</strong>a è stimata in` ) ;<br />
print( frequenzap ) ;<br />
print( `Il costo me<strong>di</strong>o <strong>di</strong> un sinistro trasferito è stimato in` ) ;<br />
print(<br />
vmsp ) ;<br />
print( `Infine, il premio <strong>di</strong> rischio è stimato in` ) ;<br />
print( RLp )<br />
end proc<br />
[>procRPv1(1.786304193,50000,100000,100000,7.37);<br />
La frequenza me<strong>di</strong>a è stimata in<br />
[><br />
2.136664549<br />
Il costo me<strong>di</strong>o <strong>di</strong> un sinistro trasferito è stimato in<br />
53436.37314<br />
Infine, il premio <strong>di</strong> rischio è stimato in<br />
114175.6041<br />
97