Community Profile

photo

Chukwunememma Uponi


Last seen: mehr als ein Jahr vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Please help: How to do a time step?
Here is my code, i need the final velocity from u_1 to be the initial velocity for u_2. How do i do this please? close all c...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


i need the second plot to start from where the last point on the first plot left off. The graph is meant to be continuous across all three stages not broken up. Help please?
close all clc; %define variables mi_1=2290000; mf_1=130000; tb_1=165; Isp_1=263; mi_2=496200; mf_2=40100; tb_2=360; ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I am trying to combine plots to one graph for u, p and a. So i need three separate graphs in total but im having trouble combining the plots needed for each graph.
i am trying to make three separate graphs for u, p and a against t but im having trouble combining the graphs to make one figure...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how do i dfferentiate u with respect to t?
mi=2290000; mf=130000; tb=165; t=linspace(0,165); mr=mi-((mi-mf)*(t/tb)); hold all g = 9.81; Isp=263; u=g.*(Isp.*log(mi...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Array indices must be positive integers or logical values. Error in (line 8) mr(t)=mi-((mi-mf)*(t./tb));
mi=2290000 mf=130000 tb=165 t= linspace(6.5,165,1); mr(t)=mi-((mi-mf)*(t./tb)); mr=[] for t=6.5:165; mr(t)=mi-((mi-m...

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How do integrate this function over t=0 to t=165?
mi=2290000; mf=130000; tb=165; t=linspace(6.5,165); mr=mi-((mi-mf)*(t/tb)) plot(t,mr, 'blue') hold all g = 9....

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort