Question: Write a program in Visual Basic that will take a number, x, from the user (|x| <1) and show the value of 1/(1-x) using binomial

Write a program in Visual Basic that will take a number, x, from the user (|x|<1) and show the value of 1/(1-x) using binomial theorem.

According to binomial theorem, 1/(1-x) = 1+ x + x^2 + x^3 + x^4 ........

Conditions:

1. You cannot use any operator or built-in function to find the power, you have to create your own function for power.

2. Use first 20 terms of the series.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!