Chapter 75 Puzzle
"I don't care, what kind of topic is this?" Looking at the topic on the big screen, Zhao Peng was immediately 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 question, 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, and after thinking about it for a while, he already had an idea in his mind.
On the big screen, the description of the title is like this.
You are the software developer of the space station. Currently, it is known that the space station will revolve around the geosynchronous orbit. There are 8 rocket propellers on the space station. Please develop the position control program of the space station to ensure that the space station can run stably on the synchronous orbit (requirement: ground command center The operating height of the space station can be adjusted according to the actual situation).
After this topic appeared on the big screen, all the students who participated in this competition looked at the big screen in bewilderment.
"Pervert! How can there be such a problem? Does anyone know how high the synchronous orbit is?"
"I'm going, is this going to give me a zero score in the actual programming test?" Someone almost cried. He can understand the text of this question, but it can be transformed into a mathematical model, and he is powerless.
Bi Jialiang's team, He Hongyun looked at the question and fell into deep thought. This question is really difficult.
Jian Qingli glanced at Bi Jialiang with a confused face, and found that Bi Jialiang was also frowning tightly, holding a pen in his hand, and the draft paper was still blank without any words. Obviously, he had no clue about this problem.
"Is this topic really something we high school students can do?" Jian Qingli looked at the topic and fell into self-doubt.
Li Chengqian's team, Li Chengqian picked up a pen and wrote down the formula of universal gravitation on 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 gravitational force of the earth on the satellite, set the velocity as V, and use the centripetal force calculation formula to calculate..." Li Chengqian will analyze Write down the steps on paper.
Five sentences, five formulas.
turns the problem of the title into a mathematical model.
"Captain, you are simply a genius! How does your head grow!" Zhao Peng looked at the formula and derivation process on the paper, his face was full of shock and admiration.
Ding Ling frowned and looked again, but found that she still couldn't understand what Li Chengqian wrote. She glanced at Zhao Peng suspiciously, and couldn't help asking, "Zhao Peng, do you understand the derivation process?"
"I don't understand it!" Zhao Peng replied with a look of naturalness on his face, "Can an ordinary person understand such a complicated thing? You overestimate me."
"You don't understand, why do you have to look surprised and shocked." Ding Ling was almost speechless by Zhao Peng's answer. Looking at Zhao Peng's appearance without knowing it, she would definitely think that he had already understood.
"The captain is so powerful, shouldn't he be amazed?" Zhao Peng looked at Ding Ling with doubtful eyes.
"..." Ding Ling shook her head speechlessly, stopped looking at Zhao Peng, looked carefully at the derivation process written by Li Chengqian on the paper, and concentrated on thinking.
Li Chengqian put his hands on the keyboard, without needing to think at all, and directly typed lines of code onto the computer.
"The program to control the space station must be small because the transmission speed of the star-to-earth network is very slow." Even a hard disk that can go to the space station is specially made. Not only is the capacity extremely small, but the price is even more terrifying. The hard drive costs 800,000!
"Programs running on the space station must have high performance." The CPU that can go to the sky is also the same. Stability comes first, performance is not high, but the price is terribly high.
"Because it is the program that controls the operation of the space station, it is of great importance and cannot make any mistakes. After the software receives external signals, it will start running immediately. 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 from the ground, it may crash. If it flies too high, it will escape the gravity of the earth and fly to outer space.
Li Chengqian danced his fingers on the keyboard at the speed of fifteen lines of code a minute.
Crackling sounds resounded densely, filling the entire space.
After an hour and a half, Li Chengqian's hand finally stopped.
【The real-time altitude and speed adjustment subsystem of the space station is 100% complete, and the software level is D-. 】
【Space station altitude speed safety subsystem is 100% complete, software level D-. 】
This module allows the space station to fly stably in the air while adjusting the flight altitude.
【The real-time flight attitude adjustment subsystem of the space station is 100% complete, and the software level is D-. 】
This module can adjust the attitude of the space station, flying horizontally, vertically, obliquely, or even rolling. Through this software, the direction of the space station can be precisely 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 rate of the space station operating system is 23%. 】
"Completed!" Li Chengqian smiled after seeing the prompt displayed by the system.
He thought secretly in his heart, "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, the operating system of the space station, I will write it out without much effort."
"However, the feeling of typing by hand is completely incomparable with skill thinking coding." He was used to the input speed of 3,000 lines of code per minute of thinking coding, and he was really not used to it when he returned to 15 lines of code per minute. This efficiency, 200 times is the difference.
"Brain wave receiver, I must get it out!" Li Chengqian once again strengthened his belief.
On the other side, Ding Ling was dumbfounded, 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 at the same time were so fast that she could hardly read them.
"How could Li Chengqian's hand speed be so fast! It's too powerful, it's incredible." Ding Ling looked at Li Chengqian with admiration and shock.
Zhao Peng has long been used to Li Chengqian's hand speed, so it's not surprising. Seeing Li Chengqian stop, he excitedly rushed to Li Chengqian's side, "Captain, have you finished?"
"Well, done! Need to test it now."
Immediately afterwards, Li Chengqian tested with programming software and found that the program ran smoothly without any errors.
Li Chengqian tried to input the space station height, rocket engine power, fuel quantity, space station weight and other related parameters, and simulated the running program.
On the simulation interface, data such as the time required to adjust the altitude, the amount of fuel required, and the operating speed of the space station after adjustment are displayed.
If it is really running on the space station, it can also display the real-time speed of the space station, real-time altitude and other related data.
After seeing that there were no problems in the test, Li Chengqian uploaded the mathematical derivation process formula, as well as the software code, to the paper.
"This time, it should be a full score!" The program he wrote can be used on the real space station with only simple improvements, and it is also very easy to use.
As long as he is a knowledgeable person, he will definitely be given full marks.
(end of this chapter)