Solved

SAS Programming Software Help

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Finding a job can be stressful - searches, resume tweaks, and networking events can be super boring. Luckily we're here to help you land your dream job!
With the shift in today’s hiring climate (http://blog.experts-exchange.com/ee-blog/5-tips-on-succeeding-in-the-new-gig-economy/?cid=Blog_031816), many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Articles on a wide range of technology and professional topics are available on Experts Exchange. These resources are written by members, for members, and can be written about any topic you feel passionate about. Learn how to best write an article t…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now