وااه
05-01-2007, 08:00 AM
السلام عليكم
اذا ممكن حد يساعدني في حل مسائل MATLAB ما بنسى خدمته للابد
Part1 Vector in Matlab
>>>>>>>>>>>
Compute a+b, a-3b,
||4a+2b||
if a= 3i-j+4k, b=5i+j
>>>>>>>>>>
compute a.b
if a=3i+j, b=-2i+3j
>>>>>>>>>>>>>>
compute angle between vectors
a=<2,0,-2<
b=<0,-2,4<
>>>>>>>>>>>>>>>>>>>>>>>>>
compute cross product
a×b
if a= <1,2,-1>,b=<1,0,2>
************************************************** ***
************************************************** ***
************************************************** ***
Part2 Ploting in MATLAB
>>>>>>>>
plot values of vector
r(t)=<3t,t^2,2t-1>,t=0,t=1,t=2
>>>>>>>>>>>>>>>
r(t)=<2cost,sint-1>
>>>>>>>>>>>>>>>>>
f(x,y)=x^2+y^2; z=1, z=4, z=9, x=0
>>>>>>>>>>>>>>>>>>>>
f(x,y)=x-2y; z=0, z=1, x=0,y=0
>>>>>>>>>>>>>>>>>>>>>
f(x,y)=x^2+4y^2
************************************************** ***
************************************************** ***
Part3
Partial Differentiation in MTLAB
>>>>>>>>>>>>>
f(x,y)=x^2sinxy-3y^3
>>>
f(x,y)=x^3-4xy^2+3y
************************************************** **
************************************************** **
Part4 Polar, Cylindrical and Spherical Coordinates - Use MATLAB to solve the
following problems:
a) Use the command "ezpolar" to plot r = 2 and r = 3 + 2sinθ , where
0 ≤θ ≤π .
b) Convert the equation y =1 + x in polar coordinates (i.e., write r in terms
ofθ ).
c) Plot z = r in cylindrical coordinates, where 0 ≤ r ≤1 and 0 ≤θ ≤ 2π
بكون شاكرة جدا جدا اذا ساعدتوني لو في شي بسيط ... اللي عنده طريقة الحل يكتبها لأني حاولت استخدم help وضعت ماعرفت له
اذا ممكن حد يساعدني في حل مسائل MATLAB ما بنسى خدمته للابد
Part1 Vector in Matlab
>>>>>>>>>>>
Compute a+b, a-3b,
||4a+2b||
if a= 3i-j+4k, b=5i+j
>>>>>>>>>>
compute a.b
if a=3i+j, b=-2i+3j
>>>>>>>>>>>>>>
compute angle between vectors
a=<2,0,-2<
b=<0,-2,4<
>>>>>>>>>>>>>>>>>>>>>>>>>
compute cross product
a×b
if a= <1,2,-1>,b=<1,0,2>
************************************************** ***
************************************************** ***
************************************************** ***
Part2 Ploting in MATLAB
>>>>>>>>
plot values of vector
r(t)=<3t,t^2,2t-1>,t=0,t=1,t=2
>>>>>>>>>>>>>>>
r(t)=<2cost,sint-1>
>>>>>>>>>>>>>>>>>
f(x,y)=x^2+y^2; z=1, z=4, z=9, x=0
>>>>>>>>>>>>>>>>>>>>
f(x,y)=x-2y; z=0, z=1, x=0,y=0
>>>>>>>>>>>>>>>>>>>>>
f(x,y)=x^2+4y^2
************************************************** ***
************************************************** ***
Part3
Partial Differentiation in MTLAB
>>>>>>>>>>>>>
f(x,y)=x^2sinxy-3y^3
>>>
f(x,y)=x^3-4xy^2+3y
************************************************** **
************************************************** **
Part4 Polar, Cylindrical and Spherical Coordinates - Use MATLAB to solve the
following problems:
a) Use the command "ezpolar" to plot r = 2 and r = 3 + 2sinθ , where
0 ≤θ ≤π .
b) Convert the equation y =1 + x in polar coordinates (i.e., write r in terms
ofθ ).
c) Plot z = r in cylindrical coordinates, where 0 ≤ r ≤1 and 0 ≤θ ≤ 2π
بكون شاكرة جدا جدا اذا ساعدتوني لو في شي بسيط ... اللي عنده طريقة الحل يكتبها لأني حاولت استخدم help وضعت ماعرفت له