Chapter 75 Problems
"Holy shit, what kind of question is this?" Looking at the question on the big screen, Zhao Peng was dumbfounded.
Ding Ling also frowned and looked at the questions on the big screen. If she was given enough time, she might be able to come up with a solution to the problem, but it was basically impossible to come up with a solution in a short time.
"Actually, this question is not too difficult..." Li Chengqian looked at the question, thought about it carefully for a while, and already had an idea in his mind.
On the big screen, the description of the question looks like this.
You are a software developer of the space station. It is currently known that the space station will orbit the earth synchronously. There are 8 rocket thrusters on the space station. Please develop the position control program of the space station to ensure that the space station can operate stably in a synchronous orbit (requirement: ground command
The center can adjust the operating height of the space station according to actual conditions).
After this question appeared on the big screen, all the students participating in the competition looked at the big screen in confusion.
"Abnormal! Why is there such a question? Does anyone know how high the synchronous orbit is?"
"Here, are you going to get zero marks on my practical programming test?" Someone almost cried. He could understand the text of this question, but there was nothing he could do if it was converted into a mathematical model.
Bi Jialiang's team and He Jingguo looked at the question and fell into deep thought.
Jian Qingli looked at Bi Jialiang with a confused look on her face, and found that Bi Jialiang's brows were furrowed tightly, and he was holding a pen in his hand. The draft paper was still white without any words, and he obviously had no clue about this problem.
"Is this question really something that we high school students can do?" Jian Qingli looked at the question and fell into self-doubt.
Li Chengqian's team, Li Chengqian picked up a pen and wrote down the formula of universal gravitation on the paper.
"This problem is actually not as complicated as imagined. Assume that the mass of the space station is m and the height from the ground is h. Calculate the gravity of the earth on the satellite. Let the speed be v. Use the centripetal force calculation formula to calculate..." Li Chengqian will
The steps of analysis are written on paper.
Five sentences, five formulas.
This turns the question into a mathematical model.
"Captain, you are a genius! How did your head grow?" Zhao Peng looked at the formulas and derivation process on the paper, his face full of shock and admiration.
Ding Ling frowned and read again and again, but found that she still couldn't understand what Li Chengqian wrote. She glanced at Zhao Peng suspiciously and couldn't help but ask, "Zhao Peng, do you understand the derivation process?"
"I don't understand!" Zhao Peng replied matter-of-factly, "Can an ordinary person like me understand such complicated things? You overestimate me."
"You don't understand, why are you looking so surprised and shocked?" Ding Ling was almost choked by Zhao Peng's answer and could not speak. Zhao Peng looked at him in confusion, and she would definitely think that he had already
understood.
"The captain is so powerful, isn't it worthy of admiration?" Zhao Peng looked at Ding Ling with doubtful eyes.
"..." Ding Ling shook her head speechlessly and stopped looking at Zhao Peng. She looked carefully at the derivation process written by Li Chengqian on the paper and began to think intently.
Li Chengqian put his hands on the keyboard and typed lines of code directly onto the computer without thinking at all.
"The program that controls the space station must be small because the satellite-to-ground network transmission speed is very slow." Even a hard drive that can go to the space station is specially made. Not only does it have a very small capacity, but the price is also terrifying. 500g is special.
Hard drive costs 800,000!
"The performance of programs running on the space station must be high." The same principle applies to CPUs that can go to space. Stability comes first. Performance is not high, but the price is horribly high.
"Because it is a program that controls the operation of the space station, it is of great importance and cannot make any mistakes. The software must start running immediately after receiving external signals. The response speed of the program must reach the millisecond level."
"For the safety of the space station, the height range of the space station from the ground is..." If it is too low to the ground, it may crash; if it flies too high, it will break away from the earth's gravity and fly into outer space.
This is a relatively complex project with many things to consider. These issues were stripped down by Li Chengqian and split into small functional modules.
Li Chengqian's fingers danced on the keyboard at a speed of fifteen lines of code per minute.
The crackling sounds sounded densely, filling the entire space.
An hour and a half later, Li Chengqian's hand finally stopped.
[The real-time altitude and speed adjustment subsystem of the space station is 100% completed, software level d-.]
[The space station altitude and speed safety subsystem is 100% completed, software level d-.]
This module allows the space station to fly stably in the air while adjusting its flight altitude.
[The real-time flight attitude adjustment subsystem of the space station is 100% completed, software level d-.]
This module can adjust the attitude of the space station, fly horizontally, vertically, diagonally, or even roll. Through this software, the direction of the space station can be accurately adjusted.
Li Chengqian is not in a hurry, because the space station needs to dock with the space shuttle, so the space station really needs flight attitude adjustment software.
[The total completion level of the space station operating system is 23%.]
"Done!" Li Chengqian smiled after seeing the prompt displayed by the system.
He thought secretly in his mind, "Compared with developing the core of the Shenlong operating system, the difficulty of writing the operating system of the space station is not high."
"If you give me the specific hardware parameters of the space station and the operating system of the space station, it won't take much effort for me to write them out."
"However, the feeling of typing with hands cannot be compared with the skill-based thinking coding." He was used to the input speed of 3,000 lines of code per minute in thinking coding, but he was really not used to it when he returned to 15 lines of code per minute. This efficiency,
The difference is 200 times.
"I must get the brainwave receiver!" Li Chengqian once again strengthened his belief.
On the other side, Ding Ling was stunned, with shock and admiration in her eyes. This was the first time she saw Li Chengqian typing. Li Chengqian's fingers were like phantoms, and the words that appeared on the computer were so fast that she almost couldn't read them.
"How could Li Chengqian's hand speed be so fast! It's so powerful, so unbelievable." Ding Ling looked at Li Chengqian with admiration and shock in her eyes.
Zhao Peng had long been accustomed to Li Chengqian's hand speed, so he was not surprised. Seeing Li Chengqian stop, he rushed to Li Chengqian's side excitedly, "Captain, is it done yet?"
"Well, it's done! Now we need to test it."
Immediately afterwards, Li Chengqian used programming software to test and found that the program ran smoothly without errors.
Li Chengqian then tried to input relevant parameters such as the height of the space station, rocket engine power, amount of fuel, weight of the space station, etc., and then simulated running the program.
On the simulation interface, data such as the time required to adjust the height, the amount of fuel required, and the operating speed of the space station after adjustment are displayed.
If it is actually run on the space station, it can also display the real-time speed, real-time altitude and other related data of the space station.
After seeing that there were no problems in the test, Li Chengqian uploaded the mathematical derivation process formula and software code to the paper.
"This time, it should be a perfect score!" The program he wrote only needs simple improvements to be used on a real space station, and it is also very easy to use.
Chapter completed!