<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div id="yiv1278489581"><div style="background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; "><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-size: 12pt; font-family: arial, helvetica, sans-serif; "><span id="yiv1278489581yui_3_2_0_14_1316869318002121">Não há nada de errado, pois a função está retornando a densidade no domínio da função requerida!</span></div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-size: 12pt; font-family: arial, helvetica, sans-serif; "><span id="yiv1278489581yui_3_2_0_14_1316869318002121"><br></span></div><div id="yiv1278489581yui_3_2_0_14_131686931800248"><span id="yiv1278489581yui_3_2_0_14_1316869318002121"><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial,
helvetica, sans-serif; font-size: 12pt; ">par(mfrow=c(2,2))</div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">plot(density(x,weights=y,from=min(x),to=max(x)),main="Density") </div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">plot(density(x,weights=y,from=min(x),to=max(x)),main="Density",xlim=range(x),ylim=range(c(y,z)))</div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">plot(density(x,weights=y,from=min(x),to=max(x)),main="Density",xlim=range(x),ylim=c(35000,40000))</div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt;
">plot(density(x,weights=y,from=min(x),to=max(x)),main="Density",xlim=range(x),ylim=c(0,100)) </div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Talvez esteja interessado nisso!</div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div id="yiv1278489581yui_3_2_0_14_131686931800248"><div id="yiv1278489581yui_3_2_0_14_131686931800248">plot(density(x,weights=y,from=min(x),to=max(x)),main="Density", xlim=range(x),ylim=c(0,40000))</div><div id="yiv1278489581yui_3_2_0_14_131686931800248">par(new=TRUE)</div><div
id="yiv1278489581yui_3_2_0_14_131686931800248">plot(density(x,weights=z,from=min(x),to=max(x)),main="Density", xlim=range(x),ylim=c(0,40000),col='red') </div></div><div id="yiv1278489581yui_3_2_0_14_131686931800248" style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div></span></div><div id="yiv1278489581yui_3_2_0_14_131686931800254" style="color: rgb(0, 0, 0); font-size: 12pt; font-family: arial, helvetica, sans-serif; "> </div><div style="color: rgb(0, 0, 0); font-size: 12pt; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800257"><font style="background-color:transparent;" face="comic sans ms" size="2"><font size="1"><b id="yiv1278489581yui_3_2_0_14_1316869318002137"><br></b></font></font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial,
helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800260"><font style="background-color:transparent;"><font face="courier, monaco, monospace, sans-serif" size="2">\begin{signature}</font></font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800263"><font style="background-color:transparent;"><font face="courier, monaco, monospace, sans-serif" size="2"><<>>=</font></font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800266"><font class="yiv1278489581Apple-style-span" face="courier, monaco, monospace, sans-serif" size="2">Prof. Dr. Ivan Bezerra Allaman</font></div><div style="color: rgb(0, 0, 0);
font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800269"><font class="yiv1278489581Apple-style-span" face="courier, monaco, monospace, sans-serif" size="2">Universidade Estadual de Santa Cruz</font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800272"><font class="yiv1278489581Apple-style-span" face="courier, monaco, monospace, sans-serif" size="2">Departamento de Ciências Exatas e Tecnológicas</font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800275"><font class="yiv1278489581Apple-style-span" face="courier, monaco,
monospace, sans-serif" size="2">Ilhéus/BA - Brasil</font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800278"><font class="yiv1278489581Apple-style-span" face="courier, monaco, monospace, sans-serif" size="2">Fone: +55 73 3680-5076</font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800281"><font class="yiv1278489581Apple-style-span" face="courier, monaco, monospace, sans-serif" size="2">E-mail: ivanalaman@yahoo.com.br/ivanalaman@gmail.com</font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center"
id="yiv1278489581yui_3_2_0_14_131686931800284"><font style="background-color:transparent;"><font face="courier, monaco, monospace, sans-serif" size="2">@</font></font></div><div style="color: rgb(0, 0, 0); font-size: 12pt; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; " align="center" id="yiv1278489581yui_3_2_0_14_131686931800287"><font style="background-color:transparent;"><font face="courier, monaco, monospace, sans-serif" size="2">\end{signature}</font></font></div></div></div></div></body></html>