- #1
Bassalisk
- 947
- 2
So the problem is here:
https://www.physicsforums.com/showthread.php?p=3532161&posted=1#post3532161
And I understand the answer and all, but I want to go further. MATLAB will be main tool for upcoming years so I have to learn.
I want to plot this:
[itex]\sum 2^{i}= 500 000[/itex]
where sum goes from i=0 to n. n are number of iterations i am looking for. First how can make a combination of functions, that plots a sum. Next how can I plot that so its discreet, and only exists for 1 2 3 4...
So my graph contain x-axis which will be representing "i".
And my y-axis should represent the value of the sum. Ergo 1 3 7 15 etc. All up to something close to 500 000(I think this will come close to like 19 iterations)
EDIT: Can anybody show me purely mathematical way to solve the problem stated in the provided post.
[itex]\sum_{i=0}^n 2^{i}= 500 000[/itex]
https://www.physicsforums.com/showthread.php?p=3532161&posted=1#post3532161
And I understand the answer and all, but I want to go further. MATLAB will be main tool for upcoming years so I have to learn.
I want to plot this:
[itex]\sum 2^{i}= 500 000[/itex]
where sum goes from i=0 to n. n are number of iterations i am looking for. First how can make a combination of functions, that plots a sum. Next how can I plot that so its discreet, and only exists for 1 2 3 4...
So my graph contain x-axis which will be representing "i".
And my y-axis should represent the value of the sum. Ergo 1 3 7 15 etc. All up to something close to 500 000(I think this will come close to like 19 iterations)
EDIT: Can anybody show me purely mathematical way to solve the problem stated in the provided post.
[itex]\sum_{i=0}^n 2^{i}= 500 000[/itex]
Last edited: