how to write this in excel

1/2 sqrt(4r^2-a^2)
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ejgil HedegaardCommented:
With r in cell A1, and a in cell A2 it will be like this

in cell A3 put r
in cell a4 put a

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Yhave two answers because your expression is ambiguous:

(1/2) * sqrt(4r^2-a^2)     or    1 / (2 * sqrt(4r^2-a^2))
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
No, it is not ambiguos. Math rules tell clearly you have to assume   1/2 * sqrt(4*r^2-a^2).
You are assuming the questioner knows the rules as well as you do.
Much better to clarify first, especially when dealing with typewriter equations.
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:

+1 again. :)
Yes, it is a little bit tricky.
If you are using normal rules, then multiplication and division have the same precedence so you should start solving the equation from left to right - like (1/2)* sqrt(4*r^2-a^2)=0,5*sqrt(4*r^2-a^2)...
That is in case that poster just forgot to write multiplication sign.
In this case my comment is correct one.

But if poster did not wrote the multiplication sigh by purpose and he is using the rule that some use that implied mutiplication has precedence before division, then the formula should look like 1/(2 * sqrt(4*r^2-a^2)).
In this case Ejigl is right...
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Unless I have no strong reason not to, I need to rely on what the asker tells. However, it would be much better to see
and/or the context.

1/2 x  is different from  1/2x. The latter seems to be "ambiguous", but isn't. If you write the latter down with explicit operators, it is still (1/2)*x. Every other intended meaning is wrong.
I understand you are trying to cover wrong typing, but you should first take the posters word literally. In particular as the formula looks much more familar if interpreted strictly.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
That is why I differ between    1/2x, 1/2 x, 1/ 2x. I still say the result is the same, but the intended meaning might differ ;-).
Martin LissOlder than dirtCommented:
I've requested that this question be closed as follows:

Accepted answer: 500 points for hgholt's comment #a41033574

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
As discussed, there is either a single solution, then it is http:#a41033576, or the request is ambiguous, and there are two possible solutions (the first two comments).
Ejgil HedegaardCommented:
I agree with Qlemo in the first comment.
The request is not ambiguous.

I read the question wrong, and made a mistake in the solution.
davorin has the correct solution.
Math rules clearly is that no sign means multiplication.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Math / Science

From novice to tech pro — start learning today.