Calculate the ideal weight of your boa constrictor (logarithms in bash & bc)
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The relationship between the four equations is that one is the inverse ln of the other so:
ln(wt)=3.216*ln(length)-.5065
is
wt=.6026*length^3.216
If you look at the equations on the graph the units appear to be mixed up. However the grpah (which is in inches) seems to match the above equation ft to lbs. Have fun.
The relationship between the four equations is that one is the inverse ln of the other so:
ln(wt)=3.216*ln(length)-.5065
is
wt=.6026*length^3.216
If you look at the equations on the graph the units appear to be mixed up. However the grpah (which is in inches) seems to match the above equation ft to lbs. Have fun.
I noticed that, but wasn't sure enough to bring it up (and still am not really).
I've re-posted the script above in my first post, with what appear to be much better calculations, hopefully accurate as they can be this time, and also made it so numerous different length units can be inputted (feet meters centimeters inches), and added some input sanity checking.
Ah, yes, thought it was something Greek! "The Fairest", or summat like that. That was what was written on The Apple Of Discord, that started a cat-fight among the Goddesses and led to the Trojan War. Nice.
Kalli is approx. 4 feet long, actually I'd guess she's a bit longer than that, but I have not tried to measure her really accurately yet. Definitely >= 4 ft though. She'll be 17 months old in a couple days.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.