using Matlab
1) use the if/else structure to solve these problems (a,b)
a) write a programme that reads an integer from the user. then
your program should display a message whether the integer is even
or add.
b) many solid-fuel rocket motors consist of three stages. Once the
first stages burns out, it separates from the missile and the
second stage lights. then the second stages burns out and separate
and the third stage light.Finally, once the third stages burns out,
it also separates from the missile.Assume that the following data
approximately represent the time during which each stage
burns:
stage 1 0-100 seconds
stage 2 100-170 seconds
stage 2 170-260 seconds
write and test program to determine whatever the missile is in the stage 1 flight, stages 2 flight, stages 3 flight, or free flight (unpowered)
Get Answers For Free
Most questions answered within 1 hours.