LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fill array with solutions of equation

Hello everyone!

I want to fill an 1D array with solutions of equation (x=0), but can't figure out how i should do this. It looks like a simple task, and i definitely miss something. Default coefficients is: a=0,03. A=2

Thanks in advance.

2qioiyo

0 Kudos
Message 1 of 3
(2,249 Views)

Wait, so all you want to do is take the x=0 solution to the equation for y and initialize a 1D array to that value?

 

See the attachment.

 

0 Kudos
Message 2 of 3
(2,201 Views)

@ADZol wrote:

Hello everyone!

I want to fill an 1D array with solutions of equation (x=0), but can't figure out how i should do this. It looks like a simple task, and i definitely miss something. 

 


You miss much more than "one thing".

 

  1. The number of iterations is known  before the loop starts, so you need a FOR loop. No termination condition needed.
  2. There is exactly one solution for x=0, so why would you need an array? Seems redundant.
  3. ...

 

Message 3 of 3
(2,194 Views)