Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

PHY3709 Assignment 1 Complete Solutions UNISA 2025 COMPUTATIONAL MODELING DUE date 25 April 2025 at 11 00 pm

Beoordeling
1.0
(1)
Verkocht
2
Pagina's
40
Geüpload op
12-04-2025
Geschreven in
2024/2025

PHY3709 Assignment 1 Complete Solutions UNISA 2025 COMPUTATIONAL MODELING DUE date 25 April 2025 at 11 00 pm

Instelling
Vak

Voorbeeld van de inhoud

PHY3709
Computational Modeling
ASSIGNMENT 1
FULL SOLUTIONS
UNISA
2025
Assessment 1 (Due date: Friday, 25
April 2025, 11:00 PM)

NAME:___________________
STUDENT NUMBER:_______
Page 1 of 40

,Page 2 of 40

,PHY3709 COMPUTATIONAL MODELING
Assessment 1 (Friday, 25 April 2025, 11:00 PM)
1.1.6 (page 6, optional)




SOLUTION

To determine the center of the circle drawn by the given program, let's analyze the
commands step by step:

1. Initial Position and Orientation:

o The program starts with the turtle at the origin point (0, 0) on the
coordinate plane, facing to the right (east direction).

2. First Command: left(90):

o The left(90) command turns the turtle 90 degrees to the left
(counterclockwise).

o After this command, the turtle will be facing upward (north direction).

3. Second Command: circle(100):

o The circle(100) command draws a circle with a radius of 100 units.

o By default, when the turtle is facing north, the circle is drawn to the left of
the turtle's current direction. This means the center of the circle will be
located 100 units to the left of the turtle's starting position before drawing
the circle.

4. Calculating the Center:

o Before drawing the circle, the turtle is at (0, 0) facing north.

o Since the circle is drawn to the left of the turtle's path, the center will be
at (-100, 0).

Final Answer:
The center of the circle is at the coordinates (-100, 0).

\boxed{(-100,\ 0)}



Page 3 of 40

, 1.1.10 (page 7, optional)




SOLUTIONS

Drawing a Rectangle in Python

Here's a simple Python program using the turtle graphics module to draw a rectangle
that's 100 units wide and 200 units tall:

python

import turtle



# Set up the turtle

screen = turtle.Screen()

pen = turtle.Turtle()



# Draw the rectangle

for _ in range(2):

pen.forward(100) # Width of 100 units

pen.left(90) # Turn 90 degrees

pen.forward(200) # Height of 200 units

pen.left(90) # Turn 90 degrees



# Keep the window open until clicked

screen.exitonclick()

Alternative Version (Using turtle's built-in rectangle function):

Python

import turtle




Page 4 of 40

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
12 april 2025
Aantal pagina's
40
Geschreven in
2024/2025
Type
College aantekeningen
Docent(en)
Phy3709 assignment 1 complete solutions unisa 2025
Bevat
Phy2602 assignment 1 complete solutions unisa 2025 electricity & magnetism

Onderwerpen

$22.09
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Beoordelingen van geverifieerde kopers

Alle reviews worden weergegeven
3 maanden geleden

It gives me wrong answers

1.0

1 beoordelingen

5
0
4
0
3
0
2
0
1
1
Betrouwbare reviews op Stuvia

Alle beoordelingen zijn geschreven door echte Stuvia-gebruikers na geverifieerde aankopen.

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
TutorMaster27794628482 University of South Africa (Unisa)
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
587
Lid sinds
3 jaar
Aantal volgers
305
Documenten
343
Laatst verkocht
6 dagen geleden
Tutor-Master

Tutor-Master

4.1

60 beoordelingen

5
33
4
13
3
7
2
0
1
7

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen