mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
refactor: experimental_angle
example renamed to strong_angular_quantities
+ cotes angle fix
This commit is contained in:
@@ -42,7 +42,7 @@ int main()
|
||||
const auto force = isq_angle::force[N](500);
|
||||
const auto angle = isq_angle::angular_measure[deg](90.);
|
||||
const weak_quantity_of<isq_angle::torque> auto torque =
|
||||
lever * force * angular::sin(angle) / isq_angle::cotes_angle[rad](1);
|
||||
lever * force * angular::sin(angle) / isq_angle::cotes_angle(1);
|
||||
|
||||
std::cout << "Applying a perpendicular force of " << force << " to a " << lever << " long lever results in "
|
||||
<< torque[N * m / rad] << " of torque.\n";
|
Reference in New Issue
Block a user