Sponsored Content
Full Discussion: Formula help
Top Forums UNIX for Dummies Questions & Answers Formula help Post 302179403 by joeyg on Thursday 27th of March 2008 03:44:17 PM
Old 03-27-2008
Tools Not sure of anything built-in to use

Take a look at >bc -l
Quote:
s() c() a()
They should all be defined as sine, cosine, arctan respectively

I will have to think more about radians.

And to the other question... latitude and longitude on a map. Math can determine the miles between points; complicated by the earth's curvature.

Last edited by joeyg; 03-27-2008 at 05:18 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Quadratic Formula Program

I have a question about the program I am making. I finished it, compiled it, and there were no errors. Now when I run it, the comand prompt comes up and there are just 1's and 0's that keep looping over and over again. The program is listed before. If anyone has any suggestions I would greatly... (2 Replies)
Discussion started by: zeek
2 Replies

2. Shell Programming and Scripting

Help with formula in a script

I need some help. I been doing system admin for the last several years and gotten very rusty on scripting. I need to write a script that will take a log entry and do math using two columns of data to create a new column. I am taking the column(#2) that contains the time and the column(#5) that... (3 Replies)
Discussion started by: scottzx7rr
3 Replies

3. Solaris

formula to get the swap space on a machine

Hello there are different opinions on how to get the swap space on Solaris. some say: swap -s and the space= used + available others say swap -l (donno how they get the swap size) other say 'top' command others say using format command (in print sub-command) Could you please advise on... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

4. Shell Programming and Scripting

how to create script for this formula?

Hello Unix gurus, Can anyone tell me the most efficient way to create script for the formula? Formula: Ans = 1 - ((Buffer pool data physical reads + Buffer pool xda physical reads + Buffer pool index physical reads + Buffer pool temporary data physical reads + Buffer pool temporary xda... (6 Replies)
Discussion started by: Rahulpict
6 Replies

5. Shell Programming and Scripting

Formula to get combination… sum

Formula to get combination Lats say, I have 5 values ID Price 1 5 2 10 3 30 4 5 Resule with Possible combinations will be ID Price 1 5 2 10 3 30 4 5 1+1 10 1+2 15 1+3 35 1+4 10 (1 Reply)
Discussion started by: Amit.Sagpariya
1 Replies

6. Shell Programming and Scripting

Convert Formula to Value

I'm new to Perl, but I need to use it to write into an excel spreadsheet. I want to copy the values of certain cells into a new sheet in the workbook. I'm unsure of how to do this because I don't know how to copy values instead of formulas. Note: by formula I mean '=SUM(A1,A2)' and by value I... (0 Replies)
Discussion started by: AgentSmith88
0 Replies

7. Shell Programming and Scripting

formula missing in excel after using perl

Dear all, I got a template excel file which contains several worksheets. Each worksheet contains some formulas in the cells. I am using the perl script to read a CSV file and then put the data of CSV into template excel file(first worksheet) and then save it as new file name using ... (0 Replies)
Discussion started by: eldonlck
0 Replies

8. Shell Programming and Scripting

Formula missing in excel after using perl

Hi all, I use "Spreadsheet::ParseExcel::SaveParser" to - read a existing excel file with : $Parser = Spreadsheet::ParseExcel::SaveParser->new(); $HeaderFile = $Parser->Parse("XLS_FILE_ACCESS"); - modify some values in somes cell with : $worksheet->AddCell($row_target,$col_max,... (3 Replies)
Discussion started by: Yom
3 Replies

9. Shell Programming and Scripting

A strange formula

Dear Masters, Kindly need your helps for this issue.. I face a formula as a picture... the input file is A DEPT Vp Vs rho VPperVS ------------------------ ------------ ------------ ------------ 700 151.9218 121.9269 ... (11 Replies)
Discussion started by: ipatah
11 Replies

10. Solaris

Formula calculate scan rate

Hi There, Just curious here... If there formula to calculate scan rate on solaris? Thanks Edy (3 Replies)
Discussion started by: edydsuranta
3 Replies
ROAD(7) 						 Miscellaneous Information Manual						   ROAD(7)

NAME
road, gps - road map of the United States SYNOPSIS
games/road [ -g ] [ -s scale ] games/gps DESCRIPTION
Road displays a road map centered around some specified place in the United States. The data comes from the Census Bureau Tiger Database. The map is drawn in three shades of grey. Light grey is used for water features such as rivers, streams and lakes. Dark grey is used for railroads and airports. Black is used for roads. On terminals with ldepth zero, all shades appear black. Without options, the center of the map is the latitude and longitude specified in the file /lib/sky/here. If the -g option is given, the center of the map will be the latitude and longitude specified by continually monitoring the end of the file /tmp/gpslog. This file is written by the GPS satellite receiver program gps. With this option, and with gps running, road becomes a moving map display suitable for cars or planes. Keyboard commands s number sets the scale of the map to number. The number can be prefixed with + or - to increase/decrease the current scale. Scale 6 is about one mile across the screen and scale 10 is about ten miles across. Scales 1 through 10 are drawn with maximum detail showing all roads, trails, rivers, streams and airports. Scales 11 through 14 show highways, rivers, airports and county boundaries. Scales 15 through 20 show interstate highways and state boundaries. /regexp All features labeled by text matching the regular expression are highlighted. p place centers the map at the specified place. Usually the place must have the associated state code, (eg murrayhill,nj) but places like lax and ewr are also known. l latitude longitude centers the map at the specified coordinate. g toggles the -g option described above. q Exit. Mouse button commands Button 1 displays the text of the line nearest the cursor. Normally this is the name of a street or river. Button 2 displays the text of the place nearest the cursor. Normally this is a town. Button 3 centers the display on the cursor position. Gps reads /dev/eia0 assumed connected to a Garmin GPS-55 satellite receiver and writes the current location on the end of the file /tmp/gpslog. It is intended to be used with mobile PC's. FILES
/lib/roads/LLLL/LLLLGGGG.h scale 1-10 database files where LLLL is the latitude multiplied by 5 and GGGG is the longitude multiplied by 5. /lib/roads/LLL/LLLGGG.h scale 11-14 database files where LLL is the latitude multiplied by 1 and GGG is the longitude multiplied by 1. /lib/roads/LL/LLGG.h scale 15-20 database files where LL is the latitude multiplied by 0.2 and GG is the longitude multiplied by 0.2. /lib/roads/place /lib/roads/place.local are the translations between place names and locations. These files must be sorted. /lib/sky/here default starting map center. /tmp/gpslog moving map location. SOURCE
/sys/src/games/road /sys/src/games/gps ROAD(7)
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy