You are on page 1of 5

Max Nguyen

Math 320
Hw 1
>> % Problem 1
>> (14.8^2+6.5^2)/3.8^2+55/(sqrt(2)+14)
ans =
21.6630

>> % Problem 2
>> (16.5^2*(8.4-sqrt(70)))/(4.3^2-17.3)
ans =
7.6412

>> % Problem 3
>> 15*((sqrt(10)+3.7^2)/(log10(1365)+1.9))
ans =
50.2041

>> % Problem 4
>> (2.3^2*1.7)/(sqrt((1-0.8^2)^2+(2-sqrt(0.87))^2))
ans =
7.9842

>> % Problem 5
>> (sin((7*pi)/9))/(cos(5/7*pi)^2)+1/7*tan(5/12*pi)
ans =

2.1867

>> % Problem 6
>> x=2.34;
>> 2*x^4-6*x^3+14.8*x^2+9.1
ans =
73.2258

>> % Problem 7
>> t=6.8;
>> log(abs(t^2-t^3))
ans =
5.5917

>> % Problem 8
>> x=8.3;
>> y=2.4;
>> x^2+y^2-(x^2/y^2)
ans =
62.6899

>> % Problem 9
>> a=13;
>> b=4.2;
>> c=(4*b)/a;
>> d=(a*b*c)/(a+b+c);

>> a*(b/(c+d))+d/c*a/b-(a-b^2)*(c+d)
ans =
43.5290

>> % Problem 10
>> % sc= Surface Area of Cube (6a^2)
>> % ss= Surface Area of Sphere (4*pi*r^2)
>> % rs= Radius Of Sphere (cm)
>> a=18;
>> sc=6*a^2;
>> rs=sqrt(sc/(4*pi))
rs =
12.4378

>> % Problem 11
>> a=9;
>> b=3;
>> P=2*pi*sqrt(1/2*(a^2+b^2))
P=
42.1489

>> % Problem 12
>> x=pi/9;
>> LHS=sin(4*x)
LHS =
0.9848

>> RHS=4*sin(x)*cos(x)-8*sin(x)^3*cos(x)
RHS =
0.9848

You might also like