بسم الله الرحمن الرحيم…
تكفون ابي حل لهالاسئلة …
بكره عندي تسليم…
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
مع الشكر مقدما .