Solved

SAS Programming Software Help

Posted on 2010-09-07
1
652 Views
Last Modified: 2013-11-16
Hey everybody, I need to do the following using SAS:
Find the following four items and then print them on the output screen please:
4*tan^-1 (1)
Cube root of 29
SQRT of 47
Natural log of 82
0
Comment
Question by:Bordeaux0113
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
radevo earned 500 total points
ID: 33624283
4*tan^-1 (1)
Cube root of 29
SQRT of 47
Natural log of 82

Arc tangent function is ATAN
Cube root is expoentiatoin to the 1/3 power
Square root is SQRT or exponentiation to the 1/2 power
Natural log is LOG

data results;

length problem $50;

problem = '4*tan^-1 (1)';
answer = 4 * atan(1);
output;

problem = 'Cube root of 29';
answer = 29 ** (1/3);
output;

problem = 'SQRT of 47';
answer = sqrt (47);
output;

answer = 47 ** (1/2);
output;

problem = 'Natural log of 82';
answer = log (82);
output;
run;

proc print data=results;
run;
0

Featured Post

Webinar: Choosing a MySQL HA Solution

Join Percona’s Principal Technical Services Engineer, Marcos Albe as he presents Choosing a MySQL High Availability Solution on Thursday, June 29, 2017 at 10:00 am PDT / 2:00 pm EDT (UTC-7).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Progress
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question