- C# 7 and .NET Core Cookbook
- Dirk Strauss
- 95字
- 2021-07-03 00:12:02
Getting ready
To illustrate the concept of encapsulation, we will create a class that is somewhat complex in its inner working. We need to calculate the thrust-to-weight ratio (TWR) of a space shuttle to determine whether it will be able to take off vertically. It needs to exert more thrust than its weight to counteract gravity and get into a stable orbit. This also depends on which planet the shuttle takes off, because different planets exert different gravitational forces on objects on their surface. In simple terms, the TWR must be greater than one.
推薦閱讀
- Java系統(tǒng)分析與架構(gòu)設(shè)計
- Linux網(wǎng)絡(luò)程序設(shè)計:基于龍芯平臺
- Scratch 3.0少兒編程與邏輯思維訓練
- 人臉識別原理及算法:動態(tài)人臉識別系統(tǒng)研究
- Windows Presentation Foundation Development Cookbook
- Podman實戰(zhàn)
- Python:Master the Art of Design Patterns
- 程序員修煉之道:通向務實的最高境界(第2版)
- Visual C#.NET程序設(shè)計
- OpenCV 4計算機視覺項目實戰(zhàn)(原書第2版)
- QGIS Python Programming Cookbook(Second Edition)
- Kubernetes進階實戰(zhàn)
- OpenCV Android Programming By Example
- Google Maps JavaScript API Cookbook
- Windows 10 for Enterprise Administrators