Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-penn authored Nov 23, 2017
1 parent 097b6b5 commit 20b7dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twobody.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function twobody()
R2_0 = input('Input the initial position vector of the second mass [x, y, z] (km):\n');

V1_0 = input('Input the initial velocity vector of the first mass [x, y, z] (km):\n');
V2_0 = input('Input the initial velocity vector of the first mass [x, y, z] (km):\n');
V2_0 = input('Input the initial velocity vector of the second mass [x, y, z] (km):\n');

%% make sure all vectors are column vectors
if isrow(R1_0)
Expand Down

0 comments on commit 20b7dd4

Please sign in to comment.