Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

5. Use built-in Matlab functions to: a. Find the remainder of 5827 ÷ 7 b. Determ

ID: 2073641 • Letter: 5

Question

5. Use built-in Matlab functions to: a. Find the remainder of 5827 ÷ 7 b. Determine the sign of In(0.5), log(1.5), log(1) (Note: The log functions here represent log base 10) c. Calculate 11! d. Calculate sin(55) in radians e. Calculate sin(55) in degrees f. Calculate cos(2) in radians e Calculate cos1(2) in degrees h. Round 13n to the nearest integer i. Round 13 towards zero j. Round 13n toward infinity 6. If x 2·ys 5, and 3.5, calculate the following equations: b. sinz)sin() (assume trig functions are in degrees) cos(a) +cos-1 7. An Amazon customer ordered 1864 candles. "Large" Amazon boxes hold 12 candles and "Small" Amazon a. If using only "Large" boxes, how many boxes are required and how many more candles could fit in b. If using only "Smalr boxes, how many boxes are required and how many more candles could fit in boxes hold 4 candles. the last box if it is not full? the last box if it is not full? 8. Apples $0.85, Cookies $1.25, Pizza slice- $3.45, Soda $1.87. Define the cost each item at the top of the script file. Then write equations to determine the cost of lunch for each customer a. Customer A = 1 apple, 1 cookie, 1 soda b. Customer B 1 pizza slice, 2 cookies, 1 soda c. Customer C 2 apples d. Customer D 2 pizza slices, 6 cookies e. Customer E 8 pizza slices, 8 cookies, 8 sodas f. What was the total for lunch for all 5 customers? Use only one equations to determine this amount. . What was the average cost of lunch for these 5 customers? 9. Steady state heat conduction (q) from a cylindrical solid wall is determined where k is the thermal conductivity, T, is the temperature on the inside of the cylinder, Tz is the temperature on the outside of the cylinder andni r, and L are shown on the picture. Calculate "q" when T1 = 150°C,T,8 425°C, r1 = 0.20m, r2-0.28m, L 15 m, and k 400 watts/oc/m. Calculate "q" when T: 225 Tz-400°C, r0.10m, r: 0.3m·Le 5 m, and k a. b. 450 Watts/oc/m.

Explanation / Answer

%%%% solution to problem (5)%%%%%%%
disp('solution to 5a is');
r=rem(5827,7)
disp('solution to 5b is');
sign(log(0.5))
sign(log10(1.5))
sign(log10(1))
disp('solution to 5c is');
factorial(11)
disp('solution to 5d is');
sin(55)
disp('solution to 5e is');
sind(55)
disp('solution to 5f is');
acos(0.2)
disp('solution to 5g is');
acosd(0.2)
disp('solution to 5h is');
round(13*pi)
disp('solution to 5i is');
fix(13*pi)
disp('solution to 5j is');
ceil(13*pi)

OUTPUT:

solution to 5a is

r =

3

solution to 5b is

ans =

-1


ans =

1


ans =

0

solution to 5c is

ans =

39916800

solution to 5d is

ans =

-0.9998

solution to 5e is

ans =

0.8192

solution to 5f is

ans =

1.3694

solution to 5g is

ans =

78.4630

solution to 5h is

ans =

41

solution to 5i is

ans =

40

solution to 5j is

ans =

41

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote