RE: [newbie] can't get the answer
- To: mathgroup at smc.vnet.net
- Subject: [mg43135] RE: [mg43117] [newbie] can't get the answer
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 14 Aug 2003 05:07:51 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Promania, First, you have to enclose the arguments of functions in square brackets not round brackets. And Mathematica function names must start with a capital letter. Sin[42] not sin(42). This is Mathematica 101, learned by reading the very beginning of the book. Then Mathematica always returns exact answers if given exact expressions. That means it won't further evaluate something like Sin[42] because 42 is an exact integer. You can convert an exact expression to an approximate numerical value by using N. Lookup N in Help. For example... Cosh[Sinh[9]] + (Sin[42] + Sinh[E^2])/1 // N 1.82499331808*^1759 But if you use Cosh[Sinh[97]] the calculation will overflow. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Promania Corasna [mailto:gjgjdt at xs4all.nl] To: mathgroup at smc.vnet.net Hello all, I'm a newbie in using mathematica 5. I've searched over the internet, but I can't find out how to get the answer to my formula. This is the formula, I have to calculate: cosh(sinh(97))+(sin(42)+sinh(e^2))/1 This is the answer of mathematica: 42\ sin + 97\ cosh\ sinh + e\^2\ sinh\) I just niet a answer from plain number. Does anybody knows how to do that? THanks in advance