Solving for $z$ in $x=frac y{2 tan(z/2)}$












0














I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!










share|cite|improve this question
























  • You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    – Jyrki Lahtonen
    Dec 2 at 6:25
















0














I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!










share|cite|improve this question
























  • You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    – Jyrki Lahtonen
    Dec 2 at 6:25














0












0








0


1





I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!










share|cite|improve this question















I'm trying to solve for $z$ given $x=dfrac y{2 tan(z/2)}$.



Wolfram Alpha gives me the solution, but when I plug the formula into Excel it's not giving expected results at all - if I plug the same $x$ value into the formula it does not give me the $z$ that I originally started with.



Hopefully that's enough information to go off of; normally I frequent Stackoverflow. Thanks!







trigonometry






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 30 at 20:11









amWhy

191k28224439




191k28224439










asked Nov 30 at 18:54









user3763099

1




1












  • You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    – Jyrki Lahtonen
    Dec 2 at 6:25


















  • You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
    – Jyrki Lahtonen
    Dec 2 at 6:25
















You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
– Jyrki Lahtonen
Dec 2 at 6:25




You should not necessarily be surprised to get back a different value of $z$. Instead you should keep an open mind to the possibility that the equation is satisfied by many choices for $z$ even without changing $x$ and $y$. A formula that Excel can use will only produce a single value.
– Jyrki Lahtonen
Dec 2 at 6:25










2 Answers
2






active

oldest

votes


















1














We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer





















  • Where does 'k' come from, how do I find this value?
    – user3763099
    Nov 30 at 19:47










  • @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    – gimusi
    Nov 30 at 19:49





















0














The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer





















  • That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    – user3763099
    Nov 30 at 19:40












  • $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    – KM101
    Nov 30 at 20:21













Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3020491%2fsolving-for-z-in-x-frac-y2-tanz-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer





















  • Where does 'k' come from, how do I find this value?
    – user3763099
    Nov 30 at 19:47










  • @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    – gimusi
    Nov 30 at 19:49


















1














We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer





















  • Where does 'k' come from, how do I find this value?
    – user3763099
    Nov 30 at 19:47










  • @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    – gimusi
    Nov 30 at 19:49
















1












1








1






We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.






share|cite|improve this answer












We have



$$x=frac y {2 tan(z/2)} iff tan(z/2)=frac y {2x} iff z=2arctan frac y {2x}+2kpi$$



provided that $zneq 0 quad xneq 0$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 30 at 19:41









gimusi

1




1












  • Where does 'k' come from, how do I find this value?
    – user3763099
    Nov 30 at 19:47










  • @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    – gimusi
    Nov 30 at 19:49




















  • Where does 'k' come from, how do I find this value?
    – user3763099
    Nov 30 at 19:47










  • @user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
    – gimusi
    Nov 30 at 19:49


















Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 at 19:47




Where does 'k' come from, how do I find this value?
– user3763099
Nov 30 at 19:47












@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 at 19:49






@user3763099 For example $tan x = 1 implies x=arctan (1)+kpi =pi/4+kpi quad kin mathbb{Z}$
– gimusi
Nov 30 at 19:49













0














The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer





















  • That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    – user3763099
    Nov 30 at 19:40












  • $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    – KM101
    Nov 30 at 20:21


















0














The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer





















  • That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    – user3763099
    Nov 30 at 19:40












  • $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    – KM101
    Nov 30 at 20:21
















0












0








0






The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?






share|cite|improve this answer












The solution is



$$2 left(pi c_1+cot ^{-1}left(frac{2 x}{y}right)right)$$



where $c_1$ is an integer.



Doesn't this work for you?







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 30 at 18:58









David G. Stork

9,77921232




9,77921232












  • That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    – user3763099
    Nov 30 at 19:40












  • $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    – KM101
    Nov 30 at 20:21




















  • That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
    – user3763099
    Nov 30 at 19:40












  • $c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
    – KM101
    Nov 30 at 20:21


















That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
– user3763099
Nov 30 at 19:40






That's the formula I'm using, but maybe I'm lost as to what integer c1 is supposed to be. To me, this seems like an unsolved value, so I'm frankly confused as to what I should plug in there. Where does this come from?
– user3763099
Nov 30 at 19:40














$c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
– KM101
Nov 30 at 20:21






$c_1$ is any integer value. You probably know that trig functions are periodic. $tan b(x)$ is periodic and repeats every $frac{pi}{b}$ radians. (Every $pi$ radians if $b = 1$.) For example, $tan frac{pi}{4} = tan frac{5pi}{4}$.
– KM101
Nov 30 at 20:21




















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3020491%2fsolving-for-z-in-x-frac-y2-tanz-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wiesbaden

Marschland

Dieringhausen