Monday, May 9, 2016

Arithmetic geometric progression.

1. Program to generate a arithmetic geometric series of length n, stored at 5000H. The value of a,r and d are stored at 5001H,5002H & 5003H.Store the series from memory location 5004H.


Screenshots before generating series. See the contents from memory location 5000H. The length of required series is 5 with a=2, d=3 and r=2.





Screenshot after generating the series. See the contents of memory location from 5004H. The series of length 5 is generated.


No comments:

Post a Comment