Page 1 of 1
Equation.
Posted:
14 Jan 2018, 19:54
by Longines
Hello.
With this reference, he shows me a non-result. So B = 0. There should be a positive value. In program.
solve (46 * 180 / 3.14159 / b - 40 / (SIN (b / 2) * 2) = 0, b) | b> 0 and b <180
Re: Equation.
Posted:
14 Jan 2018, 21:39
by critor
By typing exactly what you've specified, I'm getting a positive value :
Re: Equation.
Posted:
14 Jan 2018, 21:50
by Longines
Also, as I write on the command line, the result is correct. The error displays when the program is started
Re: Equation.
Posted:
14 Jan 2018, 22:30
by critor
What's the program code then ?
Re: Equation.
Posted:
15 Jan 2018, 16:09
by Longines
- Code: Select all
:test()
:Prgm
Input "K ",k
:Input "L ",l
:Input "A ", g
:solve(l * 180 / PI / b - g / (SIN(b / 2) * 2) = 0,b)|b > 0 and b < 180
b * k->n: Disp n
EndPrgm
p.s.
Calculator: TI-89
Re: Equation.
Posted:
15 Jan 2018, 17:53
by UnCurieux
Hello
it's :
Input "L ", l
and not :
Input "L ". l
Re: Equation.
Posted:
15 Jan 2018, 18:37
by Longines
The calculator has commas. I wrote a dot when typing on a computer keyboard.
Re: Equation.
Posted:
15 Jan 2018, 20:53
by Longines
After many attempts I found a solution. The equation should look like this:
nSolve (l * 180 / PI / b-g / SIN (b / 2) * 2) = 0, b) | b> 0 and b <180-> b