# how to write this in excel

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

x
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.

Commented:
With r in cell A1, and a in cell A2 it will be like this
=1/(2*SQRT(4*A1^2-A2^2))
Commented:
=(SQRT(4*A3^2-A4^2))/2

in cell A3 put r
in cell a4 put a

Experts Exchange Solution brought to you by

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

Commented:

(1/2) * sqrt(4r^2-a^2)     or    1 / (2 * sqrt(4r^2-a^2))
Excel & VBA ExpertCommented:
@d-glitch

+1
"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).
Commented:
You are assuming the questioner knows the rules as well as you do.
Much better to clarify first, especially when dealing with typewriter equations.
Excel & VBA ExpertCommented:
@d-glitch

+1 again. :)
Commented:
:)
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...
"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
½√(4r²-a²)
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.
Commented:
"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 ;-).
Older 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.
"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).
Commented:
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.