- #1
lkcl
- 7
- 0
hi folks I've looked on List of trigonometric identities - Wikipedia, the free encyclopedia
and the equation below (expressed identically as both latex and python) i don't
see on the list. can anyone think of a way in which this equation may be
re-factored so that the square-root is no longer part of it?
many many thanks,
l.
(update: let me try some {math} brackets round the latex... it worked! yay! thanks mark for the hint)
\(\displaystyle
w = \frac{
\left( 1 - \sqrt{\cos{\alpha \pi}} \right)
\left(sin{\alpha \pi} \right)
}
{2}
\)
python:
cs = 1 - pow(cos(fsc * pi), 0.5)
si = sin(fsc * pi)
cs * si / 2
and the equation below (expressed identically as both latex and python) i don't
see on the list. can anyone think of a way in which this equation may be
re-factored so that the square-root is no longer part of it?
many many thanks,
l.
(update: let me try some {math} brackets round the latex... it worked! yay! thanks mark for the hint)
\(\displaystyle
w = \frac{
\left( 1 - \sqrt{\cos{\alpha \pi}} \right)
\left(sin{\alpha \pi} \right)
}
{2}
\)
python:
cs = 1 - pow(cos(fsc * pi), 0.5)
si = sin(fsc * pi)
cs * si / 2
Last edited: