753 Answered Questions for the topic Python
07/01/25
How can I build a scalable video platform with Python and JavaScript?
I'm currently learning web development and I'm particularly interested in building a scalable video content platform using Python (possibly Django or Flask) and JavaScript (React or Vue).I've been...
more
Python
05/14/25
Reschedule a class
Hello- my tutor asked to reschedule a class. How do I do that? It is scheduled for today at 6:00 but we agreed to move it to 7:00 pst.
Python Calculus
03/25/25
Need help on a python questions
A certain ball has the property that each time it falls from a height h onto a hard, level surface, it rebounds to a height rh, where r= 4/5. suppose that the ball is dropped from an initial height...
more
Python
03/07/25
Is pygame very different from python?
Can I learn pygame easily if I know python? what are the differences/similarities?
Python Calculus
03/03/25
3. For each of the sequences in parts (a), (b), and (c), write a Python function that accepts a positive integer n as input and returns an unrounded decimal approximation of the sequence’s nth term
Use these functions to print the terms of each respective sequence for 2 ≤ n ≤ 15.(a) The sequence of partial continued fractions is defined asa_(1)=1, a_(2)=1+(1)/(1), a_(3)=1+(1)/(1+(1)/(1)),...
more
Python Calculus
02/24/25
2. Use sympy to compute the exact volumes of the following solids S:
(a) S rests on the xy-plane, and its base is the region bounded between f(x) = sin(π/4 · x)and g(x) = cos(π/2 ·x)−1 on 0 ≤ x ≤ 4. Cross-sections of S perpendicular to the x-axisare isosceles...
more
Python Calculus
02/23/25
1. Some functions are too complicated to integrate exactly, even when using sympy or other computer algebra systems. However, there are ways to approximate the definite integrals of such functions.
In this problem, we will be using a Monte Carlo algorithm (named after a famous casino because this algorithm uses random numbers to approximate an answer) to approximate the area under a curve.(a)...
more
Python
02/13/25
3. Given f(x) = 1 /2 x ^4 and g(x) = |x^ 2 − 14|:
(a) Plot the two functions on the same axes with x-interval [−4, 4].(b) Find the points of intersection (approximate if necessary).(c) Find the volume of the solid whose base is the region enclosed...
more
Python Calculus
02/13/25
A jeweler is designing a spherical metal bead with a hole drilled through the center to the opposite side. The bead has radius r millimeters and the hole has a radius of 1 millimeter.
(a) Integrate to find the volume V (r) of the bead, where the axis of rotation is parallel tothe hole.Hint: There are two valid ways of setting this up.(b) Suppose the jeweler needs the bead to be...
more
Python
12/31/24
Any Python expert?
I’m encountering an issue where I can’t seem to debug the code I’m working on in Python, and I’m unsure where I’m going wrong. I’ve tried using print statements to trace the logic and reviewing the...
more
Python
11/04/24
given \sum_(n=0)^(\infty ) ((2n)!)/((5000)^(n)) write a python code to the following questions:
a) print the first 16 terms of the series (from a0 to a15). Based on your output, do you expect the series to converge or diverge?b) Apply the ration test to the series, i.e., compute |an+1/an| and...
more
Python
10/28/24
given an = 1/2n
a) show that an —> 0 b) plot the first 50 terms of the sequence (starting n=1) and the first 50 partial sums on the same graph c) does the series converges or diverge? verify by taking the sum...
more
Python Calculus
09/30/24
Another approximation for integrals is the Trapezoid Rule: There is a built-in function trapezoid in the package scipy .integrate (see the overview for more information).
(a) Compute the Trapezoid approximation using n = 500 subintervals.(b) Is the Trapezoid approximation equal to the average of the Left and Right Endpointapproximations?
Python
09/23/24
write a program
pyramid_Area1 that will ask the user to input the length of one side of a cube (in meters) and the number of layers of the pyramid. the program must use a loop. After that program write a second...
more
Python
09/13/24
1. Given f(x) = √ x and g(x) = (x − 3)^2 ,
(a)Plot both functions on the same axes, with x-interval [0, 5].(b) Find the volume of the solid generated by rotating the region bounded by the two curvesaround the line x = 0.5.(c) Find the...
more
Python
07/27/24
Requesting help on one assignment
I'm having some trouble with the problem, the instruction states to create another file that had the following text, which I did using Python IDLE which then I saved. But I do not understand what I...
more
Python
07/16/24
10 hours paid tutoring
How do I take advantage of my 10 hours paid tutoring provided by Bellevue University?
Python
05/07/24
(Sum elements column by column) Python Question
Write a function that returns the sum of all the elements in a specified column in a matrix using the following header:def sumColumn(m, columnIndex):Write a test program that reads a 3 × 4 matrix...
more
Python
05/07/24
(Anagrams) Python Question
Write a function that checks whether two words are anagrams. Two words are anagrams if they contain the same letters. For example, silent and listen are anagrams. The header of the function is:def...
more
Python
05/07/24
(Sorted?) Python Question
Write the following function that returns True if the list is already sorted in increasing order:def isSorted(lst):Write a test program that prompts the user to enter a list of numbers separated by...
more
Python
05/07/24
See Exercise 7.9 in Chapter 7 Programming Exercise from the Book for the description. Python Question
Sample RunEnter numbers: 1.9 2.5 3.7 2 1 6 3 4 5 2The mean is 3.11The standard deviation is 1.55738
Python
05/06/24
(Simple computation) Python Question
The formula for computing the discriminant of a quadratic equation ax^2 + bx + c = 0 is b^2 – 4ac.Write a program that computes the discriminant for the equation 3x^2 + 4x + 5 = 0.
Python
05/06/24
(Population projection) Python Question
The US Census Bureau projects population based on the following assumptions: One birth every 7 seconds One death every 13 seconds One new immigrant every 45 seconds Write a program to display the...
more
Python Computer Programming
04/14/24
Write a python program that lets the user enter an account number and then search's the array to see if the number is in the array.
Write a program that lets the user enter an account number and then search's the array to see if the number is in the...
more
Python
04/12/24
(Sum series) Python Question
Write a function to compute the following series:m(i) = 1/2 + 2/3 + ... + i/(i+1)Write a test program that displays the following table:i m(i)1 0.50002 1.1667...19 16.402320 17.3546
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.