# Yahoo Web Search

1. ### Help with beginning MATLAB coding?

...for j = 1 : 100 >>> a = 3.95*a*(a- 1 ) >>> vector( j ) = a end Code...you firstly define a zero vector of length 100 . For each iteration of the loop, a.../updated (from zero) to take the value of a.

2 Answers · Computers & Internet · 20/01/2014

2. ### program in qbasics that finds the sum of 1 + 1 /2+ 1 /3+ 1 /4+......all the way to 1 / 100 ?

...double Dim currentfraction as double dim counter as integer = 1 Do until counter = 100 currentfraction = 1 / counter sum = sum + currentfraction counter = counter + 1 Loop return sum taht's it hope it's not too difficult to translate

4 Answers · Computers & Internet · 25/04/2010

3. ### can anyone make an array in matlab?

... default, this function creates 100 points linearly equally spaced...between the numbers that you specify) Do this first: t = linspace(0, 1 ); Next, in order to get the array h, you can rely on ...

1 Answers · Computers & Internet · 09/10/2008

4. ### Write a Boolean expression that evaluates to true if the number is between 1 and 100 .?

...the sake of doing this another way just in case: if it's java, change bool to boolean bool test=false; if (x >= 1 && x <= 100 ){ test = true; } else{ // do stuff } Tfloto below me is exactly right, I should absolutely...

5 Answers · Computers & Internet · 23/05/2011

5. ### Using Excel Solver, what do I do to specify a constraint where the sum of a set of cells must equal only 100 %?

It depends on 100 % of what amount, it's just like a set of ... In solver dialog, click add button to add constraint, select C1 in the 1st box , middle box choose =, the last box put 7, click ok...

2 Answers · Computers & Internet · 02/03/2009

6. ### (JAVA/C++)How do you write a program that checks all possible integers for a^2 + b^2 = c^2 say within 1 -10k?

...39;t terribly efficient. The inner loop will run 1 million times ( 100 * 100 * 100 ). Not really a big deal on todays machines. But if you want to do it for much larger values than c = 10k...

2 Answers · Computers & Internet · 06/12/2010

7. ### Im new to c++ and cant figure this program out for the life of me...?

Well, think about what you have to do . You need to generate a random number between 1 and 100 . Looks like you have that part worked out already. Then you have...

3 Answers · Computers & Internet · 29/09/2009

8. ### com Sci program ...?

A slight revision to the loop test expression from a previous answer: int i, total = 0; for(i = 1 ; i <= 100 ; i += 2) total += i;

2 Answers · Computers & Internet · 09/11/2006

9. ### How do you make this Array program?

...an array of 100 integers elements with the numbers from 1 to 100 */ for (i = 0; i < 100 ; i++) {    numbers[i] = i...

2 Answers · Computers & Internet · 11/04/2012

10. ### do you guys know about fortran77?

... " do while" through "end do " with: .... do 10 i= 1 , 100 sum = sum+i 10 continue Also, I believe that... you get 99 in your output, change i- 1 to just i in the write statement.

1 Answers · Computers & Internet · 23/09/2014