Discuss Scratch

SkyClan480
Scratcher
100+ posts

SkyClan480's Script Shop

Welcome To

Made by @doodthedoodthedood

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:
Link to subject:
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)


Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

badatprogrammingibe
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 ;)
SkyClan480
Scratcher
100+ posts

SkyClan480's Script Shop

badatprogrammingibe 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 <> then
set [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)


Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

badatprogrammingibe
Scratcher
100+ posts

SkyClan480's Script Shop

SkyClan480 wrote:

badatprogrammingibe 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 <> then
set [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

badatprogrammingibe wrote:

SkyClan480 wrote:

badatprogrammingibe 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 <> then
set [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.

Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

badatprogrammingibe
Scratcher
100+ posts

SkyClan480's Script Shop

SkyClan480 wrote:

badatprogrammingibe wrote:

SkyClan480 wrote:

badatprogrammingibe 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 <> then
set [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)


Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

SkyClan480
Scratcher
100+ posts

SkyClan480's Script Shop

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

Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

badatprogrammingibe
Scratcher
100+ posts

SkyClan480's Script Shop

SkyClan480 wrote:

Hey guys, I'm still here! Remember to drop by with your request!
How about finishing my request please?
SkyClan480
Scratcher
100+ posts

SkyClan480's Script Shop

badatprogrammingibe wrote:

SkyClan480 wrote:

Hey guys, I'm still here! Remember to drop by with your request!
How about finishing my request please?
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.

Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

SkyClan480
Scratcher
100+ posts

SkyClan480's Script Shop

BUMP

Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

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] ?> then
if <touching color [#60c603] ?> then
move (10) steps
else
move (0) steps
end
end
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] ?>> then
move (10) steps
end
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!

Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

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 #abc123
say [Oh no!]::motion
if <[you v] visit [Botcho_Otkho]::looks> then
fix all::list cap
end
done!::variables cap
SuperRyn
Scratcher
100+ posts

SkyClan480's Script Shop

3d engine.

KAbomb!

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

Go Check Out My Shop! https://scratch.mit.edu/discuss/topic/294018/
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]> then
change [times it is contained v] by (1)
end

Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

SkyClan480
Scratcher
100+ posts

SkyClan480's Script Shop

SuperRyn wrote:

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

Visit my shop today!
The Shops of SkyClan480

Go and join the CDG by doodthedoodthedood!

Powered by DjangoBB

Standard | Mobile