week1lab - with a radius of 10 ft. r=10; S=4.*pi.*r.^2 S =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%1)Define the variable x as x = 9.75, then evaluate the function x=9.75; 4.*x.^3-14.*x.^2-6.32.*x+7.3 ans = 2.3222e+003 %2) Create the given matrices and create the 2 resulting matrices F=[3 21 6 17]; G=[4 27 9 3]; H=[1 2 9 15]; A1=[F; G; H;] A1 = 3 21 6 17 4 27 9 3 1 2 9 15 A2=[F' G' H'] A2 = 3 4 1 21 27 2 6 9 9 17 3 15 ## %3)The surface area of a sphere is 4pir^2. Find the surface area of a sphere
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: with a radius of 10 ft. r=10; S=4.*pi.*r.^2 S = 1.2566e+003 %4) the Volume of a cylinder is pir^2h. Find the volume of the three cylinders where r=3 and h=[1 5 12] r=3; h=[1 5 12]; V=pi.*r.^2.*h V = 28.2743 141.3717 339.2920 %5)Compute the value of I from the given equation. R=5; C=10; L=4; E=2; w=2;...
View Full Document

Ask a homework question - tutors are online