Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,891 members, 7,802,866 topics. Date: Saturday, 20 April 2024 at 12:02 AM

Scientific Calculator Help! - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Scientific Calculator Help! (1162 Views)

How To Make A Simple Calculator In Notepad Using .bat Format / How To Create A Simple Calculator Using Java Programing Language GUI / Vb.net Calculator (2) (3) (4)

(1) (Reply) (Go Down)

Scientific Calculator Help! by Phemmmy(m): 1:52am On Aug 09, 2012
I've been trying to make a scientific calculator and i couldn't continue because of some special functions such as
LOG
SINH
COSH
AND TANH
Please,if you have any help on this,i'll be waiting for your response.
Re: Scientific Calculator Help! by Javanian: 7:30am On Aug 09, 2012
Which language are you using?
Re: Scientific Calculator Help! by ektbear: 7:51am On Aug 09, 2012
log should be in most programming languages.

sinh, cosh, tanh, you can implement yourself from the formulas, assuming you have the exponential function. See this: http://en.wikipedia.org/wiki/Hyperbolic_cosine
Re: Scientific Calculator Help! by mj(m): 2:53pm On Aug 09, 2012
I've worked on dz before, I use Java in doing it, what programming language are you using for it? My system was stolen so I dnt have the code again, I could have jst sent it to you. Takia.
Re: Scientific Calculator Help! by naijaswag1: 6:00pm On Aug 09, 2012
Check java.lang.math class if you are using java!
Re: Scientific Calculator Help! by Phemmmy(m): 4:15am On Aug 10, 2012
@naija_swags,@@mj and @ekt_bear,
I'm using VB.
I have tried to use the exponential formula i mean ((ex+e-x)/2) yes it didn't work.
I guess there should be a conversion before inserting the variable x.
In the issue of the sin,cos and tan,i converted any degree to radian before plugging it in the equation.
Pls,i need more hint.
Re: Scientific Calculator Help! by Murphy7h4: 7:08am On Aug 10, 2012
Thanks for sharing.
Re: Scientific Calculator Help! by ektbear: 10:50am On Aug 12, 2012
Phemmmy: @naija_swags,@@mj and @ekt_bear,
I'm using VB.
I have tried to use the exponential formula i mean ((ex+e-x)/2) yes it didn't work.
I guess there should be a conversion before inserting the variable x.


In what sense did it not work? You wrote a function like this:

def sinh(x)
return (exp(x)- exp(-x))/2

and it failed? How?

(1) (Reply)

Which Is The Best IT School In The World? / 4 Ways To Speed Up A Slow Internet Connection / How To Become A Hacker

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.