[Jprogramming] log tables

2017-10-10 Thread Linda Alvord
This turned into a nice way to introduce explicit definiions with multiple lines.  T is for top, S for side, and A for all the log mantissas.  T=: 0.01*i.10 s=: 13 :'y+0.1*i.50' S=:s 0 A=: 10^.S+/T    (('10^.x+y');,.S),.(8j2":T);8j4":A     T=: 0.01*i.10 s=: 13 :'y+0.1*i.50' S=:s 5 A=: 10^.S+/T 

Re: [Jprogramming] log tables

2017-10-09 Thread Linda Alvord
0^.S+/T (('10^.x+y');,.S),.(8j2":T);8j4":A ) (LOGS 0),.LOGS 5 Now you have the two pages side by side. Thanks again, Raul! Linda -Original Message- From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Raul Miller Sent: Wednesd

Re: [Jprogramming] log tables

2017-10-05 Thread Erling Hellenäs
Hi Linda ! Here yet another way, now with browser output. I didn't manage to make it as simple. Maybe it's too difficult for your students. Change the filename, run and open the resulting file in your browser. tag=: '<',[,'>',],''"_ FileWrite=: 4 : 0 try. NB.Delete File if it exists 1!:55 Ta

Re: [Jprogramming] log tables

2017-10-04 Thread Erling Hellenäs
Hi Linda ! Here's another way to do it: NB. Log 0 to 10, 4 decimals a=: 0.01*i.10 b=: 0.1*i.100 ColumnHeader=:'<10^.   ';8j2": a RowHeader=: 8j1": ,. b TableContent=: 8j4": 10^. b + / a Page1=:ColumnHeader ,: ( 50{.RowHeader ); 50{. TableContent Page2=:ColumnHeader ,: ( 50}.RowHeader ); 50}. Tab

Re: [Jprogramming] log tables

2017-10-04 Thread Linda Alvord
Thanks Raul That gives me plenty of things to think about. Linda Linda l Sent from AOL Mobile Mail On Wednesday, October 4, 2017 Raul Miller wrote: If we rearrange this so that all assignments are on the left hand side (and only one assignment per line), we can quickly see that A and H are the

Re: [Jprogramming] log tables

2017-10-04 Thread Raul Miller
If we rearrange this so that all assignments are on the left hand side (and only one assignment per line), we can quickly see that A and H are the same value, and that I is 50+B, that J and C are very similar, and that the remainder of the assignments are all about formatting these results (and, al

[Jprogramming] log tables

2017-10-04 Thread Linda Alvord
Here's a way to create the 2 pages found in most high school Algebra 2 texts. NB. log tables.ijs D=:8j4":10^.C=:(B=:0.1*i.50)+/A=:0.01*i.10 E=:(<8j2":A),:http://www.jsoftware.com/forums.htm

Re: [Jprogramming] log tables for Algebra 2

2017-09-25 Thread David Lambert
: Linda Alvord To:programm...@jsoftware.com Cc:lindaalv...@verizon.net Subject: [Jprogramming] log tables for Algebra 2 Message-ID:<15eb8caa168-c09-36...@webjas-vae093.srv.aolmail.net> Content-Type: text/plain; charset=utf-8 D=:8j4":10^.C=:(B=:0.1*i.50)+/A=:0.01*i.10 E=:(<

[Jprogramming] log tables for Algebra 2

2017-09-25 Thread Linda Alvord
NB. log tables.ijsD=:8j4":10^.C=:(B=:0.1*i.50)+/A=:0.01*i.10E=:(<8j2":A),:F=:,.('<10^.');<":,.BG=:F,.EK=:8j4":10^.J=:(I=:0.1*50+i.50)+/H=:0.01*i.10L=:(<8j2":A),:M=:,.('<10^.');<":,.IN=:M,.LG,:N Any ideas to simplify this? Linda Sent from AOL Mobile Mail --

[Jprogramming] log tables for algebra 2

2017-09-25 Thread Linda Alvord
NB. log tables.ijsD=:8j4":10^.C=:(B=:0.1*i.50)+/A=:0.01*i.10E=:(<8j2":A),:F=:,.('<10^.');<":,.BG=:F,.EK=:8j4":10^.J=:(I=:0.1*50+i.50)+/H=:0.01*i.10L=:(<8j2":A),:M=:,.('<10^.');<":,.IN=:M,.LG,:N Any ideas to simplify this? Linda Sent from AOL Mobile Mail -

[Jprogramming] log tables for algebra 2

2017-09-25 Thread Linda Alvord
NB. log tables.ijsD=:8j4":10^.C=:(B=:0.1*i.50)+/A=:0.01*i.10E=:(<8j2":A),:F=:,.('<10^.');<":,.BG=:F,.EK=:8j4":10^.J=:(I=:0.1*50+i.50)+/H=:0.01*i.10L=:(<8j2":A),:M=:,.('<10^.');<":,.IN=:M,.LG,:N Any ideas to simplify this? Linda Sent from AOL Mobile Mail --