View Full Version : guys need help i have exam ngaun.. i only have 30 more minutes


LightFox
23rd Jan '08 Wed, 10:50
buti nlng naacess ko ung internet

here's the program problem

write a program that estiamtes sinh x(hyperbolic sine of x from:

sinh x= summation ahh bstam x^2i-1 / (2i-1)!

where x=1,2,3.....10. For each value of x, end the iteration when the absolute difference between succeeding terms becomes less than or equal to 0.001. Tabulate your output:

x sinhx
1 _____
2 ____
: :
10 _____

chabelle
23rd Jan '08 Wed, 11:02
ang hirap. :hilo:

LightFox
23rd Jan '08 Wed, 11:05
khit ako nhirapan eh hehe... hala 11:30 issubmit to hehe sna my mkatulung...

hmx_ryan
23rd Jan '08 Wed, 11:11
Fox try this

#include <iostream> // for i/o functions
#include <cmath> // for trigonometry functions
int y;
double x;
main()
{
for(y=1;y<=10;y++)
x=sinh(y);
cout<<"\t"<<x;
{

LightFox
23rd Jan '08 Wed, 20:25
thanx paps... kso kumopya ako sa isa kong classmate buti d nmn nhuli hehe... pro gnyan n gnyan dn ung cmula ng knya.. :D

patay_ako
23rd Jan '08 Wed, 21:26
so ano nangyari?

freakice27
23rd Jan '08 Wed, 22:10
sakit sa ulo yang mga ganyang programming problems :D