Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.6K Views
|
4 Replies
|
1 Total Like
View groups...
Share
Share this post:

[EIWL] Solving problems in Chapter 7 of EIWL Book by Stephen Wolfram

Posted 9 years ago
POSTED BY: D P
4 Replies
Posted 9 years ago

Hey, I just found the complete solutions to all the questions in the book!

https://www.wolfram.com/language/elementary-introduction/answers-to-exercises.html

POSTED BY: D P
Posted 9 years ago
POSTED BY: D P
Posted 9 years ago

V Z, thanks for your reply.

This is the solution(from your reply):

Table[ Blend[{Yellow, Hue[x]}], {x, 0, 1, 1/20}]
POSTED BY: D P
Posted 9 years ago
(*Generates table of hues from 0 to 1 in steps of 1/20*)
Table[
 Hue[x], {x, 0, 1, 1/20}]
(*Blends yellow with each hue in table*)
Table[
 Blend[{Yellow, Hue[x]}], {x, 0, 1, 1/20}]
(*Example code from blend documentation*)
Graphics[
 Table[{Blend[{Red, Blue}, x], Disk[{8 x, 0}]}, {x, 0, 1, 1/8}]]
(*Putting it all together*)
Graphics[
 Table[{Blend[{Yellow, Hue[x]}], Disk[{8 x, 0}]}, {x, 0, 1, 1/20}]]
POSTED BY: v z
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard