Quiz1_Solution - Question 1:...

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Question 1: >>(cos(5*pi/6))^2 * sin((7*pi/8)^2) + tan((pi/6)*log(8))/sqrt(7) ans = 1.4395 Question 2: >>g=9.81; >>vo=750; >>alpha=[5;10;15;20;25;30;35;40;45;50;55;60;65;70;75;80;85]; >>alpharad=(pi/180)*alpha; >>R=((vo)^2/g)*sin(2*alpharad) >>table=[alpha, R] Introduction to Computational Physics Phy 265 Due Jan 31, 2011 or Feb 2, 2011 Solutions To Quiz 1 table = 1.0e+04 * 0.0005 0.9957 0.0010 1.9611 0.0015 2.8670 0.0020 3.6857 0.0025 4.3925 0.0030 4.9657 0.0035 5.3881 0.0040 5.6468 0.0045 5.7339 0.0050 5.6468 0.0055 5.3881 0.0060 4.9657 0.0065 4.3925 0.0070 3.6857 0.0075 2.8670 0.0080 1.9611 0.0085 0.9957 1 Question 3: x=linspace(0,4*pi,100); y=exp(-0.4*x).*sin(x); plot(x,y); Question 4: testno=[1;2;3;4;5;6]; m=[2;4;5;10;20;50]; F=[12.5;23.5;30;61;117;294]; mu= (1/9.81)*F./m; table=[testno,mu] table = 1.0000 0.6371 2.0000 0.5989 3.0000 0.6116 4.0000 0.6218 5.0000 0.5963 6.0000 0.5994 2 ...
View Full Document

This note was uploaded on 02/23/2012 for the course PHYSICS 265 taught by Professor Tegler during the Spring '11 term at N. Arizona.

Ask a homework question - tutors are online