## Discuss Scratch

SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

Welcome To

Hi everyone! Welcome to my shop! Order forms below!
Code:
What it should do:
When you want it done:
other:
Debugging:
What the problem is:
What it's supposed to do:
When you want it done:
other:
Review:
How strict:
When you want it done:
other:
Coming Soon
We will be adding more products pretty soon!

Last edited by SkyClan480 (April 19, 2018 22:43:58)

Scratcher
500+ posts

### SkyClan480's Script Shop

Hello.
I want something that solves derivatives and integrals. It should be able to work with standard algebraic notation. (example: 3x^2+4x+1)
Thank you.

PS: If you can do this I may or may not follow you ;)
SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

Hello.
I want something that solves derivatives and integrals. It should be able to work with standard algebraic notation. (example: 3x^2+4x+1)
Thank you.

PS: If you can do this I may or may not follow you ;)

This is actually quite simple. All you have to do is put your two variables into an operation, and then that operation into a condition. Then, once your condition is met, the operation is executed. It works with a lot of operations, the only thing I'm unsure of is the exponent. For your example, you would need something like…
`if <> thenset [your variable v] to (((3)*((2)+(4)))*(()+(1))end`
Go experiment with operator combinations and see what you can do.

Last edited by SkyClan480 (Feb. 23, 2018 23:49:58)

Scratcher
500+ posts

### SkyClan480's Script Shop

SkyClan480 wrote:

Hello.
I want something that solves derivatives and integrals. It should be able to work with standard algebraic notation. (example: 3x^2+4x+1)
Thank you.

PS: If you can do this I may or may not follow you ;)

This is actually quite simple. All you have to do is put your two variables into an operation, and then that operation into a condition. Then, once your condition is met, the operation is executed. It works with a lot of operations, the only thing I'm unsure of is the exponent. For your example, you would need something like…
`if <> thenset [your variable v] to (((3)*((2)+(4)))*(()+(1))end`
Go experiment with operator combinations and see what you can do.
No, I would like something that solves for derivatives and integrals of expressions, not simple evaluation of the expression.
SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

SkyClan480 wrote:

Hello.
I want something that solves derivatives and integrals. It should be able to work with standard algebraic notation. (example: 3x^2+4x+1)
Thank you.

PS: If you can do this I may or may not follow you ;)

This is actually quite simple. All you have to do is put your two variables into an operation, and then that operation into a condition. Then, once your condition is met, the operation is executed. It works with a lot of operations, the only thing I'm unsure of is the exponent. For your example, you would need something like…
`if <> thenset [your variable v] to (((3)*((2)+(4)))*(()+(1))end`
Go experiment with operator combinations and see what you can do.
No, I would like something that solves for derivatives and integrals of expressions, not simple evaluation of the expression.
Well, if what I put doesn't cut it, I don't know. I'm only in sixth grade. Sorry that I wasn't able to help.

Scratcher
500+ posts

### SkyClan480's Script Shop

SkyClan480 wrote:

SkyClan480 wrote:

Hello.
I want something that solves derivatives and integrals. It should be able to work with standard algebraic notation. (example: 3x^2+4x+1)
Thank you.

PS: If you can do this I may or may not follow you ;)

This is actually quite simple. All you have to do is put your two variables into an operation, and then that operation into a condition. Then, once your condition is met, the operation is executed. It works with a lot of operations, the only thing I'm unsure of is the exponent. For your example, you would need something like…
`if <> thenset [your variable v] to (((3)*((2)+(4)))*(()+(1))end`
Go experiment with operator combinations and see what you can do.
No, I would like something that solves for derivatives and integrals of expressions, not simple evaluation of the expression.
Well, if what I put doesn't cut it, I don't know. I'm only in sixth grade. Sorry that I wasn't able to help.
Just look at these article, and you should be able to understand:
https://en.wikipedia.org/wiki/Differential_calculus
https://en.wikipedia.org/wiki/Integral_calculus
SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

deleted

Last edited by SkyClan480 (April 16, 2018 23:46:33)

SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

Hey guys, I'm still here! Remember to drop by with your request!

Scratcher
500+ posts

### SkyClan480's Script Shop

SkyClan480 wrote:

Hey guys, I'm still here! Remember to drop by with your request!
SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

SkyClan480 wrote:

Hey guys, I'm still here! Remember to drop by with your request!
um, I still don't know how I could do derivitives and integrals of values in scratch. I'm very sorry, but I don't think I can help you.

SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

BUMP

doodthedoodthedood
Scratcher
500+ posts

### SkyClan480's Script Shop

Maybe a script that makes a ball go through a wall only if it is the same color. Ps this is for a review

Last edited by doodthedoodthedood (April 16, 2018 12:05:42)

Go and join my development group Here. Check out my github here. If you want to help with anything just let me know.
Visit The Everthing Shop for all your scratch needs Also visit my programming class to learn to program in scratch or JavaScript or HTML or CSS!By @chaseman3245
SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

doodthedoodthedood wrote:

Maybe a script that makes a ball go through a wall only if it is the same color. Ps this is for a review
That's easy you should do this
`if <touching [wall v] ?> thenif <touching color [#60c603] ?> then move (10) stepselsemove (0) stepsendend`
Explained:
The first if loop detects if the ball is touching the wall, then the if loop inside that activates only if the first is true. The second if loop detects if the ball is touching its own color (correct color can be selected). Then, once both loops are true, the ball will move over the wall sprite. A more simple script would be
`if <<touching [wall v] ?> and <touching color [#60c603] ?>> thenmove (10) stepsend`
The else part of the second loop is really unnecessary, I'm not sure why I did that. In the second script, the and operator detects if both conditions are true, in this case, if the ball is touching both the wall AND its own color. Either of these scripts will work, though the second one is better.

Thanks for choosing SkyClan480's Script Shop. Come again soon!

Botcho-test_account
New to Scratch
4 posts

### SkyClan480's Script Shop

Can I have a script that sets a variable's value to how many times a list contains an item?
I would like to be this variable:
`(Times it is contained)`

Freedom.
`when [I v] become ([ugly v]::#f3c)::hat #abc123say [Oh no!]::motionif <[you v] visit [Botcho_Otkho]::looks> thenfix all::list capenddone!::variables cap`
SuperRyn
Scratcher
100+ posts

### SkyClan480's Script Shop

3d engine.

KAbomb!
R.I.P my activity 2017-2018

`(Tickle Shield)[This is so i don't drop my signature!] `

Go Check Out TheRunningCat Games! https://scratch.mit.edu/discuss/topic/313477/ and https://scratch.mit.edu/studios/5235148
SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

Botcho-test_account wrote:

Can I have a script that sets a variable's value to how many times a list contains an item?
I would like to be this variable:
`(Times it is contained)`
`if <(item ( v) of [list v] :: list) = [thing]> thenchange [times it is contained v] by (1)end`

SkyClan480
Scratcher
100+ posts

### SkyClan480's Script Shop

SuperRyn wrote:

3d engine.
I'm sorry, I'm not that experienced