This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

#1 2012-07-16 18:39:38

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Add the following items to the http://wiki.scratch.mit.edu/images/%28%29_of_%28%29_%28Operators%29.png block:

* cot (Cotangent)
* sec (Secant)
* csc (Cosecant)
* acot (Arccotangent)
* asec (Arcsecant)
* acsc (Arccosecant)
* sinh, cosh, and tanh (Hyperbolic sine, cosine, and tangent)
* coth, sech, and csch (Hyperbolic cotangent, secant, and cosecant)
* asinh, acosh, atanh, acoth, asech, acsch (Hyperbolic arcsine, arccosine, arctangent, arccotangent, arcsecant, and arccosecant)

Does anyone agree?


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#2 2012-07-16 18:41:01

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

support


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#3 2012-07-16 19:01:05

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

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

You can already do half of those.

cot = 1/tan
csc = 1/sin

and so forth. Just use the reciprocal functions.


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

Offline

 

#4 2012-07-16 19:07:29

360-International
Scratcher
Registered: 2011-07-17
Posts: 100+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

+0.5. As Wes64 said, a lot of these can be replicated by writing

set [cot(x) v] to ((1) / ([tan v] of (x)))
.


https://lh4.googleusercontent.com/Oib6kyze-OrCFIRlqL6HYnWuHBQp1GfFoh5CkBlZGe3_9WCk-_DDwgfFrnD_mxJ_x2b18hMUyV2KVtIDiLdebyWaQQ6fbpKpZs-8auVep1zoSgOv-iA

Offline

 

#5 2012-07-16 19:14:15

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

For optimization.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#6 2012-07-16 19:23:59

360-International
Scratcher
Registered: 2011-07-17
Posts: 100+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Yeah, I thought about that, but some of the workarounds seem fairly simple. However, the last 12 seem pretty useful.  smile


https://lh4.googleusercontent.com/Oib6kyze-OrCFIRlqL6HYnWuHBQp1GfFoh5CkBlZGe3_9WCk-_DDwgfFrnD_mxJ_x2b18hMUyV2KVtIDiLdebyWaQQ6fbpKpZs-8auVep1zoSgOv-iA

Offline

 

#7 2012-07-16 19:35:09

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

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Weren't the hyperbolic sin/cos/tan just e^ something? You could do it with that, although for optimization, this would be good. But wouldn't the dropdown thing get too crowded?


"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

 

#8 2012-07-16 19:43:28

360-International
Scratcher
Registered: 2011-07-17
Posts: 100+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Well, true...

I support.


https://lh4.googleusercontent.com/Oib6kyze-OrCFIRlqL6HYnWuHBQp1GfFoh5CkBlZGe3_9WCk-_DDwgfFrnD_mxJ_x2b18hMUyV2KVtIDiLdebyWaQQ6fbpKpZs-8auVep1zoSgOv-iA

Offline

 

#9 2012-07-17 06:19:58

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Not even my graphing calculator has all these in it... I think the workarounds for each of these are simple enough for hardcore math people to not need a crowded dropdown of mathematical functions.

Offline

 

#10 2012-07-17 06:25:58

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

I don't know trig. o.e So, I troppus! +0!


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#11 2012-07-17 14:20:42

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

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

LS97 wrote:

Not even my graphing calculator has all these in it... I think the workarounds for each of these are simple enough for hardcore math people to not need a crowded dropdown of mathematical functions.

Exactly. Since the ST has also been hesitant to add additional keys to the <key pressed> block due to the size of the menu, I don't think they will jump to add more to the math function block either.


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

Offline

 

#12 2012-07-17 14:22:50

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Wes64 wrote:

LS97 wrote:

Not even my graphing calculator has all these in it... I think the workarounds for each of these are simple enough for hardcore math people to not need a crowded dropdown of mathematical functions.

Exactly. Since the ST has also been hesitant to add additional keys to the <key pressed> block due to the size of the menu, I don't think they will jump to add more to the math function block either.

It wasn't due to the size of the menu, it was because of keyboard globalization.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

#13 2012-07-17 14:42:26

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

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Lightnin wrote:

We’re open to adding some more keys, but not a ton. Here are the constraints:

-We need to keep the key menu from being too long
-Some keys are not universally available across keyboards — and we want everyone to be able run projects
-Using a lot of keys could make it harder to support tablets in the future
-Could be confusion around some keys such as return (which used to mean “green flag”)

If someone could make a list in the forums, and prioritize keys based on consensus, that would be awesome. We’ll refer to it when deciding which ones to add. Thanks for suggesting!


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

Offline

 

#14 2012-07-18 18:07:33

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Maybe keep the trig/hyperbolic trig functions in a (trig [ v] of ()), where the defaults are "sin" and "10", respectively.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#15 2012-07-18 18:08:47

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Molybdenum wrote:

Weren't the hyperbolic sin/cos/tan just e^ something? You could do it with that, although for optimization, this would be good. But wouldn't the dropdown thing get too crowded?

In radians... Wait, will Scratch 2.0 use degrees or radians?


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#16 2012-07-18 18:25:44

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

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

3sal2 wrote:

Molybdenum wrote:

Weren't the hyperbolic sin/cos/tan just e^ something? You could do it with that, although for optimization, this would be good. But wouldn't the dropdown thing get too crowded?

In radians... Wait, will Scratch 2.0 use degrees or radians?

I assume degrees, as those are understood by a larger age range.


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

Offline

 

#17 2012-07-19 05:48:29

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

3sal2 wrote:

Molybdenum wrote:

Weren't the hyperbolic sin/cos/tan just e^ something? You could do it with that, although for optimization, this would be good. But wouldn't the dropdown thing get too crowded?

In radians... Wait, will Scratch 2.0 use degrees or radians?

I assume that since 2.0 will have to also read older projects, it must be in degrees. However trigonometric functions are -- I believe -- calculated using radians. Or maybe converted back into degrees? I forgot... it's been way too long since I've used them!

Offline

 
  • Index
  •  » Suggestions
  •  » Cot, sec, csc, acot, asec, acsc, sinh, cosh, tanh, etc.

Board footer