Hi everyone! I dont know how to fit the parameter of b and n in my code to get the calculation of area equal 1. Could someone help me to modify it? I literally confuse how to fix this up. Thank you in advance before!
ro_init=0.2:0.1:100;b=0.0517; % assume
n=1.0145; % assumecdfVdp=(1-exp(-b*((2*ro_init).^n))); pdfvdp=2*b*n*exp(-b*(2*ro_init).^n).*(2*ro_init).^(n-1);area=trapz(ro_init,pdfvdp); %this results should be 1
Best Answer