Accelerationc - m=5 u=0.2 p=10 a=(p-u*m*M_G printf"Acceleration a =%f\n" a return 0}

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

View Full Document Right Arrow Icon
Sheet1 Page 1 /* acceleration.c */ #include<stdio.h> #define M_G 9.81 int main() { double a, m, u, p
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: m=5 u=0.2 p=10 a=(p-u*m*M_G) printf("Acceleration a = %f\n", a) return 0 }...
View Full Document

This note was uploaded on 04/18/2008 for the course EME 5 taught by Professor Staff during the Fall '08 term at UC Davis.

Ask a homework question - tutors are online