# Chapter 1, Problem 1P

### MATLAB: An Introduction with Appli...

6th Edition
Amos Gilat
ISBN: 9781119256830

Chapter
Section

### MATLAB: An Introduction with Appli...

6th Edition
Amos Gilat
ISBN: 9781119256830

(a)

To determine

To solve: The equation (5 197+ 2.53)2 .

Solution: The value of equation (5 197+ 2.53)2 is 320.7937 .

Explanation

Solve the given equation.

(5 19 7+ 2.5 3)2(52.7143+15.625)2320.7937

Write the MATLAB script that calculates the equation (5 197+ 2.53)2 .

MATLAB Code:

(5-(19/7)+(2.5^3))^2
% Calculate the value of the equation

Save the MATLAB script with name, chapter1_56830_1_Pa.m in the current folder. Execute the script by typing the script name at the command window to get the answer for (5 197+ 2.53)2 .

Result:

Conclusion:
Therefore, the value of equation (5 197+ 2.53)2 is 320.7937 .

(b)

To determine

To solve: The equation 7×3.1+1205155/3 .

Solution: The value of equation 7×3.1+1205155/3 is 67.3421 .

Explanation

Solve the given equation.

7×3.1+ 1205155/321.7+2.19191.23367.3421

Write the MATLAB script that calculates the equation 7×3.1+1205155/3 .

MATLAB Code:

7*3.1+((120^(1/2))/5)-(15^(5/3))
% Calculate the value of the equation

Save the MATLAB script with name, chapter1_56830_1_Pb.m in the current folder. Execute the script by typing the script name at the command window to get the answer for 7×3.1+1205155/3 .

Result:

Conclusion:
Therefore, the value of equation 7×3.1+1205155/3 is 67.3421 .

Find quality solutions to thousands of textbooks. All for just $2.99 for your first month and only$4.99/month.