Visual Basic Rule Of 72 Program Comcast
Comcast openly claimed that they spent an average of $10k per customer upgrading their cable network to handle 100mb/s, then Google Fiber came along and claimed they spent an average of less than $700 per customer installing 1gb dedicated fiber.
Of course Comcast can't compete, they're getting 1/10th the speed for 10x the price, and that's ignoring that the fiber is dedicated and the cable is not. What kind of idiots do they have running them?
Yes, those GPON ports that Google Fiber uses have 40gb/s of full-duplex bandwidth split among 32 customers, each with their own dedicated 1.25gb/s lambda. Think DOCSIS3.0 has that?
I'm a complete beginner and could use a hand troubleshooting this code for class. The assignment is:
Visual Basic Programs With Codes
Oct 06, 2016 Download free software Visual Basic Rule Of 72 Program. Rate As Integer = 1. 72 As Double. Actual As Double. Value As Double = 1. Private Sub btn. Visual Basic Tutorial For Beginners. A programming language is a formal computer language or constructed language designed to. The program simply loops through the years, evaluating the compound interest formula: balance = principle. Math.Pow(1 + interestRate, i) Interesting tidbit: To estimate how long it will take to double your money, you can use the 'Rule of 72.' Divide the interest rate into 72 and the result tells you roughly how many years it will take to double your money.
'The rule of 72 is used to make a quick estimate of the time required for prices to double due to inflation. If the inflation rate is r percent, the the Rule of 72 estimates the price will double in 72/r years. For instance, at an inflation rate of 6 percent, prices double in about 72/6 or 12 years. Write a program to test the accuracy of this rule. The program should display a table showing, for each value of r from 1 to 20, the rounded value of 72/r, and the actual number of years required for the prices to double at an r percent inflation rate.(Assume prices increase at the end of each year.)'
The rule of 72 part is pretty straight forward, but I'm having trouble with the second part, the 'actual years' it takes prices to double. I'm pretty sure this is just compound interest, but I don't think my second loop is working right.
Here is my code:
Public Class Form1

End Class
I'm pretty sure that the problem is in the second loop. It's only looping twice for every instance of R, and I know that when R is 1 it should take 70 years. (70 loops)
Thank you in advance for any input.

Update: It looks like the problem was that 'Variables don't automatically get reset when you go back to the beginning of the loop.' (Thank you r/learnprogramming) Here is the new code:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
End Class
Now I am at least getting different answers with each instance of 'Rate'. Still not sure about the math tho. Actual Doubling time when R=1 should be 70. I'm getting 101.