Download presentation
Presentation is loading. Please wait.
1
Week 6 labs
2
Compute A B or log A B For B an integer, A B can be computed very similarly to N! except instead of building the product 1*2*3*…*N, we build the product A*A*A*…*A (B many times) log A B is the inverse of the exponential function and, as you might guess, can be computed inversely to our previous calculation: instead of multiplications, do divisions. The count of divisions until we reach 1 is an approximate value of log A B (Note that VB already provides these functions but for the lab we will write our own)
3
Lab using listbox and loops: do one Compute a table of powers N N^2 N^3 etc Build the chore-list project pictured below
4
Complete the file read example from the visualbasic6b.ppt slides (screenshot below)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.