11241 - Humidex
Moderator: Board moderators
11241 - Humidex
i think it is easy problem
my steps are
1. if input is "D" then calculate as given
2. if input is "H" then calculate "D" as new form of getting D from given
3. if input is "E" end
it gives my output as example
but result
WA
what can i do for it
my steps are
1. if input is "D" then calculate as given
2. if input is "H" then calculate "D" as new form of getting D from given
3. if input is "E" end
it gives my output as example
but result
WA
what can i do for it
You think that the first number will be always 'T'. Which is not the case always.
Suppose, these inputs:
Suppose, these inputs:
Code: Select all
D 25 H 45
D 25 T 25
-
- Experienced poster
- Posts: 122
- Joined: Sun Nov 13, 2005 10:25 am
- Location: Taiwan
forgive my poor English..
But what is the meaning of
I count H=39.8... ![:oops:](./images/smilies/icon_redface.gif)
But what is the meaning of
Or can someone tell me how can I know H=42.3 of the inputwhere exp(x) is 2.718281828 raised to the exponent x
Code: Select all
T 30.0 D 25.0
![:oops:](./images/smilies/icon_redface.gif)
-
- Experienced poster
- Posts: 122
- Joined: Sun Nov 13, 2005 10:25 am
- Location: Taiwan
Well, I use
I think it is very strange..
EDIT:
Yes, that's right, thanks Darko
Code: Select all
e = 6.11 * 2.718281828 * [5417.7530 * ((1/273.16) - (1/(D+273.16)))]
EDIT:
Yes, that's right, thanks Darko
Code: Select all
e = 6.11 * 2.718281828 ^ [5417.7530 * ((1/273.16) - (1/(D+273.16)))]
Last edited by Wei-Ming Chen on Thu Jul 19, 2007 5:55 am, edited 1 time in total.
That is different from
"raised to the exponent" means "multiply 2.71... x times". It is a built-in function.
Code: Select all
e = 6.11 * 2.718281828 ^ [5417.7530 * ((1/273.16) - (1/(D+273.16)))]
i use that darko mean.....
and it work.
GOOD LUCK
Rocky
Code: Select all
e = 6.11 * exp (5417.7530 * ((1/273.16) - (1/(dew+273.16))))
GOOD LUCK
Rocky
-
- Learning poster
- Posts: 62
- Joined: Sun Jul 09, 2006 8:31 am
- Location: University of Dhaka
- Contact:
Why WA
Can anybody say why its WA
Thanx in advance
Code: Select all
Removed
Last edited by Debashis Maitra on Thu Aug 02, 2007 6:20 am, edited 1 time in total.
Akash chhoyar swopno
Dream to touch the sky
Dream to touch the sky
-
- New poster
- Posts: 9
- Joined: Sat Jul 07, 2007 5:47 pm
- Location: Denmark
-
- Learning poster
- Posts: 62
- Joined: Sun Jul 09, 2006 8:31 am
- Location: University of Dhaka
- Contact:
-
- New poster
- Posts: 39
- Joined: Mon Dec 04, 2006 2:18 pm
- Location: Bangladesh(CSE DU)
- Contact:
-
- Learning poster
- Posts: 54
- Joined: Mon Jan 02, 2006 3:06 am
- Location: Dhaka,Bangladesh
- Contact:
input:
output:
best wishes. ![:)](./images/smilies/icon_smile.gif)
Code: Select all
T 55.55 D 45.67
H 19.28 D 23.6
T 49.0 D 39.0
D 100 T 100
H 78.8 D 88.98
T 0.0 D 0.0
T -20.0 H -5.0
D 27.4 T -20.08
Code: Select all
T 55.5 D 45.7 H 108.1
T 8.4 D 23.6 H 19.3
T 49.0 D 39.0 H 83.9
T 100.0 D 100.0 H 784.7
T -359.4 D 89.0 H 78.8
T 0.0 D 0.0 H -2.2
T -20.0 D 27.3 H -5.0
T -20.1 D 27.4 H -4.9
![:)](./images/smilies/icon_smile.gif)
Sanjana
-
- New poster
- Posts: 39
- Joined: Mon Dec 04, 2006 2:18 pm
- Location: Bangladesh(CSE DU)
- Contact: