Homework questions are getting so terse these days.
Do they not know all they have to do is open the Help and search for their function? And then read. It would be a lot less effort than signing up on NI's forum and then posting a question.
I also think so that we have to expand it using taylor series .How to start in that case..
You start with the wikipedia entry.
Then you wrap the given angle into the -pi..+pi interval and apply the taylor series:
Where do you have problems?
Just to wrap this all up, here's a quick attempt of a Taylor series implementation of sine(x). With 14 terms, it is within ~1e-15 of the stock trigonometric function shipping with LabVIEW over a very wide range.
I am sure improvements are possible.... 😄
Attached VI is in LV 8.2)
Can somebody help me in designing the same using mathscript node or formula node .
In formula node there is no function for factorial representation but in mathscript node there is one...
can anybody write the vi for same...