Community Profile

photo

Laura


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


WHAT would be the reason this matlab code works but does not draw the graphic?
% Constants G = 6.67430e-11; % gravitational constant M = 5.9722e24; % mass of Earth R = 6.371e6; % radius o...

1 year ago | 1 answer | 0

1

answer

Question


What is wrong with my code, my equation is vdv/dy=-G*M/(y+R)^2 ?
cssCopy codefunction dydt = gravity(y, v, G, M, R) % y: height above surface % v: velocity at height y % G: gravitational ...

1 year ago | 2 answers | 0

2

answers