Solved

SAS Programming Software Help

Posted on 2010-09-07
1
620 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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

914 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

14 Experts available now in Live!

Get 1:1 Help Now