الموضوع: يا شباب تكفون
عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 22-10-2011, 07:22 PM

مغترب للدراسة مغترب للدراسة غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Oct 2010
التخصص: هندسة عامة
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: ذكر
المشاركات: 34
افتراضي يا شباب تكفون


يا شباب اللي يعرف حل هذي الأسئلة في الماتلاب 201 للمعمل لا يبخل علينا

Q3)
a) Create a MATLAB user defined function called sin_degree
that compute sin x where x in degree.


b) Write a MATLAB program that:
-prompt the user to enter the angle x in degree.
- it computes sinx using the function you defined in part (a)


Q4)
a) Write a MATLAB user defined function that calculate the distance between two
points. ( x1 , y1) and (x2, y2).
[ : = ( − ) + ( − ) ]


b) Write a MATLAB program that:
-prompt the user to enter two points (x1, y1) and (x2, y2)
- it display their distances using the function you defined in
رد مع اقتباس