Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#2601 2011-10-20 08:16:00

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

yes can be


Love is the key to life

Offline

#2602 2011-10-20 08:19:03

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

Or maybe he is a just a slob with no upbringing or manners. Sounds like he should run for congressman.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2603 2011-10-20 08:24:29

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

heheheheh


Love is the key to life

Offline

#2604 2011-10-20 08:27:43

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,049

Re: Equations with parenthesis?

hi guys

here's a program:

program Project1;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Classes
  { you can add units after this };

{$IFDEF WINDOWS}{$ENDIF}

var s:string;

function IzmedjuZagrada(s:string;i,j:integer):boolean;
begin
  IzmedjuZagrada:=(pos('(',copy(s,i+1,j-i-1))=0) and (pos(')',copy(s,i+1,j-i-1))=0);
end;

procedure IzbrisiZagrade(var s:string);
var
  i,j,l:integer;
begin
  l:=length(s);
  while (pos('(',s)<>0) and (pos(')',s)<>0) do
    for i:=1 to l-1 do
      for j:=i+1 to l do
          if (s[i]='(') and (s[j]=')') and IzmedjuZagrada(s,i,j) then
            delete(s,i,j-i+1);
end;

begin
  writeln('Unesite string:');
  readln(s);
  IzbrisiZagrade(s);
  writeln('Novi string je:');
  writeln(s);
  readln;
end.

“Here lies the reader who will never open this book. He is forever dead.
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#2605 2011-10-20 08:27:50

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

So, what was I talking about?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2606 2011-10-20 09:14:29

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

not sure


Love is the key to life

Offline

#2607 2011-10-20 10:19:41

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

The vegetable soup! Do you now how to make it yourself?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2608 2011-10-21 05:38:22

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

not yet


Love is the key to life

Offline

#2609 2011-10-21 06:40:01

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

You should learn.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2610 2011-10-21 08:26:50

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

i will


Love is the key to life

Offline

#2611 2011-10-21 08:33:59

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

Okay. I do some cooking.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2612 2011-10-21 08:34:45

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

cool


Love is the key to life

Offline

#2613 2011-10-21 08:37:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

Yes, soups, stews, I can make a decent spaghetti sauce. A very good pizza with the help of my brother.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2614 2011-10-21 09:01:44

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

good


Love is the key to life

Offline

#2615 2011-10-21 09:04:38

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

What can you make?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2616 2011-10-21 09:18:08

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

Hamburgers and meatloaf meatballs Chicken Fish Etc


Love is the key to life

Offline

#2617 2011-10-21 10:12:26

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

That is a lot of stuff! Makes me hungry.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2618 2011-10-21 10:20:36

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

yes


Love is the key to life

Offline

#2619 2011-10-21 11:30:12

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

What is your favorite thing to cook? Your best?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2620 2011-10-22 06:54:46

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

Meatballs


Love is the key to life

Offline

#2621 2011-10-22 09:03:39

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

What is your secret?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2622 2011-10-23 08:14:04

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

Cant Tell


Love is the key to life

Offline

#2623 2011-10-23 08:59:19

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

Okay you wish to keep it a secret. I bet I make better meatballs than you do.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2624 2011-10-24 04:25:53

Sarah Rebekah
Member
Registered: 2011-09-25
Posts: 540

Re: Equations with parenthesis?

heheheheheheh


Love is the key to life

Offline

#2625 2011-10-24 07:08:57

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Equations with parenthesis?

Hi Sarah;

How is everything today?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB