Supposed a ball is thrown straight up in the air with an initial velocity of 50 feet per second and an initial height of 5 feet. How high will the ball be after 3 seconds? Note: The height after t seconds is given by the expression - 16t+vot+ho, where vo is the initial velocity and ho is the initial height. Visual Basic
Q: Write a program that calculates the future value of an investment at a Final Exam Fall2014 given…
A: Actually, java is a object oriented programming language. It is a platform independent.
Q: Complete the following regular expression set and write each expression in English also.
A: The table having regular expression is given. in answer section both complete language and english…
Q: Assignment 8.1b- Evaluate the following expressions. Assume that the value of x = 25, y = 10, z =…
A:
Q: Using visual studio or visual basic For 1-4, Using a For…Next, Do While, or Do Until Loops, create…
A: * As per the company norms and guidelines we are providing first three sub parts of the question…
Q: isplay the employee’s name whose salary is within a range that is specified by the user input as…
A: Answer:-
Q: Determine whether the value of the variable age is greater than equal to 18. If it is print “Age is…
A: C++ has the following conditional statements: Use if to specify a block of code to be executed, if…
Q: if condition will return in below javascript code
A: if condition will return in given javascript code
Q: Draw The Flowchart And Create A Program That Will Arrange The Values Of A, B, And C In Ascending…
A: NOTE: Since the program doesn't mention the programming language use to code the program so I am…
Q: Using a flow chart display a series of numbers in which each number (Fibonacci Number) is the sum of…
A: We need to draw a flowchart to generate n fibonacci numbers.
Q: Write an algorithm and draw a flowchart that will read the wind speed and display the corresponding…
A: Introduction of Algorithm and Flow Chart: In Computer Programming, Algorithm is a step-by-step…
Q: 1. Find the area of a rectangle 2. Find the area of a square 3. Find the area of a Circle If user…
A: print("1. Find the area of a rectangle");print("2. Find the area of a square");print("3. Find the…
Q: In college, a student may get a grade of 1.0 (as the highest) to 5.0 (lowest). Anyone who get's a…
A: 1) Below is C program to that ask the user to input midterm and tentative final grade, calculate…
Q: 1. Design a form and write code; to enter username and password and that the title of the form is…
A: Design a form and write code; to enter username and password and that the title of the form is VB.…
Q: Enter three values of angles and then print "Triangle" or "Not a triangle" depending on whether…
A: Here I have taken input from the user and stored it in three different variables. Next, I have used…
Q: p: The tour goes
A: Solution - In the given question, we have to represent the following statements in symbols.
Q: You are given two variables one is associated with a float ahd hame talweight, containing the weight…
A: Please find the answer below :
Q: Create a Function procedure called calculate cost that calculate the cost of an item and return that…
A: Create a Function procedure called calculate cost that calculate the cost of an item and return that…
Q: Assume that variable num is an integer variable which is assigned a random value from zero (0) to…
A: There can be many expressions that can be written inside the if bracket to validate the validate the…
Q: What will the code in Figure 4-54 assign to the lblStatus control when the strLevel variable…
A: Solution: The value assigned to the iblStatus control when the strLevel ="5" is gold The correct…
Q: To design a simply calculator, design a form with three text boxes and four command buttons. The…
A: 1. Design the VB form using Visual Basic Studio 2. Write the code for each arithmetic operation 3.…
Q: Grass sod costs 35.00 per square meter and fencing costs 100.00 a linear foot. Display the total…
A: The main objective of the program is used to process the instructions given by the programmer in the…
Q: ng Python Create a GUI (Graphical User Interface) program shown below that lets the user enter the…
A: It is defined as a interpreted, object-oriented, high-level programming language with dynamic…
Q: Write a number activity and then circle the circle or square. Input will be on form (letter I,…
A: Please refer below for your reference: Language used is C++: I am using a function called perimeter…
Q: The 24-point card game involves picking any four cards from 52 cards, as shown in Figure 10.20. Note…
A: EXPLANATION Below is the program for the given question. Hope you understand it well. If you have…
Q: Create an expression that evaluates to true if the integer variable numberOfPrizes is divisible by…
A: To be determine: Create an expression that evaluates to true if the integer variable numberOfPrizes…
Q: Expression a | b (means: a OR b) is true only when either a or b is true, but not when both a and b…
A: 1) The OR is a boolean operator is represented by the OR logic gate 2) The OR operator return the…
Q: The variable data refers to the string "No way!". The expression data[3:6] evaluates
A: Substring is the part of the string, which is printed by giving the index. In python to get the…
Q: Construct an expression that test condition: Tests that str1 is not equal to "xyz" and the length of…
A: The strlen() function in C is used to calculate the length of a string. Note: strlen() calculates…
Q: The logical operator And (&&) condition is true if either one or both of the expression is true True…
A: The ANswer is in Below Steps
Q: Visual basic 6.0 Design a form and write code in command Total to find the summation of numbers…
A:
Q: Create a flowchart for the following scenario Given a positive integer N >1, write a flowchart that…
A: NOTE- Here I have made use of FLOWGORITHM to create the flowchart. Prime numbers are those numbers…
Q: The program will ask the user to choose one of the following shapes: 1. Line 2. Parabola 3. Circle…
A: Note: Below is the required program in java. Program Approach: Import util package for Input/output…
Q: Evaluate the following expression: ((8.0 / 2) * 8) + 10 % 6
A: Given ((8.0 / 2) * 8) + 10 % 6
Q: Using the SELECT CASE Structure, write the code of a Visual basic program that will calculate and…
A: SUMMARY: - Hence, We discussed all the points.
Q: You flowchart read two integers between 1 to 6, representing the value of each die. If the sum is…
A: Flowchart:
Q: This code is intended to change the y location of an ellipse that has been created and increase the…
A: If condition is used to alter the flow of control based on Condition
Q: Create a Visual Basic project to solve for the roots of the quadratic equation -b± √b²-4ac 2a az² +…
A: Code to copy: Private Sub cmdClear_Click() Text1.Text = “” Text2.Text = “” End Sub Private Sub…
Q: f x = 15 and y = 5, what will be displayed after the following statements have been executed? if x…
A: Dear Student, x mod y = 15 mod 5 = 0. y/x = 15/5=3. As 15/5 >0 then x mod y < y \ x is false…
Q: Complete the code with if statement(s) to solve this problem? Print the message "charge your phone"…
A: A program is used to interact with the computer system. A program is converted into the 0's and 1's…
Q: Consider the following code segment. It should display a message only if the cost is between 50 and…
A: The problem statement involves the inclusive range between 50 and 75 dollars. So that 50 and 75 need…
Q: Create a Flowchart that: (Use pen and paper in creating the flowchart) • Reads the locations of the…
A: Our guidelines binds us commencing the first question only. - We need to create a flowchart for…
Q: Develop a form that has 5 inputs where user should be able to enter 5 numbers. a. When you click in…
A: The required functionality is implemented with HTML and JavaScript language and code for the same is…
Q: Draw a flowchart for last question which is: An If-Then-Else flowchart with a dual alternative…
A: We are given a logic for which we are going to create flowchart. Logic is simply to check if entered…
Q: In the below table, if a sale man attain a sale volume of $6000, he will be paid $6000x15%=$900.00.…
A: The correct option is B 1 If Sales<2000 Then2 ElseIf Sales>=2000 and Sales<5000 Then3…
Q: Visual Basic. Given two variables, isEmpty of type boolean, indicating whether a class roster is…
A: We will have two check the below conditions:-1) class roster is not empty2) the class is one or…
Q: reate the pseudocode for a program that are able to measure or sense the car speed in kilometers per…
A: the program is given below:-
Q: Write an If....Then decision structure to compare the two numbers in the following variables:…
A: #include <stdio.h>using namespace std; int main() { int decDeveloperPay =…
Q: efer to the code below, this is the formula for: clc; disp('____________________');…
A: As we know that the code given above is the code to calculate the four things mainly surface…
Q: Thermal Physiological stress sensation Too cold High cold stress Cold Moderate cold stress Little…
A:
1. Supposed a ball is thrown straight up in the air with an initial velocity of 50 feet per second and an initial height of 5 feet. How high will the ball be after 3 seconds? Note: The height after t seconds is given by the expression - 16t+vot+ho, where vo is the initial velocity and ho is the initial height.
Visual Basic
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- Q10: Using (ode45, ode23, or ode15s), solve the below dynamic electrical system differential equation. 1. The charge Q(t) on the capacitor in the electrical circuit shown satisfies the differential equation where d²Q dQ 1 +R- + √ √e dt2 dt L = 0.5 R = 6.0 C= 0.02 and V(t) is the applied voltage. V(t) = V(t), henrys is the coil's inductance ohms is the resistor's resistance farads is the capacitor's capacitance ellee (i) Is the circuit oscillatory? (ii) If V(t) = 24 sin(10r) volts and Q(0) = 0 = Q'(0), find Q(t). (iii) Sketch the transient solution, the steady state solution, and the full solution Q(t).INTRODUCTION: Heat conduction from a cylindrical solid wall of a pipe can be determined by the follow T1-T2 q = 2nLk R2 In R. where: q is the computed heat conduction in Watts. k is the thermal conductivity of the pipe material in Watts/°C/m. L is the length of the pipe in cm. Ri is the inner radius of the pipe in cm. R2 is the outer radius of the pipe in cm. Ti is the internal temperature in °C. T2 is the external temperature in °C. ASSIGNMENT: Write a C program that will allow the user to enter the inner and outer radii of the pipe, the the internal and external temperatures. Once the user enters the input values, the programThe spring in the figure below is stretched from its equilibrium position at x = 0 to a positive coordinate xo. ko HINT x = 0 x = xo PE sn PE 50 The force on the spring is F and it stores elastic potential energy PESO. If the spring displacement is tripled to 3x, determine the ratio of the new force to the original force, and the ratio of the new to the original elastic potential energy, Fo Fo PESO (a) the ratio of the new force to the original force, PE ST PE SO (b) the ratio of the new to the original elastic potential energy,
- Aerospace engineers sometimes compute the trajectories of projectiles such as rockets. A related problem deals with the trajectory of a thrown ball. The trajectory of a thrown by a right fielder is defined by the (x,y) coordinates as displayed in the Figure below. Find the appropriate initial angle θ0 , if v0 = 30m/s, and the distance to the catcher is 90 m. Note that the throw leaves the right fielder’s hand at an elevation of 1.8 m and the catcher receives it at 1 m. Also, you have to write your Matlab code.Interest on a credit card’s unpaid balance is calculated using the average daily balance. Suppose that netBalance is the balance shown in the bill, payment is the payment made, d1 is the number of days in the billing cycle, and d2 is the number of days payment is made before billing cycle. Then, the average daily balance is: averageDailyBalance =netBalance x d1-payment x d2d1 If the interest rate per month is, say, 0.0152, then the interest on the unpaid balance is: Interest= averageDailyBalance * 0.0152 Write a program using c++ compiler that accepts as inputnetBalance, payment, d1,d2, and interest rate per month. The program outputs the interest. Format your output to two decimal places.(Mechanics) The deflection at any point along the centerline of a cantilevered beam, such as the one used for a balcony (see Figure 5.15), when a load is distributed evenly along the beam is given by this formula: d=wx224EI(x2+6l24lx) d is the deflection at location x (ft). xisthedistancefromthesecuredend( ft).wistheweightplacedattheendofthebeam( lbs/ft).listhebeamlength( ft). Eisthemodulesofelasticity( lbs/f t 2 ).Iisthesecondmomentofinertia( f t 4 ). For the beam shown in Figure 5.15, the second moment of inertia is determined as follows: l=bh312 b is the beam’s base. h is the beam’s height. Using these formulas, write, compile, and run a C++ program that determines and displays a table of the deflection for a cantilevered pine beam at half-foot increments along its length, using the following data: w=200lbs/ftl=3ftE=187.2106lb/ft2b=.2fth=.3ft
- Algorithms Question Three points P, Q, and R are said to be collinear if they are on a single line. To check whether the 3 points lie on the same line, we use the distance formula. If P, Q and R are three collinear points, then: Distance from P to Q + Distance from Q to R = Distance from P to R PQ + QR = PR The distance between two points (x1, y1) and (x2, y2) is given by Hence, we can easily find the distance between the points P, Q and R, with the help of this formula. Design an algorithm (pseudocode) to check whether three points are collinear. In your solution include the input and the output.A thermometer is removed from a room where the temperature is 70° F and is taken outside, where the air temperature is 10° F. After one-half minute the thermometer reads 57° F. What is the reading of the thermometer at t = 1 min? Assume that the rate of change of temperature in time is proportional to the difference between the thermometer's temperature and the air temperature. Type your answer in °F in the space provided below. Round your answer to two decimal places.Assignment No. 1 (contd.) You will use Newton-Raphson method to find the eigenvalues. So we rewrite the equations as: fever (E) = VE + Vo sin (a VE+ Vo) V-E cos (a VE + Vo ) = o fodia( E) = VE + Vo cos (a VE+ Vo) + v-E sin (a VE + Vo) = 0 COS To find the eigenvalues of the even states, you must find the zeros of fever (E) and for the odd states you must find the zeros of fodd(E). To use the Newton-Raphson method, you will also need to find the deriva- tives of these functions. Write a MATLAB code to implement the Newton-Raphson Method. Now comes the need for physical insight. Recall three conclusions from your Phy 301 course: (1) For symmetric systems, the lowest eigenstate is always an even state, and (2) The eigenstates alternate between even and odd states, and (3) the bound state eigenvalues lie between 0 and -Vo. So first find the lowest eigenvalue Eo by solving ferer(E) = 0 and your starting guess should be close to -Vo. To find the next eigenvalue Ej solve fodad(E) = 0 and your…
- Draw a Crow's feet ERD using the following information.Using Matlab. Monte Carlo methods are a class of computational methods that rely on repeated random sampling to compute their results. In this problem, you will use the Monte Carlo method to estimate the temperature at an arbitrary point in a uniform solid. Specifically, we will consider the solid object shown below. The temperatures of all surfaces are 500 des F with the exception of the two shaded surfaces, which are at 0 deg F. Inputs to the program should be: 1. The number of random walkers. 2. The (x,,2) coordinates of the point at which the temperature is to be estimated. 3. Plot interval (eg., you may want 1,000,000 random walkers in the simulation but may want to plot after every 10,000). Output from the program should be: 1. A graph of the estimated temperature, plotted according to the plot interval 2. Numerical value of the estimated temperature. USING MATLABIn the example below, the sum of the fourth powers of each digit that forms the 4-digit numbers gives the number itself: 1634 = 14 + 64 + 34 + 44 8208 = 84 + 24 + 04 + 84 9474 = 94 + 44 + 74 + 44 And sum of these numbers is 1634 + 8208 + 9474 = 19316. Find the sum of all numbers that can be written as the sum of the fifth forces of their numbers. (P.s.: You have to done it by C++)