energy_rpereir - % % % FUNCTION NAME: calculates the energy...

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

View Full Document Right Arrow Icon
function E = energy_rpereir(m) f %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Programmer(s) and Purdue Email Address(es): % % 1. rpereir@purdue.edu % % % Section #: 07 % % % Assignment #: Homework 3 activity 4 % % % Academic Integrity Statement: % % % I/We have not used source code obtained from % % any other unauthorized source, either modified % % or unmodified. Neither have I/we provided access % % to my/our code to another. The project I/we am/are % % submitting is my/our own original work.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % % % FUNCTION NAME: calculates the energy based off of a given mass % % INPUTS: List them below one line per input argument % % m - mass % % % % OUTPUTS: List them below line per output argument % % E = % % % % 1.0e+022 * % % % % Columns 1 through 7 % % % % 0.0000 0.0000 0.0002 0.0009 0.0042 0.0194 0.0899 % % % % Columns 8 through 10 % % % % 0.4171 1.9361 8.9868 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % E=m*(2.9978e8)^2 %energy equation end...
View Full Document

Page1 / 2

energy_rpereir - % % % FUNCTION NAME: calculates the energy...

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