Gambar Kerucut dan Sadel

Silakan dicoba

data cone;

do x = –1 to 1 by 0.01;

 do y = –1 to 1 by 0.01;

  z = sqrt(x**2 + y**2);

  if z le 1 then output;

  end;

end;

 

proc g3D data=cone;  plot x*y=z; run;

 

data sadel;

do x = –1 to 1 by 0.1;

 do y = –1 to 1 by 0.1;

  z = sin(x)**2 + cos(y)**2;

  output;

 end;

end;

 

proc g3D data=sadel; plot x*y=z; run;

 

Advertisements

3 responses to “Gambar Kerucut dan Sadel

  1. udah saya coba mas..
    berhasil.

    tapi buat apa mas aplikasina?

  2. #c-git
    PROC G3D juga punya fasilitas memutar atau mengganti sudut pandang grafik. Menarik untuk buat2 animasi grafik fungsi tertentu.

    Fungsi z, bisa diganti pakai joint distribution function juga. Walaupun terbatas cuma dua random variabel. Kali aja mau belajar sifat2 sebaran dari grafik itu.

  3. oooo…
    siap mas..
    expert edition ni.
    hehehehe…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s