hi to everyone !!!
anny here ,.
i want to make a program using c which can calculate following functions ::
sin,cos,tan,+,-,*,/,iverse,log,ln,exp,sqrt,raise to power 100,10,2
plz plz if anyone can help me by giving me some idea about it and which is somthing of beginners level !!
thanxx alot !

Recommended Answers

All 5 Replies

Convert the expression to postfix , then use a stack .

hi to everyone !!!
anny here ,.
i want to make a program using c which can calculate following functions ::
sin,cos,tan,+,-,*,/,iverse,log,ln,exp,sqrt,raise to power 100,10,2
plz plz if anyone can help me by giving me some idea about it and which is somthing of beginners level !!
thanxx alot !

You need to create the GUI for flexibility.

Hi,
There are standard functions for all the ones you have said above... check out math.h...
What kind of idea are you expecting anyways?...
For add, you need to have atleast 2 numbers... take number 1, take number 2, add them... thats all...

Be specific about what you want...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.