Penguin calculating pi (
Hi there. I'm taking Alice as part of my program study. I really love the program and the class, however, I'm at a point where I'm stuck.
My teacher has assigned us with this: "Using the concept of variables, create a Snow World in which a penguin calculates the area of a circle A=πr2 in his head, where the user enters the r value (radius), and π is pi (3.14159265). Define descriptive variables for each quantity, and use the World function pow() to compute r2" I have used the [B]skatergirl[/B] example in the book, yet, it's still confusing for me because it is a different math function altogether. I don't even see anywhere on the keyboard where I can type the symbol for "pi". Obviously, I need help. Here is the storyboard: "Penguin says, 'I can calculate the area of a circle A=π r2 in my head!' Prompt the user to enter a value for radius. Calculate area using the formula: area.set(value, (pi * Math.pow(radius, 2)) Penguin says, 'The area of the circle is' + area" Any help would be GREATLY appreciated. I've been trying to figure this out for almost a whole week, and the assignment is due tomorrow night. My teacher doesn't have any office hours, so it is difficult to set up a meeting for help. I thank anyone ahead of time for any help you may be able to provide me. :rolleyes: 
The teacher says exactly what to do right in his directions.

This is slightly off topic, but today happens to be [URL="http://www.alice.org/community/showthread.php?t=6112"]Pi Day (read more here)[/URL].
As for helping you with this project, I will have to pull out my notes from when I was a student learning how to use Alice. I don't exactly remember how to do this. 
I understand that...
Yes, I see the directions...but HOW to exactly do it IS the question. WHAT to do is not the issue at all.
Thank you, any notes would be of GREAT help. 
pi
obviously, pi = 3.14159265. Seems like they are ok with you truncating it. don't make things harder than they are. :)

Yes, it seems as though I am :eek:
I still have no idea where to start, or what steps to take. :confused: 
All times are GMT 5. The time now is 10:17 PM. 
Copyright ©2021, Carnegie Mellon University
Alice 2.x © 19992012, Alice 3.x © 20082012, Carnegie Mellon University. All rights reserved.