This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-11-01 01:12:43

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

I was.

Offline

 

#27 2012-11-01 01:26:50

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Complex number, exponentiation, etc. support

OK, so what kind of project would you write where you need imaginary numbers?

(Other than a solver for the square root of negative numbers.  smile )


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#28 2012-11-01 01:28:23

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

I like complex numbers. I think they are awesome! I'm trying to write programs that calculate expressions using complex numbers.

Offline

 

#29 2012-11-01 02:00:11

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Complex number, exponentiation, etc. support

BoltBait wrote:

OK, so what kind of project would you write where you need imaginary numbers?

(Other than a solver for the square root of negative numbers.  smile )

A complex number calculator to do his homework?

Offline

 

#30 2012-11-01 02:01:38

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Complex number, exponentiation, etc. support

wiz99903 wrote:

I have some problems. I don't know how to get the argument, logarithm (in any base), or anything like that for a complex number.

well, if you're the one making the calculator, shouldn't you figure that out?

Offline

 

#31 2012-11-01 17:20:02

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Complex number, exponentiation, etc. support

I think if there was an "advanced scratch" or something, this could be useful, but it should not be in basic scratch as it will be hard to explain to little kids.

You can code a complex number system yourself using broadcasts in current 1.4.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#32 2012-11-01 17:22:37

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Complex number, exponentiation, etc. support

BoltBait wrote:

OK, so what kind of project would you write where you need imaginary numbers?

(Other than a solver for the square root of negative numbers.  smile )

fractals


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#33 2012-11-01 17:45:53

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Complex number, exponentiation, etc. support

Wes64 wrote:

BoltBait wrote:

OK, so what kind of project would you write where you need imaginary numbers?

(Other than a solver for the square root of negative numbers.  smile )

fractals

*pretty fractals


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#34 2012-11-01 18:17:21

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

Sorry (I use this term a lot because I'm not anywhere near perfect), I meant De Moivre's formula was being computed in degrees. I fixed it by multiplying the number that was having the cosine and sine by 180/pi.

Offline

 

#35 2012-11-01 18:31:22

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

I wrote:

Sorry (I use this term a lot because I'm not anywhere near perfect), I meant De Moivre's formula was being computed in degrees. I fixed it by multiplying the number that was having the cosine and sine by 180/pi.

smile

Offline

 

#36 2012-11-02 21:43:47

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

There's a similar discussion at Complex number calculators. You may want to check it out.

Offline

 

#37 2012-11-02 21:47:24

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

It's about creating complex number calculators with what we already have.

Offline

 

#38 2012-11-02 22:35:55

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Complex number, exponentiation, etc. support

But, scratch is meant to be for kids of even 5 years old, they won't understand what it is, and it might scare them away from scratch. I have a six year old brother, he doesn't have any idea what a variable is, or even how to do multiplication. Would you try something out that had math you haven't even heard of, when you were 6? Learn how to make it in scratch, and then in 2.0, turn it into a block via "Make a block".

Basically, I don't support.

And to the people who say that they want an "advanced" scratch, my six year old brother, wants to do everything "advanced", and then cries that it's not easy enough. Making an advanced scratch would be a lot of work, and if you want something more advanced, move on to another programming language.

Offline

 

#39 2012-11-02 23:13:48

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Complex number, exponentiation, etc. support

TorbyFork234 wrote:

But, scratch is meant to be for kids of even 5 years old, they won't understand what it is, and it might scare them away from scratch. I have a six year old brother, he doesn't have any idea what a variable is, or even how to do multiplication. Would you try something out that had math you haven't even heard of, when you were 6? Learn how to make it in scratch, and then in 2.0, turn it into a block via "Make a block".

Basically, I don't support.

And to the people who say that they want an "advanced" scratch, my six year old brother, wants to do everything "advanced", and then cries that it's not easy enough. Making an advanced scratch would be a lot of work, and if you want something more advanced, move on to another programming language.

Not everyone is your 6 year old brother  tongue . And I personally use scratch because for basic things, something that might take multiple months in another language might take an hour or two in scratch. My point is, a lot of people use other programs and scratch, or just could use the advanced features. In terms of coding, not much of it would be too tremendously difficult.


........................................................................................................................................................................................................................................

Offline

 

#40 2012-11-02 23:17:47

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Complex number, exponentiation, etc. support

zubblewu wrote:

TorbyFork234 wrote:

But, scratch is meant to be for kids of even 5 years old, they won't understand what it is, and it might scare them away from scratch. I have a six year old brother, he doesn't have any idea what a variable is, or even how to do multiplication. Would you try something out that had math you haven't even heard of, when you were 6? Learn how to make it in scratch, and then in 2.0, turn it into a block via "Make a block".

Basically, I don't support.

And to the people who say that they want an "advanced" scratch, my six year old brother, wants to do everything "advanced", and then cries that it's not easy enough. Making an advanced scratch would be a lot of work, and if you want something more advanced, move on to another programming language.

Not everyone is your 6 year old brother  tongue . And I personally use scratch because for basic things, something that might take multiple months in another language might take an hour or two in scratch. My point is, a lot of people use other programs and scratch, or just could use the advanced features. In terms of coding, not much of it would be too tremendously difficult.

If it's not too tremendously difficult, then in 2.0 they'll (or someone will) make a tool sprite (like in BYOB), in which it has the blocks coded for you via make a block.

Not everyone is my 6 year old brother, yes, but I doubt the scratch team would want to spend extra time with people nagging them for 2.0 to come out as soon as possible, to add in something that you even say isn't tremendously difficult (and so you can make it yourself), and that would be confusing for a chunk of the users.

Offline

 

#41 2012-11-11 23:15:55

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

i told the people that it may seem kind of silly that you can exponentiate  complex numbers like (a+bi)^(c+di), but then it may seem kind of silly that you can take the square roote of negaive numbers. (I'm a bad typer!)

Offline

 

#42 2012-11-11 23:21:09

wiz99903
New Scratcher
Registered: 2012-10-23
Posts: 53

Re: Complex number, exponentiation, etc. support

Okay, okay, this may be a request only for me, but I just want my calculators (in Scratch) not to give me things like 6^2=35.9994 and 5^3=125.000005.

Offline

 

#43 2012-11-14 11:43:59

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Complex number, exponentiation, etc. support

It's due to the inaccuracy of scratch's LOG system. Round it off to however many decimal places you need.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

Board footer