Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted

09-28-2012 12:25 PM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

How to write a Labview code to display sinx where x is in radians using first principle

09-28-2012 12:42 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

smercurio_fc

Knight of NI

09-28-2012 12:58 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Homework questions are getting so terse these days.

09-28-2012 01:22 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

@smercurio_fc wrote:

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.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions

Unofficial Forum Rules and Guidelines

09-28-2012 01:49 PM - edited 09-28-2012 01:51 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

@TarunAgarwal wrote:

... using first principle

Of course that could mean "without using any trigonometric functions", for example, which is a more interesting problem. 😄

You could implement a Taylor Series, for example. 😄

09-28-2012 02:06 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

I also think so that we have to expand it using taylor series .How to start in that case..

09-28-2012 02:08 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

This one i already know my dear..

@sparkysquared wrote:

Uh, use the sine function?

http://zone.ni.com/reference/en-XX/help/371361J-01/glang/sine/

--Ryan

09-28-2012 03:37 PM - edited 09-28-2012 07:26 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

@TarunAgarwal wrote:

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?

10-02-2012 05:47 PM - edited 10-02-2012 05:48 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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)

10-23-2012 10:30 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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...