Click here to Skip to main content
15,907,906 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Hmm ... Pin
trønderen30-Jan-23 15:59
trønderen30-Jan-23 15:59 
GeneralRe: Hmm ... Pin
jmaida30-Jan-23 16:50
jmaida30-Jan-23 16:50 
GeneralRe: Hmm ... Pin
trønderen30-Jan-23 20:22
trønderen30-Jan-23 20:22 
GeneralRe: Hmm ... Pin
jmaida31-Jan-23 12:43
jmaida31-Jan-23 12:43 
GeneralRe: Hmm ... Pin
jmaida31-Jan-23 12:49
jmaida31-Jan-23 12:49 
GeneralRe: Hmm ... Pin
OriginalGriff30-Jan-23 19:42
mveOriginalGriff30-Jan-23 19:42 
GeneralRe: Hmm ... Pin
pkfox30-Jan-23 21:08
professionalpkfox30-Jan-23 21:08 
GeneralRe: Hmm ... Pin
Amarnath S30-Jan-23 23:30
professionalAmarnath S30-Jan-23 23:30 
Here is an example where ChatGPT gave me a wrong answer:

Question: 
Find area of triangle of sides 40, 24, 32.

Answer: 
The area of a triangle with sides 40, 24, 32 can be calculated using Heron's formula. The formula is:

sqrt(s(s-a)(s-b)(s-c)), where s = (a+b+c)/2 and a, b, c are the sides of the triangle.

Plugging in values for a = 40, b = 24, and c = 32, we get:

s = (40 + 24 + 32) / 2 = 96 / 2 = 48

area = sqrt(48 * (48-40) * (48-24) * (48-32)) = sqrt(48 * 8 * 24 * 16) = sqrt(48 * 8 * 384) = sqrt(15, (536, 832)) = 144.

So, the area of the triangle is 144.


Note: The correct answer is 384. The last step is wrong, all else correct.
GeneralRe: Hmm ... Pin
peterkmx31-Jan-23 2:06
professionalpeterkmx31-Jan-23 2:06 
GeneralChinese software Pin
trønderen30-Jan-23 11:10
trønderen30-Jan-23 11:10 
GeneralRe: Chinese software Pin
Gerry Schmitz30-Jan-23 12:10
mveGerry Schmitz30-Jan-23 12:10 
GeneralRe: Chinese software Pin
trønderen30-Jan-23 15:20
trønderen30-Jan-23 15:20 
GeneralRe: Chinese software Pin
David O'Neil30-Jan-23 12:53
professionalDavid O'Neil30-Jan-23 12:53 
GeneralRe: Chinese software Pin
trønderen30-Jan-23 15:32
trønderen30-Jan-23 15:32 
GeneralRe: Chinese software Pin
jmaida30-Jan-23 16:53
jmaida30-Jan-23 16:53 
GeneralRe: Chinese software Pin
David O'Neil30-Jan-23 17:06
professionalDavid O'Neil30-Jan-23 17:06 
GeneralRe: Chinese software Pin
jmaida30-Jan-23 17:48
jmaida30-Jan-23 17:48 
GeneralRe: Chinese software Pin
trønderen30-Jan-23 20:18
trønderen30-Jan-23 20:18 
GeneralRe: Chinese software Pin
David O'Neil31-Jan-23 3:32
professionalDavid O'Neil31-Jan-23 3:32 
GeneralRe: Chinese software Pin
trønderen31-Jan-23 14:22
trønderen31-Jan-23 14:22 
GeneralRe: Chinese software Pin
David O'Neil31-Jan-23 14:42
professionalDavid O'Neil31-Jan-23 14:42 
GeneralRe: Chinese software Pin
Southmountain30-Jan-23 18:06
Southmountain30-Jan-23 18:06 
GeneralRe: Chinese software Pin
Single Step Debugger31-Jan-23 3:26
Single Step Debugger31-Jan-23 3:26 
GeneralRe: Chinese software Pin
trønderen31-Jan-23 14:02
trønderen31-Jan-23 14:02 
GeneralRe: Chinese software Pin
Paul Kemner31-Jan-23 4:26
Paul Kemner31-Jan-23 4:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.