Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % Thompson L
- % MECH 102, Section 3
- % hw2
- %This assignment is my own work except as noted in the comments below.
- %Signature______________________________ %Date 1.28.2020
- clc
- clear
- %% prob1
- a=[17,5/7,6.02e23,tan(37)/log2(14),(10.2+8.1^2)/(sqrt(59)-10/17)]
- clear
- %% prob2
- b=[(4/7)*3,sqrt(pi)/6, sind(42), (10.2+8.1^2)/(sqrt(59)-10/17)]'
- clear
- %% prob3
- x=2.13;
- y=pi;
- c=[y,y^2,log(x/y),x-y,cosd(x)]
- clear
- %% prob4
- x=1:3:16;
- y=2:4:22;
- z=28:-5:3;
- A=[x,y,z]
- B=[x;y;z]
- C=reshape(B,[6,3])
- clear
- %% prob5
- F=-5*eye(4,4)
- clear
- %% prob6
- v=linspace(1.00,9.75,6)
- clear
- %%2020.28.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement