Author: admin

  • Studypool Professional

    import csv

    import os

    from datetime import datetime

    FILE_NAME = “data_keuangan.csv”

    # Membuat file jika belum ada

    def buat_file():

    if not os.path.exists(FILE_NAME):

    with open(FILE_NAME, mode=’w’, newline=”) as file:

    writer = csv.writer(file)

    writer.writerow([“Tanggal”, “Jenis”, “Kategori”, “Jumlah”, “Keterangan”])

    # Menambahkan transaksi

    def tambah_transaksi(jenis):

    tanggal = datetime.now().strftime(“%Y-%m-%d”)

    kategori = input(“Masukkan kategori: “)

    jumlah = int(input(“Masukkan jumlah uang: “))

    keterangan = input(“Keterangan (opsional): “)

    with open(FILE_NAME, mode=’a’, newline=”) as file:

    writer = csv.writer(file)

    writer.writerow([tanggal, jenis, kategori, jumlah, keterangan])

    print(” Transaksi berhasil disimpann”)

    # Menampilkan laporan

    def laporan():

    pemasukan = 0

    pengeluaran = 0

    print(“n=== LAPORAN KEUANGAN ===”)

    with open(FILE_NAME, mode=’r’) as file:

    reader = csv.DictReader(file)

    for row in reader:

    if row[“Jenis”] == “Pemasukan”:

    pemasukan += int(row[“Jumlah”])

    elif row[“Jenis”] == “Pengeluaran”:

    pengeluaran += int(row[“Jumlah”])

    saldo = pemasukan – pengeluaran

    print(f”Total Pemasukan : Rp {pemasukan}”)

    print(f”Total Pengeluaran: Rp {pengeluaran}”)

    print(f”Saldo Akhir : Rp {saldo}n”)

    # Menu utama

    def menu():

    while True:

    print(“=== APLIKASI KEUANGAN PRIBADI ===”)

    print(“1. Tambah Pemasukan”)

    print(“2. Tambah Pengeluaran”)

    print(“3. Lihat Laporan”)

    print(“4. Keluar”)

    pilihan = input(“Pilih menu (1-4): “)

    if pilihan == “1”:

    tambah_transaksi(“Pemasukan”)

    elif pilihan == “2”:

    tambah_transaksi(“Pengeluaran”)

    elif pilihan == “3”:

    laporan()

    elif pilihan == “4”:

    print(“Terima kasih telah menggunakan “)

    break

    else:

    print(” Pilihan tidak validn”)

    # Program utama

    buat_file()

    menu()

    Requirements:

  • History Question

    Week 3 Discussion: Ancient Egypt( I need 5 unique copies for this assignment mine and my 4 classmates )

    Question: Provide a brief summary of the three periods of Ancient Egypt, Old Kingdom, Middle Kingdom, and New Kingdom. What are some of the primary differences between Egyptian civilization in each of these three phases and why did they occur? (Cite your text in the body of your essay and list your used sources, at least one is required. (Your textbook and module sources are acceptable). No title page or abstract required. (min 200-250 words).

    1. Initial Posting (200-250 words):
      • Provide a brief summary of each of the three Kingdom periods and how they differed from each other.
      • Identify why those major changes occurred, either during that time of because of the Intermediate Periods. .

    Grading Criteria:

    • Initial Posting (3 points):
      • Content (2 points): Clear answer with supporting historical information.
      • Grammar and Citation (1 point): Proper grammar and APA citation.
    • Peer Response (2 point):
    • Content (1 point): Provide a well-supported response to a fellow student’s post, using historical information to substantiate your points.
    • Grammar and Format (1 point): Proper grammar and format in your response.

    Total Points: 5


    Requirements: According to the instructions

  • mathematics question

    Define the function

    (

    )

    =

    {

    2

    sin

    ?

    (

    1

    2

    )

    ,

    0

    ,

    0

    ,

    =

    0.

    f(x)=

    x

    2

    sin(

    x

    2

    1

    ),

    0,

    x

    =0,

    x=0.

    (a)

    Prove that

    (

    )

    f(x) is continuous at

    =

    0

    x=0.

    (b)

    Determine whether

    (

    )

    f(x) is differentiable at

    =

    0

    x=0. If so, find

    (

    0

    )

    f

    (0).

    (c)

    Find an explicit formula for

    (

    )

    f

    (x) for

    0

    x

    =0.

    (d)

    Decide whether

    (

    )

    f

    (x) is bounded on any neighborhood of

    =

    0

    x=0.

    (e)

    Determine whether

    (

    )

    f

    (x) is Riemann integrable on

    [

    1

    ,

    1

    ]

    [1,1].

    Complete Solution

    (a) Continuity at

    =

    0

    x=0

    For

    0

    x

    =0,

    ?

    (

    )

    ?

    =

    ?

    2

    sin

    (

    1

    /

    2

    )

    ?

    ?

    2

    ?

    ?f(x)?=?x

    2

    sin(1/x

    2

    )??x

    2

    ?

    Since:

    lim

    0

    2

    =

    0

    x0

    lim

    x

    2

    =0

    By the Squeeze Theorem:

    lim

    0

    (

    )

    =

    0

    =

    (

    0

    )

    x0

    lim

    f(x)=0=f(0)

    f is continuous at

    0

    0.

    (b) Differentiability at

    =

    0

    x=0

    Using the definition:

    (

    0

    )

    =

    lim

    0

    (

    )

    (

    0

    )

    =

    lim

    0

    2

    sin

    (

    1

    /

    2

    )

    =

    lim

    0

    sin

    (

    1

    /

    2

    )

    f

    (0)=

    h0

    lim

    h

    f(h)f(0)

    =

    h0

    lim

    h

    h

    2

    sin(1/h

    2

    )

    =

    h0

    lim

    hsin(1/h

    2

    )

    Since:

    1

    sin

    (

    1

    /

    2

    )

    1

    ?

    ?

    sin

    (

    1

    /

    2

    )

    ?

    ?

    1sin(1/h

    2

    )1?h?hsin(1/h

    2

    )?h?

    Thus:

    lim

    0

    sin

    (

    1

    /

    2

    )

    =

    0

    h0

    lim

    hsin(1/h

    2

    )=0

    f is differentiable at

    0

    0, and

    (

    0

    )

    =

    0

    f

    (0)=0.

    (c) Formula for

    (

    )

    f

    (x) for

    0

    x

    =0

    Differentiate:

    (

    )

    =

    2

    sin

    (

    1

    /

    2

    )

    f(x)=x

    2

    sin(1/x

    2

    )

    Using product and chain rules:

    (

    )

    =

    2

    sin

    (

    1

    /

    2

    )

    +

    2

    cos

    (

    1

    /

    2

    )

    (

    2

    3

    )

    f

    (x)=2xsin(1/x

    2

    )+x

    2

    cos(1/x

    2

    )(

    x

    3

    2

    )

    Simplifying:

    (

    )

    =

    2

    sin

    (

    1

    /

    2

    )

    2

    cos

    (

    1

    /

    2

    )

    f

    (x)=2xsin(1/x

    2

    )

    x

    2

    cos(1/x

    2

    )

    (d) Boundedness of

    (

    )

    f

    (x) near

    0

    0

    Consider:

    (

    )

    =

    2

    sin

    (

    1

    /

    2

    )

    2

    cos

    (

    1

    /

    2

    )

    f

    (x)=2xsin(1/x

    2

    )

    x

    2

    cos(1/x

    2

    )

    The first term

    2

    sin

    (

    1

    /

    2

    )

    0

    2xsin(1/x

    2

    )0.

    The second term:

    ?

    2

    cos

    (

    1

    /

    2

    )

    ?

    =

    2

    ?

    ?

    x

    2

    cos(1/x

    2

    )

    =

    ?x?

    2

    which diverges to infinity as

    0

    x0.

    (

    )

    f

    (x) is unbounded in every neighborhood of

    0

    0.

    (e) Riemann integrability of

    (

    )

    f

    (x) on

    [

    1

    ,

    1

    ]

    [1,1]

    Although

    (

    )

    f

    (x) is unbounded near

    0

    0, it is discontinuous only at a single point

    =

    0

    x=0.

    A function that is:

    bounded on compact intervals except possibly at finitely many points, and

    has a finite number of discontinuities,

    is Riemann integrable.

    Alternatively, note:

    1

    1

    (

    )

    =

    (

    1

    )

    (

    1

    )

    1

    1

    f

    (x)dx=f(1)f(1)

    by the Fundamental Theorem of Calculus, since

    f is differentiable everywhere and continuous on

    [

    1

    ,

    1

    ]

    [1,1].

    Thus:

    (

    )

    f

    (x) is Riemann integrable on

    [

    1

    ,

    1

    ]

    [1,1].

    Requirements:

  • Discussion

    Blackface and 1619 Project Discussion

    Go back to Module 6.4 and 6.7 on the Cotton and Chick minstrel show and the 1619 Project Episode three The Birth of American Music. In four paragraphs total, (2 each) you will need to address the following questions in order to receive full credit.

    Note: If you do not mention examples from the material for the questions, you will not receive credit

    First 2 paragraphs (Cotton and Chick)

    1) What is occurring in this sketch? It should e a short summary of what happens.

    2) How does Chick treat Cotton, and how does Cotton treat himself? Meaning, how does Cotton speak about himself and his Blackness?

    3) What are some of Cotton character traits? How does he speak, how is his posture, and how does he interact with Chick?

    4) What are some of Cotton’s physical characteristics? How is his make-up, cloths, eyes, lips done? Why is it done like that? What about his dancing?

    5) What do you notice about the people in the background?

    Second 2 paragraphs (1619 Project)

    1) Give a brief summary of the episode. What two artists does he say made him think about Black music when he is chopping vegetables?

    2) What is the story of Jim Crow as a song and character in accordance to Thomas Rice? How did it help create a unique form of American theater and culture?

    3) How does this evolve into Black music, and then American pop music co-opted by white Americans?

    Requirements: 4 paragraphs

  • Computer Science Question

    Case Study: System Analysis and Information Gathering

    GrocerPlus is a well-established supermarket chain in Metropolis with a successful ten-year run that is looking to revamp its inventory management system. Their current system has begun showing signs of inefficiency with frequent mismanagement leading to overstocking or shortage of items, prompting management at GrocerPlus to invest in a robust system with systems analysts and designers as part of their team for this task.

    Assignment: Your primary responsibility as part of this team of systems analysts and designers is to gather relevant information on the current system to analyze it, identify its deficiencies, and devise an efficient alternative design. Your main sources will include management staff, store employees, data records, etc.

    Your task is to identify and choose interactive yet unobtrusive methods of gathering the required information, which may include interviews, questionnaires, document analysis, observations, or using existing system records as means.

    Instructions: Establish the methods by which you will gather data regarding the current inventory management system. Ensure your approach includes both interactive and passive methods of gathering this information.

    Provide a thorough explanation for each method chosen and their advantages and disadvantages within this project context.

    Details each method that will be implemented, detailing what type of information will be gathered through each approach and its importance to systems analysis and design.

    Last, compile all of your findings and explanations into an exhaustive report that can be submitted for evaluation.

    This case study is intended to challenge your ability to select and justify appropriate information-gathering methods in a real-world setting. Your choices will have a substantial effect on the success of analysis and design processes, so it is crucial to carefully consider each option available. (LO1 & LO2)

    Essential Activities:

    1. Reading Chapters 4-5 of your text will assist you with this exercise.
    2. Watching the videos on ‘Information Gathering” and “Data Gathering” will assist you with the exercise.

    Notes:

    1. This paper must be formatted in APA Style 7th edition. The paper should also have a properly formatted title page, introduction, content body, conclusion, and references.

    Requirements: Explaination Should be 800 words with screenshots

  • myles 002: Intro to Criminal Justice

    Week 2 Assignment: Understanding Criminal Justice Models

    Due: January 23
    Points: 100

    Purpose
    This assignment helps you understand the two main models of the criminal justice systemcrime control and due processand how they affect decisions in real life.

    Instructions
    After reading Chapter 1: Fundamentals of Criminal Justice, write a response that answers the questions below. Be sure to use complete sentences and your own words.

    1. Explain the Models
      • What is the crime control model?
      • What is the due process model?
    2. Compare the Models
      • List two differences between the crime control model and the due process model.
    3. Apply to Real Life
      • Choose one area of the criminal justice system (policing, courts, or corrections).
      • Explain how both models could influence decisions in that area.
    4. Your Opinion
      • Which model do you think is used more often in todays criminal justice system?
      • Do you think this is a good thing? Why or why not?

    Length & Format

    • 1.52 pages (double-spaced)
    • Times New Roman or Calibri, 12-point font
    • 1-inch margins

    Submission Instructions
    Submit your assignment as a Word document or PDF in Canvas by the due date.

    Grading Criteria

    • Clear explanation of both models
    • Accurate comparison and examples
    • Thoughtful reflection
    • Writing clarity and effort
    • The paper should have the layout as shown abaove
    • 0% AI

    Requirements: 2 PAGES

  • at least 4-5 sentences each question

    How would you describe the state of American public engagement with the past, and what are the implications for public historical work? Use the “History, the Past, and Public Culture” survey and at least one other course reading to answer the question.

    1. Dissect the question. What is meant by public engagement with the past, and why would this matter to public historians? How do you go about answering a question about the state of something?

    2. Using the survey, identify one point suggesting that Americans are very engaged with history, and one suggesting that Americans dont really care about the past.

    Point for:

    Illustrating evidence:

    Point against:

    Illustrating evidence:

    3. Identify 3 points, with supporting quotes and evidence from the survey, that explain how publics engage with the past.

    Point 1:

    Quote (include page #):

    Illustrating example:

    Point 2:

    Quote (include page #):

    Illustrating example:

    Point 3:

    Quote (include page #):

    Illustrating example:

    4. Now, think about how the three points above would impact how public historians might do their work?

    5. Link ideas across readings. Choose any point above and think about how it relates to another text weve read in this class.

    6. Now that you have the evidence laid out before you, what would you argue about the state of public historical engagement? Craft the thesis statement for your paper.

    Requirements: as above

  • Disc. #1

    Criminal Justice Research II

    Disc. #1

    Greetings Class,

    For this first real discussion post, we will be revisiting the material from chapter one. More specifically, we will be using the material from the chapter on how we come to think about different phenomena and the different types of research that we use to investigate them.

    Therefore, please respond to the prompt below using full and complete sentences. There is no need for the use of a chatgpt search engine as these are your personal ideas, thoughts, and beliefs.

    1. What criminological topic or issue would you focus on if you could design a research project without any concern for costs?

    2. What are your motives for studying this topic? … This means why is this an important topic to you or what do you hope to gain from this study.

    3. List at least four of your beliefs about this phenomenon. Try to identify the sources of each belieffor example, television, newspaper, or parental influence. Again, these are your personal beliefs, no need for chatgpt.

    4. For this last section, you will develop four research questions related to the topic or issue you posed above, one for each of the four types of research (descriptive, exploratory, explanatory, and evaluative). Be specific. Again, refer back to the course text on the four types of research.

    For your post I will prompt you on what to reply to another student. Read through a few of the other student’s post and compare and contrast your major motives/motivations for your particular study.

    As you complete this discussion post, also remember to think about how it is that we can explain social research and the different types that fall within its scope.

    Heads up, it is okay to use those tools should you need help with phrasing or something like that, but I do not accept assignments completed in tot

    Requirements: as needed   |   .doc file

  • Research Conclusions

    Greetings Class,

    For this assignment we will again be revisiting the material from chapter one. More specifically, we will be using the material from the chapter on how we come to think about different phenomena and the different types of research that we use to investigate them.

    Your task is to do the following:

    Go to the website of a major newspaper (e.g., Times, Wall Street Journal, etc.), and find an article that discusses a particular type of crime or violent behavior and the causes of that crime or violent behavior. Then, in your own words, tell me what conclusions were drawn from that article, and if they discuss the methods used to determine their findings or how they back up his or her claims. in APA

    Requirements: ASNEDED   |   .doc file

  • Wissam coun chapters 123456789101112

    Review Chapters 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

    in College Success. In your own words, write a one-page double-spaced journal reflection summary of these chapters. You should have one paragraph for each chapter that highlights the things that are important to you. Please answer these questions in your one page summary reflection.

    1. What did you learn and how will you apply this to yourself and your college success?

    This link will open in a new window. If you want to work in the window within Canvas, click on the next item in this module titled “College Success Textbook.” Once you are in the Book, make sure to click on the “Contents” icon in the left menu bar so that you can see the table of contents of your book.

    *****one paragraph for each chapter

    12 chapters

    Requirements: 12 paragraphs