Page 1 of 1

Please Use Maylab programming language!, 1.Write a program to generate a table of the base-10 logarithms between 1 and 1

Posted: Sun May 15, 2022 1:27 pm
by answerhappygod
Please Use Maylab programming language!,
1.Write a program to generate a table of the base-10 logarithms between 1 and 10 in steps of 0.1, then save them into a text file named LGTable.txt. The text file should be organized as shown below.
2.Read all numbers from the above text file LGTable.txt, and get the value of log10(5.6) based on the table.
3. Calculate the difference between the above value from the table and the accurate value of log10(5.6).
Please Use Maylab Programming Language 1 Write A Program To Generate A Table Of The Base 10 Logarithms Between 1 And 1 1
Please Use Maylab Programming Language 1 Write A Program To Generate A Table Of The Base 10 Logarithms Between 1 And 1 1 (26.77 KiB) Viewed 93 times
HW4-1. 1. Write a progran to generate a table of the base-10 logarithms between 1 and 18 in steps of 0.1, then save then into a text file named Lable.txt. The text file should be organized as shown below. 2. Read all numbers from the above text file LoTable.txt, and get the value of log10(5.6) based on the table. 3. Calculate the difference between the above value from the table and the accurate value of log10(5.6). X 19/0) 19X1) g(x2) 19(x3) 19/X.4)(x5) lg(x6) 190X7) 19(x8) 19(X.9) 1 0.000 0.041 0.079 0.114 0.146 0.176 0.204 0.230 0.255 0.279 2 0.301 0.322 0.342 0.362 0.380 0.398 0.415 0.431 0.447 0.462 3 0.477 0.491 0.505 0.519 0.531 0.544 0.556 0.568 0.580 0.591 4 0.602 0.613 0.623 0.633 0.643 0.653 0.663 0.672 0.681 0.690 0.699 0.708 0.716 0.724 0.732 0.740 0.748 0.756 0.763 0.771 0.778 0.785 0.792 0.799 0.806 0.813 0.820 0.826 0.833 0.839 7 0.845 0.851 0.857 0.863 0.869 0.875 0.881 0.886 0.892 0.898 0.903 0.908 0.914 0.919 0.924 0.929 0.934 0.940 0.944 0.949 9 0.954 0.959 0.964 0.968 0.973 0.978 0.982 0.987 0.991 0.996 10 1.000 1.004 1.009 1.013 1.017 1021 1.025 1029 1.033 1.037 on