b2
Solved Problems
b2
,Problem 1 b2
Script file:
b2
clear, clc b2
disp('Part (a)')
b2 b2
(22+5.1^2)/(50-6.3^2)
disp('Part (b)') b2
44/7+8^2/5-
b2
99/3.9^2
Command Window:
b2
Part (a)
b2
ans =
b2 b2
4.6566
Part (b)
b2
ans =
b2 b2
12.5768
Problem 2 b2
Script file:
b2
clear, clc b2
disp('Part (a)')
b2 b2
sqrt(41^2-5.2^2)/(exp(5)-100.53)
disp('Part (b)')
b2 b2
%alternative: nthroot(132,3)+log(500)/8
b2
132^(1/3)+log(500)/8
b2
Command Window:
b2
Part (a)
b2
ans =
b2 b2
0.8493
Part (b)
b2
ans =
b2 b2
5.8685
,Problem 3 b2
Script file:
b2
clear, clc b2
disp('Part (a)')
b2 b2
(14.8^3-6.3^2)/(sqrt(13)+5)^2
disp('Part (b)') b2
45*(288/9.3-4.6^2)-1065*exp(-1.5)
Command Window:
b2
Part (a)
b2
ans =
b2 b2
43.2392
Part (b)
b2
ans =
b2 b2
203.7148
Problem 4 b2
Script file:
b2
clear, clc b2
disp('Part (a)')
b2 b2
(24.5+64/3.5^2+8.3*12.5^3)/(sqrt(76.4)-28/15)
disp('Part (b)') b2
(5.9^2-2.4^2)/3+(log10(12890)/exp(0.3))^2
Command Window:
b2
Part (a)
b2
ans =
b2 b2
2.3626e+03
Part (b)
b2
ans =
b2 b2
18.9551
Problem 5 b2
Script file:
b2
clear, clc b2
disp('Part (a)')
b2 b2
%alternative: sin(15*pi/180) instead of sind(15)
b 2 b2 b2 b2
cos(7*pi/9)+tan(7*pi/15)*sind(15)
b2
disp('Part (b)') b2
%alternatives: could use nthroot(0.18,3), could convert to radians
b 2 b2 b2 b2 b2 b2 b2
%and use regular trig functions
b2 b2 b2 b2
sind(80)^2-(cosd(14)*sind(80))^2/(0.18)^(1/3)
, Command Window: b2
Part (a) b2
ans =
b2 b2
1.6965
Part (b) b2
ans =
b2 b2
-0.6473
Problem 6 b2
Script file:
b2
clear, clc b2
x=6.7;
b2
disp('Part (a)') b2
0.01*x^5-1.4*x^3+80*x+16.7
disp('Part (b)')
b2 b2
sqrt(x^3+exp(x)-51/x)
b2
Command Window: b2
ans =b2
266.6443
Part (b) b2
ans =
b2 b2
33.2499
Problem 7 b2
Script file:
b2
clear, clc b2
t=3.2;
b2
disp('Part (a)') b2
56*t-9.81*t^2/2
b2
disp('Part
b2
(b)')
b2
14*exp(-0.1*t)*sin(2*pi*t)
Command Window: b2
Part (a) b2
ans =
b2 b2
128.9728
Part (b) b2
ans =
b2 b2
9.6685