steve_bank
Diabetic retinopathy and poor eyesight. Typos ...
I think you are right, I under defined the problem, and bomb was right. An infinite number of solutions.
Live and learn.
Live and learn.
The problems were posed as a circle as an obfuscation.Not sure why I sat hear and read the whole thread. I didn't understand any of it.
Nerds...whattayagonnado?You're killing me.
You made the post. Thought you wanted an explanation.You're killing me.
You could play video games on a computer you have no clue as to how it works....Nerds...whattayagonnado?You're killing me.
Huh?Are you Starfleet Academy material?
You are in space away from appreciable influence of gravity and you need to launch a probe in a straight line.
Th velocity time profile is exponential that accelerates to a target velocity above the space ship velocity. The acceleration has to be limited to protect equipment in the probe,
Given:
probe mass = 1000kg
maximum acceleration = 10 g's
desired probe velocity = 100m/s above ship velocity
Determine probe:
velocity(t)
acceleration(t)
force(t) in Newtons
engine_power(t) in Watts
total energy consumed in Joules
The probe doesn't need to do anything fancy--just boost straight ahead.Feel free to show a solution. I do not think you are right.
What equations do you enter into the probe guidance system?
option explicit
Sub Main
Dim Doc As Object
Dim cell as object
Dim Sheet As Object
Doc = ThisComponent
Sheet = Doc.Sheets (0)
Cell = Sheet.getCellByPosition(0,0)
cell.string = "RUNNING"
dim n,i as integer
dim _e,a_max,v_target,tau,dt,tmax,m_drone,_t,g,ds as double
_e = 2.1782818
g = 9.8
a_max = 10. * g
m_drone = 1000. 'kg
v_target = 100. 'm/s
dt = .1
tau = v_target/a_max
tmax = 10 * tau '10 time constnts seconds
n = tmax/dt
_t = 0.
dim F(n),a(n),t(n),w(n),E(n),v(n) as double
for i = 0 to n
t(i) = _t
_t = _t + dt
v(i) = v_target * ( 1 - _e^(-t(i)/tau))
a(i) = a_max * (_e^(-t(i)/tau))/g
F(i) = m_drone * a(i) 'F=ma
ds = v(i) * dt
E(i) = F(i) * ds 'joules = force * distance
W(i) = (E(i)/dt)/1e3 'kilowatts
next i
Cell = Sheet.getCellByPosition(1,0)
cell.string = "TIME"
Cell = Sheet.getCellByPosition(2,0)
cell.string = "VELOCITY"
Cell = Sheet.getCellByPosition(3,0)
cell.string = "ACCEL"
Cell = Sheet.getCellByPosition(4,0)
cell.string = "FORCE"
Cell = Sheet.getCellByPosition(5,0)
cell.string = "POWER"
for i = 0 to n
Cell = Sheet.getCellByPosition(1,i+1)
cell.value = t(i)
Cell = Sheet.getCellByPosition(2,i+1)
cell.value = v(i)
Cell = Sheet.getCellByPosition(3,i+1)
cell.value = a(i)
Cell = Sheet.getCellByPosition(4,i+1)
cell.value = F(i)
Cell = Sheet.getCellByPosition(5,i+1)
cell.value = W(i)
next i
Cell = Sheet.getCellByPosition(0,0)
cell.string = "DONE"
End Sub