vieira Posted February 11, 2009 Report Share Posted February 11, 2009 Dear memebers, I need to do a simple VI that reproduces the fibbonacci serie up to N number (enter by control) and shown in an array. How can help me? Thank you in advance for your help. Quote Link to comment
ejensen Posted February 11, 2009 Report Share Posted February 11, 2009 I think this is pretty self explanatory. This will display all numbers in the sequence including one number past the upper limit. Removing the extra value would be easy enough with a case statement around the build array, but I didn't bother. Quote Link to comment
Mark Yedinak Posted February 11, 2009 Report Share Posted February 11, 2009 QUOTE (ejensen @ Feb 10 2009, 03:46 PM) I think this is pretty self explanatory. This will display all numbers in the sequence including one number past the upper limit. Removing the extra value would be easy enough, but I didn't bother. http://lavag.org/old_files/monthly_02_2009/post-13866-1234302331.png' target="_blank"> I think you just did his homework. Quote Link to comment
Antoine Chalons Posted February 11, 2009 Report Share Posted February 11, 2009 QUOTE (Mark Yedinak @ Feb 10 2009, 10:50 PM) I think you just did his homework. or helped him on http://projecteuler.net/' rel='nofollow' target="_blank">project Euler ;-) Quote Link to comment
ejensen Posted February 11, 2009 Report Share Posted February 11, 2009 Probably so, but in doing so, I learned something and he missed out. Quote Link to comment
TobyD Posted February 11, 2009 Report Share Posted February 11, 2009 QUOTE (Antoine Châlons @ Feb 10 2009, 01:52 PM) or helped him on project Euler ;-) My guess is homework, but here is the vi I used to solve #25 on project euler (modified to output the entire sequence as a 2D array instead of outputting only the term #. I was going to post it hoping it would get turned in as homework (because it is so pretty ). I'm too slow. Download File:post-8758-1234303321.vi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.