{"base":{"id":"cs8-27","subject":"Data","title":"Models and simulations","scene":"data","steps":[{"mode":"model","eyebrow":"Models","title":"A simplified copy of reality","body":"A computer model uses rules and formulas to predict what might happen. This one predicts a school fair's income from the ticket price. Change the price and find the best income.","controls":[{"id":"price","label":"Ticket price","min":0,"max":9,"step":0.5,"value":3,"unit":"$"}]},{"mode":"assume","eyebrow":"Assumptions","title":"What the model believes","body":"Every model is built on assumptions, such as how many people come on a sunny day. Change one assumption, the weather, and see what happens to the prediction.","actions":[{"id":"sunny","label":"Sunny"},{"id":"rainy","label":"Rainy"}]},{"mode":"simulate","eyebrow":"Simulation","title":"Run it many times","body":"A simulation runs a model many times, or over time, to explore what might happen. Simulate 30 fair days with random weather.","actions":[{"id":"run","label":"Run the simulation"}]},{"mode":"quiz","eyebrow":"Check yourself","title":"Spot the assumption","body":"A model of a lemonade stand says: ‘On hot days, twice as many people buy lemonade.’","question":"What is this sentence?","options":["An output","A primary key","An assumption"],"answer":2,"right":"Correct. It's a belief built into the model's rules.","wrong":"Not quite. Is it something the model predicts, or something it takes as true?","look":"model"}],"more":[{"type":"cards","id":"ideas","eyebrow":"Popular idea vs science","title":"Common mix-ups","items":[{"tag":"Popular idea","title":"\"A model tells you exactly what will happen.\"","body":"It predicts what might happen, based on its assumptions."},{"tag":"Popular idea","title":"\"More detail always makes a better model.\"","body":"A good model includes the details that matter for the question and leaves out the rest."},{"tag":"Popular idea","title":"\"A simulation is just a game.\"","body":"Simulations are serious tools: weather forecasts, flight training and traffic planning all use them."}]},{"type":"cards","id":"parts","eyebrow":"Inside a model","title":"Inputs, rules, outputs","items":[{"tag":"Inputs","title":"Values you change","body":"Ticket price, weather."},{"tag":"Assumptions","title":"Beliefs in the rules","body":"About 400 visitors on a sunny day; 45 fewer per extra $1."},{"tag":"Outputs","title":"Predictions","body":"Visitors and income."}]},{"type":"cards","id":"uses","eyebrow":"Simulations","title":"Where simulations are used","items":[{"tag":"Weather","title":"Forecasts","body":"Models run many times with slightly different starting data."},{"tag":"Training","title":"Flight simulators","body":"Pilots practise emergencies safely."},{"tag":"Planning","title":"Traffic and crowds","body":"Test a new road layout before building it."},{"tag":"Games","title":"Physics","body":"How objects fall and bounce."}]},{"type":"calc","id":"calc","eyebrow":"Calculator","title":"Fair income on a sunny day","intro":"Visitors = 400 − 45 × price. Choose a price to see the visitors.","input":{"label":"Ticket price","min":1,"max":8,"step":1,"value":3,"unit":"$"},"rows":[{"label":"Visitors lost compared with free entry (45 per $1)","mul":45,"unit":"people","decimals":0,"color":"#f08c2e"}],"note":"At $3: 400 − 135 = 265 visitors, so income = 265 × 3 = $795."},{"type":"activities","id":"try","eyebrow":"Try it at home","title":"Paper model","items":[{"title":"Pocket-money model","time":"20 minutes","need":["Paper and a pen","A calculator"],"steps":["Write a model: savings after n weeks = start + (pocket money − spending) × n.","Write your inputs and assumptions (e.g. 'I spend the same every week').","Predict your savings after 4, 8 and 12 weeks.","Change one assumption (spend $1 less each week) and compare the predictions."],"why":"Changing one assumption and comparing outputs is exactly how models are used to explore 'what if'.","safety":"No safety risks."}]},{"type":"quiz","id":"quiz","eyebrow":"Quiz","title":"Six more questions","questions":[{"question":"What is a computer model?","options":["A plastic toy","A simplified version of a real situation","A type of RAM"],"answer":1,"right":"Correct. It uses rules and formulas.","wrong":"Not quite. Think of the fair income model."},{"question":"Which is an input to the fair model?","options":["Income","The screen","Ticket price"],"answer":2,"right":"Correct. Inputs are values you change.","wrong":"Not quite. Which value do you choose?"},{"question":"Which is an output of the fair model?","options":["The weather","Predicted income","The price"],"answer":1,"right":"Correct. Outputs are predictions.","wrong":"Not quite. Which value does the model work out?"},{"question":"Why do models need assumptions?","options":["To make them colourful","Assumptions are never needed","Some things can't be known exactly"],"answer":2,"right":"Correct. Assumptions fill the gaps.","wrong":"Not quite. Can we know exactly how many will come?"},{"question":"What does a simulation do?","options":["Runs a model to explore what might happen","Deletes data","Draws a flowchart"],"answer":0,"right":"Correct. It runs the model, often many times.","wrong":"Not quite. Think of the 30 fair days."},{"question":"A model's prediction is very different from real results. What should you check first?","options":["The assumptions","The screen brightness","The keyboard"],"answer":0,"right":"Correct. Wrong assumptions give wrong predictions.","wrong":"Not quite. What is the model built on?"}]},{"type":"checklist","id":"check","eyebrow":"Self-check","title":"I can explain…","items":["what a computer model is","the difference between inputs, assumptions and outputs","why changing an assumption changes predictions","what a simulation is and one real use"]},{"type":"keywords","id":"words","eyebrow":"Key words","title":"Words to know","items":[{"word":"model","meaning":"A simplified version of a real situation used to make predictions."},{"word":"simulation","meaning":"Running a model to explore what might happen."},{"word":"assumption","meaning":"Something taken as true and built into a model."},{"word":"input","meaning":"A value that can be changed."},{"word":"output","meaning":"A prediction the model produces."}]},{"type":"sources","id":"sources","title":"Sources","items":["UK Met Office: How weather forecasts are created"]}]},"overlay":null}