I THINK THE ANSWER IS B BUT IM NOT SURE OK BYE
Answer:
a)We know that acceleration a=dv/dt
So dv/dt=kt^2
dv=kt^2dt
Integrating we get
v(t)=kt^3/3+C
Puttin t=0
-8=C
Putting t=2
8=8k/3-8
k=48/8
k=6
Answer:
I = 8.3 Amp
potential drop = 83 V
Explanation:
Power = 100 KW
V = 12,000 V
R = 10 ohms
a)
Calculate current I in each wire:
P = I*V
I = P / V
I = 100 / 12 = 8.333 A
b)
Calculate potential drop in each wire:
V = I*R
V = (8.3) * (10)
V = 83 V
Answer:
The following program is in C++.
#include <bits/stdc++.h>
using namespace std;
void lastChars(string s)
{
int l=s.length();
if(l!=0)
{
cout<<"The last character of the string is: "<<s[l-1];
}
}
int main() {
string s;//declaring a string..
getline(cin,s);//taking input of the string..
lastChars(s);//calling the function..
return 0;
}
Input:-
Alex is going home
Output:-
The last character of the string is: e
Explanation:
In the function lastChars() there is one argument that is a string.I have declared a integer variable l that stores the length of the string.If the length of the string is not 0.Then printing the last character of the string.In the main function I have called the function lastChars() with the string s that is prompted from the user.