×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

or

## Science and Computers I

by: Ms. Bryce Wisoky

25

0

5

# Science and Computers I PHY 307

Marketplace > Syracuse University > Physics 2 > PHY 307 > Science and Computers I
Ms. Bryce Wisoky
Syracuse
GPA 3.93

Staff

These notes were just uploaded, and will be ready to view shortly.

Either way, we'll remind you when they're ready :)

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

COURSE
PROF.
Staff
TYPE
Class Notes
PAGES
5
WORDS
KARMA
25 ?

## Popular in Physics 2

This 5 page Class Notes was uploaded by Ms. Bryce Wisoky on Wednesday October 21, 2015. The Class Notes belongs to PHY 307 at Syracuse University taught by Staff in Fall. Since its upload, it has received 25 views. For similar materials see /class/225633/phy-307-syracuse-university in Physics 2 at Syracuse University.

×

## Reviews for Science and Computers I

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/21/15
Lee a N umerical integrationdirect o PseudoRandom numbers 0 Monte Carlo integration Important numerical algorithms a We have learnt how to approximate deriva tives and to solve simple differential equa tions o Another important task integration o Like derivatives 2 types of problem Want essentially exact solution to problem with few variables Or wanting a good estimate with errors of a complex problem with very many variables Errors Consider area of one slice running from 13 O to a 613 Let a O y Taylor expand fx f0 y f0 yf 0 6x 6x 0 drums O dy f0 We Simple slicing result gotten by taking first term Error 06x Need small 61 for good answer How small Need 61 ltlt f O Aside random numbers Most computerslanguages provide a sim ple pseudorandom number generator eg random in python Often use deterministic algorithm to gen erate sequence rn1 2 am b mod m random number in range 01 isjust rnm Careful choices of abm generate long se quences of seemingly random numbers But such generators Will repeat eventually Care must be taken In principle should check all results with at least 2 different random number generators Implementation 0 Choose trial position mm mold 6 Calculate w ptrz azpold If w gt 1 accept xtmz o If w lt 1 generate random number 7 o If r g 111 accept change 0 If HOT xtrml mold Choose 6 so that 50 moves accepted approx 12

×

×

### BOOM! Enjoy Your Free Notes!

×

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Bentley McCaw University of Florida

#### "I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Kyle Maynard Purdue

#### "When you're taking detailed notes and trying to help everyone else out in the class, it really helps you learn and understand the material...plus I made \$280 on my first study guide!"

Jim McGreen Ohio University

Forbes

#### "Their 'Elite Notetakers' are making over \$1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com