Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-12-2005, 10:57 PM   #1 (permalink)
Back to l33ching :)
 
gauravakaasid's Avatar
 
Join Date: Jun 2005
Location: Latitude: 22° 32' North. Longitude: 88° 22' East
Posts: 839
Default UNIX shell programmin..


does ne1 here know how to find square root f a number in shell programmin?
__________________
Whenever you find yourself on the side of the majority, it is time to pause and reflect ~ Mark Twain
gauravakaasid is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 10-12-2005, 08:26 PM   #2 (permalink)
Alpha Geek
 
Join Date: May 2004
Location: Mumbai
Posts: 525
Default

Hmmmm
Unix shell scripting.
U r at the wrong place
Post it in the open source section.
Mods move this post.
amitsaudy is offline  
Old 10-12-2005, 10:25 PM   #3 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

you can use sqrt() function for that.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 17-12-2005, 02:19 AM   #4 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default

try this
echo "5 ^ 2" | bc
gives 25
replace 2 by .5 to give root!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by Sujeet
- by gforz

Advertisement




All times are GMT +5.5. The time now is 03:46 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2