how to write this in excel

1/2 sqrt(4r^2-a^2)
wnypgadokAsked:
Who is Participating?
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
=1/(2*SQRT(4*A1^2-A2^2))
0
davorinCommented:
=(SQRT(4*A3^2-A4^2))/2

in cell A3 put r
in cell a4 put a
0

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
d-glitchCommented:
Yhave two answers because your expression is ambiguous:

(1/2) * sqrt(4r^2-a^2)     or    1 / (2 * sqrt(4r^2-a^2))
1
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
@d-glitch

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

+1 again. :)
0
davorinCommented:
:)
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...
0
QlemoBatchelor, 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.
0
davorinCommented:
0
QlemoBatchelor, 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 ;-).
0
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.
0
QlemoBatchelor, 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).
0
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.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.