Hw03_problem3 - Program Description Practice writing function definition lines a function[km_per_L = MPGtoKML(miles_per_gal f b function[force =

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

View Full Document Right Arrow Icon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Programmer(s) and Purdue Email Address(es): % 1. % % Section: % % Assignment #: Homework 3, problem 3 % % 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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % % Program Description: Practice writing function definition lines. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % a) function [km_per_L] = MPGtoKML(miles_per_gal) f % b) function [force] = gravforce(mass1, mass2, distance_between) f % c) function [dice_sum, die_values] = die_roll(no_dice, no_roles) f % d) function = histplot(data_set, no_bins) f...
View Full Document

This note was uploaded on 05/02/2011 for the course ENGR 132 taught by Professor Kutson during the Spring '11 term at Purdue University-West Lafayette.

Ask a homework question - tutors are online