承接 bjoernffm/e6b 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bjoernffm/e6b

Composer 安装命令:

composer require bjoernffm/e6b

包简介

E6-B flight computer emulation

README 文档

README

Build Status StyleCI Codacy Badge

This class provides a first and very basic version of an ordinary E6-B flight computer also nicknamed the "whiz wheel".

An E6-B calculator is a form of circular slide rule used in aviation and one of a very few analog computers in widespread use in the 21st century.

Usage

Imagine we want to fly a course of 220 degrees having a true airspeed of 110 kts. Wind comes from a direction of 270 degrees with a speed of 25 kts. So what's the resulting angle of correction, heading and groundspeed?

<?php

use bjoernffm\e6b\Calculator as e6bCalc;

require_once __DIR__ . '/vendor/autoload.php';

$result = e6bCalc::getWindCorrectionAngle(220, 110, 270, 25);
var_dump($result);

/*
array(3) {
  'windCorrectionAngle' =>
  int(10)
  'heading' =>
  int(230)
  'groundSpeed' =>
  int(92)
}
*/

Have fun using the E6-B emulation!

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固