prog1b_2533_sp11

prog1b_2533_sp11 - v=sqrt(2*g*ymax+v0^2*cos(theta)^2);...

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

View Full Document Right Arrow Icon
% CSC 2533 % Spring 2011 % Assignment 1b h=110; v0=465; theta=38*pi/180; g=9.81; ymax=h+v0^2*sin(theta)^2/(2*g); d=v0*cos(theta)*(v0*sin(theta)/g+sqrt(2*ymax/g));
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: v=sqrt(2*g*ymax+v0^2*cos(theta)^2); fprintf('ymax=%.5f d=%.5f v=%.5f\n',ymax,d,v);...
View Full Document

Ask a homework question - tutors are online