Assignment12_Chapter5_Exercise1

Assignment12_Chapter5_Exercise1 - h...

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

View Full Document Right Arrow Icon
% Ashwin Satish % Assignment 12 - Chapter 5, Exercise 1 % ENES 101 / Section 103 % clear, clc c % Define constants diameter = [7926,4217]; radius = diameter / 2; h = 0:1000:10000;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: h [hoz_earth,hoz_mars]=meshgrid(radius,h) [ % Calculate your distance % squarethis = (2 .* radius * h) + (h .^ 2); s d_hoz = sqrt(squarethis); d disp(d_hoz) d...
View Full Document

This note was uploaded on 08/28/2011 for the course ENES 101 taught by Professor Bayles during the Spring '08 term at UMBC.

Ask a homework question - tutors are online