تصویر:Logistic a2.png
وکیپیڈیا سے

No higher resolution available.
Logistic_a2.png (396 × 381 pixel, file size: 4 KB, MIME type: image/png)
| یہ تصویر اس کے مصنف، منصوبہ اردو ویکیپیڈیا کے urdutext کی طرف سے دائرہ عام میں داخل ہے (یا اب داخل کیا جا رہا ہے)۔ اس کا اطلاق دنیا بھر میں ہے۔ اگر ایسا قانونی طور پر ممکن نہ ہو، |
Created with Scilab سائیلیب
//Scilab script
clear;
//----------------------
a=2; //parameter ot the logistic equation
NTotal = 10; //total iterations
NPlot = 10; // last iterations to plot
xInitial = .80000; // inital point to start the iteration
//-------------------
// compute the iterations
y=[];
xn=xInitial;
for kk=1:NTotal
y=[y xn];
xn = a * xn * (1-xn);
end
// ----------
// ready to plot the last few iterations
xt=[];
yt=[0];
for kk=NTotal-NPlot+1:NTotal-1
xt=[xt y(kk) y(kk)];
yt=[yt y(kk+1) y(kk+1)];
end
lent=length(xt);
yt=yt(1:lent);
// plot the iterations
xset("color",2);
xpoly(xt,yt);
//--------
// plot the logistic map
x=[0:.01:1];
y1=a*x.*(1-x);
plot(x,y1,'r');
// plot the bisector
plot([0 x],[0 x],'k');
//-----------
//
NR = 4; // controls if the helper lines are drawn
if NR>2
for kk=2:NR
plot([y(kk) y(kk)], [0 y(kk+1)],'b -.-');
end
//
xstring(.75,.7,"bisector");
xstring(.1,.3,"map");
//
xstring(y(1),-.05, "X0");
xstring(y(2),-.05, "X1");
xstring(y(3),-.05, "X2");
xstring(y(4),-.05, "X3");
end
//
xtitle("Iteration of Logistic map, x_{n+1} = a x_n (1 - x_n); a=2");
File history
Legend: (cur) = this is the current file, (del) = delete
this old version, (rev) = revert to this old version.
Click on date to see the file uploaded on that date.
- (ضائع) ( رائج) 05:20, 4 فروری 2007 . . Urdutext (تبادلۂ_خیال | شـراکـت) . . 396×381 (4,566 bytes) ({{دائرہ عام۔صارف|urdutext}} )
- Edit this file using an external application
See the setup instructions for more information.
روابط
اس ملف (فائل) سے درج ذیل صفحات رابطہ رکھتے ہیں:

