Python Problem

WP Upload Directory not writable! Check file and directory permissions
I have numbers from 1 to 100000. I need to remove the zeros from all numbers and sum up numbers from 1 to 100000. So if the number is 405 consider it as 45 , if number if 20039 consider it 239. My solution: for i in range(1, 100000): sum = sum + int(str(i).replace('0', '')) ...

CECS 447: Project 01 (Part D)

WP Upload Directory not writable! Check file and directory permissions
servo.h /* Karina Rosales Robert Cardona Samuel Ajao Gurneem Saini Fall 2012 T/Th 8-10:15 PM timers.h Name: servo.h Title: Servo Module Header Description: This file contains all the prototypes of the functions used in timers.c. Dependencies: None */ //--------------------------------------------------------------------------; void delay_ms(unsigned int n_msec); void delay_us(unsigned int n_usec); void T1_init(void); // Initialize Timer 1 void rotateClockwisePulse(void); ...

CECS 447: Project 01 (Part C)

WP Upload Directory not writable! Check file and directory permissions
lcd.h /* Karina Rosales Robert Cardona Samuel Ajao Gurneem Saini Fall 2012 T/Th 8-10:15 PM lcd.h Name: lcd.h Title: LCD Interface Module Header Description: This file contains all the prototypes of the functions used in lcd.c. Dependencies: None */ //--------------------------------------------------------------------------; void delay(int count); void lcd_rs(unsigned char bit); void lcd_rw(unsigned char bit); void lcd_en(unsigned char bit); ...

6502, 65816 Processor

WP Upload Directory not writable! Check file and directory permissions
Some useful links: http://www.bombjack.org/commodore/books-generic.htm http://en.wikibooks.org/wiki/Super_NES_Programming/65c816_reference http://softpixel.com/~cwright/sianse/docs/65816NFO.HTM http://www.smwiki.net/wiki/65c816 https://github.com/mnaberez/py65 http://www.zophar.net/documents/65816.html

CECS 447: Project 01 (Part B)

WP Upload Directory not writable! Check file and directory permissions
lcd.h /* Karina Rosales Robert Cardona Samuel Ajao Gurneem Saini Fall 2012 T/Th 8-10:15 PM lcd.h Name: lcd.h Title: LCD Interface Module Header Description: This file contains all the prototypes of the functions used in lcd.c. Dependencies: None */ //--------------------------------------------------------------------------; void delay(int count); void lcd_rs(unsigned char bit); void lcd_rw(unsigned char bit); void lcd_en(unsigned char bit); ...

CECS 460: Lab 02

WP Upload Directory not writable! Check file and directory permissions
baud_generator `timescale 1ns / 1ps ///////////////////////////////////////////////////////////////////////////// // Company: California State University Long Beach // Engineer: Robert Cardona // // Create Date: 10/10/2012 // Design Name: Baud Generator // Module Name: baud_generator // Project Name: Project Number // Target Devices: Xilinx Spartan 3E-500 Nexys 2 // Tool versions: Xilinx ISE Design Suite 14.1 // Description: Generates ...

CECS 447: Project 01 (Part A)

WP Upload Directory not writable! Check file and directory permissions
lcd.h /* Karina Rosales Robert Cardona Samuel Ajao Gurneem Saini Fall 2012 T/Th 8-10:15 PM lcd.h LCD Interface Module Header */ //--------------------------------------------------------------------------; void delay(int count); void lcd_rs(unsigned char bit); void lcd_rw(unsigned char bit); void lcd_en(unsigned char bit); void enable_pulse(unsigned char direction); void lcd_bus_direction(unsigned char direction); void lcd_bus_output(unsigned int lcd_port); void wait_lcd( void ); void lcd_command_write( ...

MATH 540A HW03 P14

WP Upload Directory not writable! Check file and directory permissions
Let be a group. Let . By 9., Problem Set 2, . Prove: If and , then . (Note. While we are assuming that the indices are finite, we are not assuming that is finite.). Proof: Observe that there are distinct cosets of in , say where for . Similarly, there are distinct cosets of ...

MATH 540A HW03 P13

WP Upload Directory not writable! Check file and directory permissions
Give an example of a nonabelian group such that each of its proper subgroups is cyclic. Solution: . , , , .

MATH 540A HW03 P12

WP Upload Directory not writable! Check file and directory permissions
If is a group with , whose only subgroups are and (i.e., has no proper subgroups), then , for some prime . Proof: Let with . Observe that must generate because if it didn't generate , then would be a proper nontrivial subgroup of , which would contradict our hypothesis. Hence . Thus is cyclic. ...