- 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.
推薦閱讀
- JBoss Weld CDI for Java Platform
- Cocos2d-x游戲開發(fā):手把手教你Lua語言的編程方法
- C語言程序設(shè)計(jì)實(shí)踐教程
- TradeStation交易應(yīng)用實(shí)踐:量化方法構(gòu)建贏家策略(原書第2版)
- Jenkins Continuous Integration Cookbook(Second Edition)
- Learning Material Design
- Everyday Data Structures
- Distributed Computing in Java 9
- R語言數(shù)據(jù)挖掘:實(shí)用項(xiàng)目解析
- Python編程快速上手2
- 3ds Max 2018從入門到精通
- Cinder:Begin Creative Coding
- 面向?qū)ο蠓治雠c設(shè)計(jì)(第3版)
- Python 3.8編程快速入門
- Java編程動手學(xué)