LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview HELP

Solved!
Go to solution

Create a VI that plots sin θ versus cos θ for 0 ≤ θ ≤ 2π. Display the output on an XY graph. Label the x-and y-axes “sin(theta)” and “cos(theta)”, respectively. Add a cursor and a cursor legend to the plot. Using the cursor, verify that when sin θ = 0 (along the x-axis) that cos θ = 1 (along the y-axis). What geometrical figure results from running the VI?

 

I need help with having the  0 ≤ θ ≤ 2π be executed into a graph. Any point in the right direction would be greatly appreciated

0 Kudos
Message 1 of 7
(3,586 Views)

2pi.png

0 Kudos
Message 2 of 7
(3,565 Views)
Solution
Accepted by topic author Roupaz

AKA: draw a circle...

Sine and Cosine.png

0 Kudos
Message 3 of 7
(3,524 Views)

This sounds suspiciously like you're trying to get us to do your homework for you.

 

Do you actually have any code made at all that you can post?

0 Kudos
Message 4 of 7
(3,508 Views)

wiebe@CARYA wrote:

AKA: draw a circle...

Sine and Cosine.png


... or just ....

 

circle.png

Message 5 of 7
(3,504 Views)

Here's a Rube-Goldberg way to make a circle of radius 1 using random numbers; maybe you'll get extra credit for it, it has more wires than the other solutions.

 

 

mcduffsnip.png

 

0 Kudos
Message 6 of 7
(3,491 Views)

@altenbach wrote:

wiebe@CARYA wrote:

AKA: draw a circle...

Sine and Cosine.png


... or just ....

 

circle.png


Both have the problem that the 2 pi and 0 are the same point of course. Let's ignore that, as it isn't our problem anyway Smiley LOL. EDIT scrap that. The 'requirement' says '0 ≤ θ ≤ 2π', so that is correct as specified.

 

I (sometimes) try to stay away from those analysis VIs as they do add a dependency (dll) to the executable. Not sure if there's any reason in that, just one of those things...

 

This solution is more difficult to understand, and therefore more fun (…Smiley Frustrated):

Circle Complex.png

Too bad that ramp pattern isn't polymorphic...

Message 7 of 7
(3,471 Views)