ENGR 1412 F11 Project#2

ENGR 1412 F11 Project#2 - ENGR 1412 INTRODUCTION TO...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ENGR 1412 - INTRODUCTION TO COMPUTER PROGRAMMING DR. AJ JOHANNES, FALL 2011 1 of 4 Project #2 - Due during the Week of Sept 12-16, 2011 (Beginning of Labs) This project is mainly about Function programs and Excel Solver. 1) Consider an application of Project #1. Using Solver , determine the drag coefficient (C D ) for a 0.22 long rifle bullet ( diameter 5.6 mm, length 25.4 mm, mass 2.1 g ). We know that the bullet was fired at an angle of 25 o and has a muzzle velocity of 500 m/s. The bullet travelled 5.01 m in the x-direction in approximately 4.4 sec, in a tank filled with water. (Hint: find the value C D for which the x-direction distance, D calculated using Equation 2 in Project 1 equals the measured distance of 5.01 m). 2) Write VBA Function programs to calculate volume and surface area for a paraboloid of any given radius, r and height, h 2 1 2 V r h π = and { } 3 2 2 3 2 2 4 6 A r S r h r h = + 3) Write VBA Function programs to compare the performance of finite difference relations to calculate the derivative of the function: f(x) = Sin(x) + Cos(x) . Use the following three finite difference relations and suggest which one compares the best with the analytical solution for d[f(x)]/dx (Use the same value for Δx in all three equations; x, Δx in radians ). a.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

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

{[ snackBarMessage ]}

Page1 / 4

ENGR 1412 F11 Project#2 - ENGR 1412 INTRODUCTION TO...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online