phiofsr

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 3.2, Creation date: 2017-01-02, Last change: 2025-09-14

returns a angle difference to achieve a slot size

Description

phi of slot at radius: = s/r
This is just a function to remember the analytical background

See Also: nofrd , dofn , sofrd , circ2poly

Example Illustration

 missing image of phiofsr(s,R)

Syntax

phi=phiofsr(s,R)

Input Parameter

s: slot size
R: minimal radius

Output Parameter

phi: angle to add




Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This function, phiofsr, calculates the angle difference required to achieve a specified slot size at a given radius. It is part of the SolidGeometry library and was introduced in version 3.2.

Input Parameters

Output Results

Algorithm Explanation

The function calculates the angle phi using the formula:

phi = s / R

This formula is derived from the relationship between the arc length (slot size) and the radius in a circle, where the angle in radians is the arc length divided by the radius.

Algorithm explaination created using ChatGPT on 2025-08-18 22:13. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21