Solved

SAS Programming Software Help

Posted on 2010-09-07
1
640 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
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
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…

840 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