<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.if.pw.edu.pl/~majanik/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.if.pw.edu.pl/~majanik/wiki/index.php?action=history&amp;feed=atom&amp;title=KADD_laboratorium_3</id>
		<title>KADD laboratorium 3 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.if.pw.edu.pl/~majanik/wiki/index.php?action=history&amp;feed=atom&amp;title=KADD_laboratorium_3"/>
		<link rel="alternate" type="text/html" href="http://www.if.pw.edu.pl/~majanik/wiki/index.php?title=KADD_laboratorium_3&amp;action=history"/>
		<updated>2026-04-06T06:27:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>http://www.if.pw.edu.pl/~majanik/wiki/index.php?title=KADD_laboratorium_3&amp;diff=59&amp;oldid=prev</id>
		<title>Majanik: /* Zadanie */</title>
		<link rel="alternate" type="text/html" href="http://www.if.pw.edu.pl/~majanik/wiki/index.php?title=KADD_laboratorium_3&amp;diff=59&amp;oldid=prev"/>
				<updated>2012-03-14T11:00:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Zadanie&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:00, 14 March 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć stałą c w taki sposób aby rozkład gęstości był unormowany (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć stałą c w taki sposób aby rozkład gęstości był unormowany (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* narysować gęstość prawdopodobieństwa f(x,y) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* narysować gęstość prawdopodobieństwa f(x,y) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć i narysować &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dystrybuante &lt;/del&gt;F(x,y) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć i narysować &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;dystrybuantę &lt;/ins&gt;F(x,y) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć i narysować gęstość brzegową g(x) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć i narysować gęstość brzegową g(x) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć i narysować gęstość brzegową h(y) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* wyznaczyć i narysować gęstość brzegową h(y) (1pkt)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Majanik</name></author>	</entry>

	<entry>
		<id>http://www.if.pw.edu.pl/~majanik/wiki/index.php?title=KADD_laboratorium_3&amp;diff=55&amp;oldid=prev</id>
		<title>Majanik: Created page with &quot;{| align=&quot;right&quot; | __TOC__ |}   == Zadanie == Dana jest gęstość prawdopodobieństwa:  File:Wzor_Lab03_Kadd2012.png  Należy dla parametrów '''m=1''' i '''n=2''': * wyznac...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.if.pw.edu.pl/~majanik/wiki/index.php?title=KADD_laboratorium_3&amp;diff=55&amp;oldid=prev"/>
				<updated>2012-03-14T10:58:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| align=&amp;quot;right&amp;quot; | __TOC__ |}   == Zadanie == Dana jest gęstość prawdopodobieństwa:  &lt;a href=&quot;/~majanik/wiki/index.php/File:Wzor_Lab03_Kadd2012.png&quot; title=&quot;File:Wzor Lab03 Kadd2012.png&quot;&gt;File:Wzor_Lab03_Kadd2012.png&lt;/a&gt;  Należy dla parametrów &amp;#39;&amp;#39;&amp;#39;m=1&amp;#39;&amp;#39;&amp;#39; i &amp;#39;&amp;#39;&amp;#39;n=2&amp;#39;&amp;#39;&amp;#39;: * wyznac...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Zadanie ==&lt;br /&gt;
Dana jest gęstość prawdopodobieństwa:&lt;br /&gt;
&lt;br /&gt;
[[File:Wzor_Lab03_Kadd2012.png]]&lt;br /&gt;
&lt;br /&gt;
Należy dla parametrów '''m=1''' i '''n=2''':&lt;br /&gt;
* wyznaczyć stałą c w taki sposób aby rozkład gęstości był unormowany (1pkt)&lt;br /&gt;
* narysować gęstość prawdopodobieństwa f(x,y) (1pkt)&lt;br /&gt;
* wyznaczyć i narysować dystrybuante F(x,y) (1pkt)&lt;br /&gt;
* wyznaczyć i narysować gęstość brzegową g(x) (1pkt)&lt;br /&gt;
* wyznaczyć i narysować gęstość brzegową h(y) (1pkt)&lt;br /&gt;
&lt;br /&gt;
== Uwagi ==&lt;br /&gt;
* Wszystkie wielkości (stałą c, dystrybuantę, gęstości brzegowe) wyznaczamy numerycznie np. wykorzystując metodę &amp;lt;code&amp;gt;Integral&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Skrypt powienien być napisany w taki sposób aby wykonywał obliczenia dla dowolnego m i n.&lt;br /&gt;
* Należy oznaczyć i podpisać wszystkie osie.&lt;br /&gt;
* Funkcję rozkladu gestosci (obiekt TF2) tworzymy poprzez wykorzystanie konstruktora zawierającego wskaźnik na funkcję (odpowiednio zdefiniowanej dla wszystkich wartości x i y): &lt;br /&gt;
 double fcn(double *x, double *params)&lt;br /&gt;
&lt;br /&gt;
 TF2(const char* name, void* fcn, Double_t xmin = 0, Double_t xmax = 1, Double_t ymin = 0, Double_t ymax = 1, Int_t npar = 0)&lt;br /&gt;
&lt;br /&gt;
Przykład:&lt;br /&gt;
 double function(double *x, double *params)&lt;br /&gt;
 {&lt;br /&gt;
    if(x[0]&amp;gt;=0 &amp;amp;&amp;amp; x[1]&amp;gt;=0)&lt;br /&gt;
      return params[0]*x[0]*x[1];&lt;br /&gt;
    return 0;&lt;br /&gt;
 }&lt;br /&gt;
 ...&lt;br /&gt;
 double xmin = 0;&lt;br /&gt;
 double xmax = 10;&lt;br /&gt;
 double ymin = 0;&lt;br /&gt;
 double xmax = 10;&lt;br /&gt;
 int nparams = 1;&lt;br /&gt;
 TF2 * fun1 = new TF2(&amp;quot;fun1&amp;quot;,function,xmin,xmax,ymin,ymax,nparams);&lt;br /&gt;
&lt;br /&gt;
== Wynik ==&lt;br /&gt;
Wykresy:&lt;br /&gt;
[[File:Zad03_KADD2012.png]]&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
 Wspolczynnik normujacy c=6&lt;/div&gt;</summary>
		<author><name>Majanik</name></author>	</entry>

	</feed>