Enter integer here: 5
. . . . 0 . . . .
. . . 0 0 0 . . .
. . 0 0 0 0 0 . .
. 0 0 0 0 0 0 0 .
0 0 0 0 0 0 0 0 0
. 0 0 0 0 0 0 0 .
. . 0 0 0 0 0 . .
. . . 0 0 0 . . .
. . . . 0 . . . .
can i get code for this please,
using for loop
In reality, if the selected pair for your group mate, do you think it is possible for their offspring to achieve the assigned trait to your group? Why do you think so?
Given two numbers X and Y, create a program that determines the difference between X and Y using if-else. If X - Y is negative, compute R = X + Y; if X - Y is zero, compute R = 2X + 2Y; and if X - Y is positive, compute R = X * Y. Print the values of X, Y, and R.
The utility function for a consumer utility is U=30Q1^½Q2^½. if the price per unit of Q1 is ksh 10 and ksh 5 per unit of Q2, determine quantities Q1 and Q2 that the consumer should have ti maximize utility if the consumer budgeted kdh 350
If dy/dx = y − x, y(0) = 1 2 . Use Modified Euler’s method with h = 0.1 to obtain an approximation to y(0.2).
The given differential equation (1-6y^2-3x^2y)
a) A woman who has won a prize is offered a lump sum of 100000 to invest now or 55000 to invest at the end of this year .If all investments are assumed to earn 7% per annum which should she choose if she wants to withdraw the money after
i) 4 years
2 years
1Which statement is NOT true regarding the sketch in SolidWorks?
a.Dimensional constraints and geometric constraints are common constraints in sketch.
b.The sketch is red if there is contradiction between constraints.
c.Both curved and planar surface can be a sketch plane for 2D entitles.
d.Base sketch is the first sketch used to form the base feature.
2Which feature must start with a 2D sketch?
a.Extrude
b.Mirror
c.Shell
d.Linear Pattern
3What is the number of instances to create 5 new copies of feature via Circular Pattern?
An e‐commerce company is planning to start a new automated order I'd generator system fo book orders. For this purpose a random steing consisting of only digits is only fed to the system. From this random number, the order I'd is generated as a string which is a concatenation of sum of digits at extreme left and extreme right position, then the sum of digits at second left and second last right position and so on,until there is no digit left for consideration. Where there is a single digit then add zero to it .write an algorithm to find the order I'd for the book order
Solution of differential equation p^ 2 +5p+6=0 is...