Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7498529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:30:20+00:00 2026-05-29T19:30:20+00:00

Please see the formulæ below. It’s the solution to a circle chord problem where

  • 0

Please see the formulæ below.

It’s the solution to a circle chord problem where A is the arc length and C is the chord length.
I want to find the Radius r.

The formula below uses factorials and powers etc which I don’t know how to express in Objective C.

Can somebody help by converting the formula into Objective C language?

a = A² – C²
b = -2A^4/4!
c = 2A^6/6!
d = -2A^8/8!

//Let:
f = c/a-b²/3a²

g = d/a+2b³/27a³-bc/3a²

x = cuberoot(-g/2 + sqrt(g²/4+f³/27)) – cuberoot(g/2 + sqrt(g²/4+f³/27)) - b/3a

r = sqrt(x)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:30:21+00:00Added an answer on May 29, 2026 at 7:30 pm

    This should work:

    double factorial(int x)
    {
        double result = 1;
        for (x = x; x > 0; x--)
        {
            result *= x;
        }
        return result;
    }
    

    …

    int A = 20;
    int C = 25;
    
    double a = A*A - C*C;
    double b = -2.0*pow(A, 4.0)/factorial(4);
    double c = 2.0*pow(A, 6.0)/factorial(6);
    double d = -2.0*pow(A, 8.0)/factorial(8);
    
    //Let:
    double f = c/a-(b*b)/(3.0*(a*a));
    
    double g = d/a + 2.0*pow(b, 3.0)/(27.0*pow(a, 3.0))-(b*c)/(3.0*a*a);
    
    double x = pow(-g/2.0 + sqrt(g*g/4.0+pow(f, 3.0)/27.0), 1.0/3.0) - pow(g/2.0 + sqrt(g*g/4.0+pow(f, 3.0)/27.0), 1.0/3.0) - b/(3.0*a);
    
    double r = sqrt(x);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Note, I have found the solution to my problem. Please see below. I'm converting
I really want to get this out of my head. Please see below code:
******QUESTION WAS EDITED, Please see below** I am running into a problem when I'm
please see below link and help me to fix this problem. http://parsegard.com my problem
I have sql server procedure, please see below. ALTER PROCEDURE [dbo].[uspInsertDelegate] ( @CourseID int,
I am using jquery datepicker, please see below code $(document).ready(function() { $(.txtDate).datepicker({ showOn: 'button',
Please see code below. The destructors are never called. Anyone know why and how
everyone. Please see example below. I'd like to supply a string to 'schedule_action' method
I have an Adorner which adornes a Border (please see screenshot below). The MouseDown
I have a grid view control in my application. Please see the below code.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.