Suppose that x 5 and y 2 Use MATLAB to compute the followi
Suppose that x = 5 and y = 2. Use MATLAB to compute the following: (3-2/x^4)^-3 5 pi x^2y^1.5 -4y/2x + 5 3(x -2)/2y + 7
Solution
x=5;y=2;
>> (3-(2/(x^4)))^-3
ans =
0.0372
>> 5*pi*x^2*y^1.5
ans =
1.1107e+003
>> (-4*y)/(2*x+5)
ans =
-0.5333
>> (3*(x-2))/(2*y+7)
ans =
0.8182
