A balloon is rising vertically upward with a uniform
velocity 'u' as shown in Fig. 11.E22. At a certain
instant, a ball No. 1 is dropped from it, which takes a
4 sec to reach the ground. The moment this ball
strikes the ground, another ball is dropped from the
balloon and this 2nd ball takes 5 sec to reach the
ground. Find the velocity of the balloon 'u' and height
from which both the balls must have been dropped.
A differential equation for the velocity v of a falling mass m subjected to air resistance
proportional to the square of the instantaneous velocity is:
𝑚 (𝑑𝑣/𝑑𝑡) = mg-kv2
Where k >0 is a constant of proportionality. The positive direction is downward.
(a) Solve the equation subject to the initial condition v(0)=v0.
(b) Use the solution in part (a) to determine the limiting, or terminal, velocity of the mass.
(c) If the distance s, measured from the point where the mass was released above ground, is
related to velocity v by ds/dt=v(t), find an explicit expression for s(t) if s(0)= 0.
If ux² + y² +2²,v=x+y+z₁w=xy+yz+zx, then the value of the jacobian is d(u,v,w)/d(x,y,z)
a conducting cylinder of radius 3.25 cm and length 5.6 cm has a total charge of 4.5 x 10 c distributed uniformly on its surface area. find the potential at a) its surface, and b) 2.5 cm and c) 5.0 cm from the center of the cylinder.
You are given an array of N non-negative integers: A1, A2, ..., AN. An alternating subsequence is a subsequence in which the indices of any two consecutive elements differ by exactly two in the original array. That is, if Ai1, Ai2, ..., Aik is some subsequence, then for it to be an alternating subsequence, (i2 - i1 = 2), (i3 - i2 = 2), and so on should all hold true. Among all alternating subsequences, find the one which has maximum sum of elements, and output that sum.
Define a struct , FruitType, to store the following data about a fruit: Fruit name (string), color (string), fat (int), sugar ( int ), and carbohydrate (int). Now write a program that implements the struct FruitType, then include two functions. One function must ask the user to input the data about the fruit. The other function must output the data bout the fruit.
A turtle crawls along a straight line, which we will call the x-axis with the
positive direction to the right. The equation for the turtle’s position as a function of time is x(t) = 51.0 cm +
(2.50 cms) t − (0.0623 cms2) t2
a.)At what time t is the velocity of the turtle zero?
(b) How long after starting does it take the turtle to return to its starting point?
(c) At what times t is the turtle a distance of 0.1 m from its starting point? What is the velocity (magnitude and direction) of the turtle at each of these times?
10m of rope has a mass of 2.0kg. When the speed of transverse waves along the rope is 6.0ms^-1 the tension in N is?
(a) 1.2 (b) 7.2 (c) 72.0) (d) 28.8 (e) 2880 answers
import java.util.*;
class App {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter a String: ");
String string = in.nextLine().toLowerCase();
System.out.print("Enter character to find: ");
String characterFind = in.nextLine().toLowerCase();
int index = string.indexOf(characterFind);
System.out.print("Index Position: ");
while (index >= 0) {
System.out.print(index + " ");
index = string.indexOf(characterFind, index + 1);
}
in.close();
}
}
Do this coding without using characterFind, Array, Array functions, split
Jac tossed an unbiased coin. If the coin lands with head up on each toss, he wins ₱50. However, if it lands
with tail up, he loses ₱60. If he continues to play the game, how much can he expect to win or lose in the
game?