Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I was able to solve part a, HELP ME WITH PART B FAST PLEASE!! I was able to solv

ID: 1714009 • Letter: I

Question

I was able to solve part a, HELP ME WITH PART B FAST PLEASE!!
I was able to solve part a, HELP ME WITH PART B FAST PLEASE!!
The gravitational force F between two bodies of masses mi and m z is given by the equation Gm,m where G is the gravitational constant (6.672x10N km2kg'),m two bodies in kilograms and r is the distance between the two m2 are the masses of the bodies. (a) Write a function to calculate the the distance between them. f orbit 38,000 km above the earth. The mass of earth is gravitational force between two bodies given their masses and T'est your function by determining the force on an 800 kg satellite in 5.98x 10kg (b) Let m,-5.98x10M kg and m be a vector from 100 to 1000 in increments of 100 and r be a vector from 37,000 to 38,000 in increments of 500. Write a script part (a) and generates an Excel file with the first column listing the entries of mi, the second column listing the entries of r and the last column listing the values of force of attraction, F between masses mi and m. Assume that the vectors could be any size so use loops to fill the table. The first row of the table should have a heading. An example of the table is below that uses the function written in ml (kg) 100 200 r (km) 37000 37000 F (N) 1078339.5 2156678.9 100 200 37500 37500 1063961.6 2127923.2 100 200 38000 38000 1049962.1 2099924.2

Explanation / Answer

#matlab

m=linspace(100,1000,10);

r=linspace(37000,38000,3);

for i=1:10

x=m(i);

for j = 1:3

F=6.672*10^-17*5.98*1024*x/.r*r

F(j)=F;

end

F(i)=F(j)

end

F(i)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote