מודלים עבודת בית4 5 6 7

No preview image

1 collaborator

Imagescauumlk2 rana ibrahm (Author)

Tags

(This model has yet to be categorized with any tags)
Model group uhaifa-modeling-11 | Visible to everyone | Changeable by everyone
Model was written in NetLogo 4.1.2 • Viewed 158 times • Downloaded 21 times • Run 0 times
Download the 'מודלים עבודת בית4 5 6 7 ' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


WHAT IS IT?

This section could give a general understanding of what the model is trying to show or explain.

HOW IT WORKS

This section could explain what rules the agents use to create the overall behavior of the model.

HOW TO USE IT

This section could explain how to use the model, including a description of each of the items in the interface tab.

THINGS TO NOTICE

This section could give some ideas of things for the user to notice while running the model.

THINGS TO TRY

This section could give some ideas of things for the user to try to do (move sliders, switches, etc.) with the model.

EXTENDING THE MODEL

This section could give some ideas of things to add or change in the procedures tab to make the model more complicated, detailed, accurate, etc.

NETLOGO FEATURES

This section could point out any especially interesting or unusual features of NetLogo that the model makes use of, particularly in the Procedures tab. It might also point out places where workarounds were needed because of missing features.

RELATED MODELS

This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest.

CREDITS AND REFERENCES

This section could contain a reference to the model's URL on the web if it has one, as well as any other necessary credits or references.

Comments and Questions

מודל משימה (Question)

שלום אני לא הבנתי מה לעשות במודל חידון 8 בגלל זה אני לא הגשתי אותו אם אפשר שתסבירי לי יותר מה דרוש ממני במודל חידון 8 תודה לך מאוד

Posted about 14 years ago

Click to Run Model

;;4

to setup-corner
  ca                                             
  ask patches[

    if ( pxcor = 0 and pycor >= 0 and pycor <= 5 )
      [set pcolor red]                                 

    if ( pxcor = 5 and pycor >= 0 and pycor <= 5)
      [set pcolor red]                                 

    if ( pycor = 0 and pxcor >= 0 and pxcor <= 5 )
      [set pcolor red]                                

    if ( pycor = 5 and pxcor >= 0 and pxcor <= 5 )
      [set pcolor red]                                 
    ]
end 

;;5

to setup-patches
  ask patches [ 
    
    if ( pxcor >= 0   )
    [set pcolor blue]
    
    if ( pxcor < 0   )
    [set pcolor yellow]
     ]
end 

;;6

to setup-corner1
  ca                                             
  ask patches[

    if ( pxcor > 0 and pycor > 0  )
      [set pcolor red]                                 

    if ( pxcor > 0 and pycor < 0 )
      [set pcolor yellow]                                 

    if ( pycor > 0 and pxcor < 0  )
      [set pcolor blue]                                

    if ( pycor < 0 and pxcor < 0  )
      [set pcolor green]                                 
    ]
end 
;;7

turtles-own
[ fx     ;; x-component of force vector
  fy     ;; y-component of force vector
  vx     ;; x-component of velocity vector
  vy     ;; y-component of velocity vector
  xc     ;; real x-coordinate (in case particle leaves world)
  yc     ;; real y-coordinate (in case particle leaves world)
  r-sqrd ;; square of the distance to the mouse
]

globals
[ m-xc  ;; x-coordinate of acting mass
  m-yc  ;; y-coordinate of acting mass
  g     ;; Gravitational Constant to slow the acceleration
]

;;;;;;;;;;;;;;;;;;;;;;;;
;;; Setup Procedures ;;;
;;;;;;;;;;;;;;;;;;;;;;;;

to setup 
  ca
  set g 0.5
  set-default-shape turtles "circle"
  crt 4
  [
    

    set size 10
    fd (random-float (max-pxcor - 5))
    set vx 0
    set vy 3
    set xc xcor
    set yc ycor
  ]
end 



There is only one version of this model, created about 14 years ago by rana ibrahm.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.