Public
Edited
Apr 18, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
const awa = 30 * Math.PI / 180; //przeliczenie na radiany
const aws = 12;
const vog = 4;

const u = -aws * Math.sin(awa);
const v = vog - aws * Math.cos(awa);

const tws = Math.sqrt(u*u + v*v);
const twa = Math.atan(u/v) * 180 / Math.PI; //przeliczenie z powrotem na stopnie

return {tws: tws, twa: twa}
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more