Answer:
a medical journal/study from a licenced doctor on a website with .org
Explanation:
most medical journals from licenced doctors have .org in the end and are trusted
Answer:
"Dedicated Infrastructure" is the appropriate answer.
Explanation:
- Straightforward business seems to be the primary justification to integrate AI with clouds. Such kind of approach can only authorize companies to buy stock whether they require that as well.
- The whole such methodology or technique enables an enterprise to exploit significant ambient intelligent development efficiency improvements.
A function that returns Pascal's Triangle with n rows:
//import necessary headers
public class Pascal_Triangle {
// calculate factorial
static int factorial(int n)
{
int fact = 1;
int i;
for(i=1; i<n; i++)
{
fact*=i;
}
return i;
}
// Actual code to display the //pascal triangle
static void display(int n)
{
int i;
int line;
for(line=1;line<=n;line++)
{
for(i=0;i<=line;i++)
{
System.out.print((factorial(line)/factorial(line-i) * factorial(i)) + " ");
}
System.out.println();
}
}
// To read user input
public static void main(String[] args){
BufferedReader breader=new BufferedReader(new InputStreamReader(System.in));
int n;
System.out.println("Enter the size for creating Pascal triangle");
try {
n = Integer.parseInt(breader.readLine());
}
catch(Exception e){
System.out.println("Please enter a valid Input");
return;
}
System.out.println("The Pascal's Triangle is");
display(n);
}
}
Answer:
1. Modified formulae for calculating tree height.
.
2. C++ program to calculate tree height.
#include<iostream>
#include<math.h>
using namespace std;
int
main ()
{
double treeHeight, shadowLenghth, angleElevation;
cout << "Please enter angle of elevation and shadow length" << endl;
cin >> angleElevation;
cin >> shadowLenghth;
//Modified formulae to calculate tree height.
treeHeight = tan (angleElevation) * shadowLenghth;
cout << "Height of tree is:" << treeHeight;
}
Output:
Please enter angle of elevation and shadow length
45
12
Height of tree is:19.4373
Explanation:
Since no programming language is mentioned, so solution is provided using C++.
In the above C++ program, first angle of elevation and length of shadow provided by user will be stored in variables angleElevation and shadowLength.
Then using the modified formalue height of tree will be calculated and stored in variable treeHeight. Final result is displayed to user.
Answer:
See explaination
Explanation:
clc;
clear all;
close all;
x=input(' choose abc or fgh or mno:','s');
to=input('enter intial fluid temperature in celcius:');
t1=input('enter time in minutes:');
ta=input('enter ambient temperature in celcius:');
abc=1;
fgh=2;
mno=3;
if x==1
k=0.01;
elseif x==2
k=0.03;
else
k=0.02;
end
t=ta+((to-ta)*exp((-k)*t1));
X = sprintf('%s has temp %f degrees celcius after %d minutes.',x,t,t1);
disp(X);