blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15 values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7 values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36 values | src_encoding stringclasses 17 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 5 10.4M | extension stringclasses 15 values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9971ebad2f0777b2a0e1c0d6f7a393bdb0edc83 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH9/EX9.10.1/example10_1.sce | b673fbbfcd115cfce20180e9a1bece56c373cb9b | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | example10_1.sce | errcatch(-1,"stop");mode(2);
syms x n;
u=1/(1+x^(-n));
v=1/(1+x^(-n-1));
disp(limit(u/v,n,0));
exit();
|
57bbd13761ef2afd78830a606ab09edca9b3678d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH19/EX19.3/19_3.sce | d69f7aa34169772519dfc7318c90a314e7f41305 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 19_3.sce | clc
//initialisation of variables
clear
H= -60.15 //kcal
e= 2.924 //volt
v= 23070 //cc
T= 25 //C
Sm= 15.2 //E.U.mole^-1
Sg= 31.2 //E.U.mole^-1
//CALCULATIONS
dS= (H*1000-(-e*v))/(273.2+T)
Sk= (dS+Sm)-0.5*Sg
//RESULTS
printf ('Stanadard entropy of pottasium ion = %.1f E.U.g ion^-1',Sk)
|
54af6ad3bf7fd18779b5056b213d11ca76737421 | bd9ba5abb6de1e9d9485b5e98b2b68868aab21db | /Lab/signal functions/unit-step signal/code.sce | 0b75964a884027000ccc9a2f0b2d54e6d7b62862 | [] | no_license | ShubhamRattra/Scilab_programs | c61b6538a064afe82c99507c1064cd55bbd870fa | de2bf6ab0de0b1a19c4903bb13819edc39f93d0e | refs/heads/master | 2023-03-04T17:53:58.414180 | 2021-02-11T08:08:11 | 2021-02-11T08:08:11 | 296,920,175 | 2 | 2 | null | 2021-01-11T15:53:39 | 2020-09-19T17:37:42 | Scilab | UTF-8 | Scilab | false | false | 101 | sce | code.sce | //unit-step signal
L = 10;
x2 = [zeros(1,L) ones(1,L+1)];
nx2 = -L:L;
subplot(2,2,2)
plot2d3(nx2,x2)
|
3f35c2f79873a591abf1fa6f56b3ac10262ca983 | 3e7d6484d3084180a51d47db5194a1ae3c5cd7cc | /thermistorTableGenerator.sce | 11b551bce3d5282fd978b53bba98ac9efacfd665 | [] | no_license | OUNAVCON/PythonScripts | ed1cf43822be0a4f48f400b268cb95af1be0ce45 | 501d293175a45dc3a8c3cf6a982ebcbf0df39021 | refs/heads/master | 2021-01-23T07:59:58.107618 | 2017-12-06T21:43:19 | 2017-12-06T21:43:19 | 86,469,643 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sce | thermistorTableGenerator.sce | close;
clear;
clc;
//R0 = 10000; //Old Thermistor
R0 = 32762; //Motor Thermistor
T0 = 25+273;
//beta = 3553; //Old Thermistor
beta = 4300; //Motor Thermsitor
R_lower = 10e3; //+/- 5%
Vs = 5;
ADC_RES = 2^12;
G = ADC_RES
T_MIN = -15;
T_MAX = 100;
NUM_POINTS = 16;
T_Delta = (T_MAX-T_MIN)/NUM_POINTS;
disp(T_Delta)
t = T_MIN:T_Delta:T_MAX
for i = 1:length(t)
T=t(i)+273;
R(i) = R0 * exp(-beta * (1/T0 - 1/T));
Vout(i) = (G*R_lower)/(R(i) + R_lower);
end
subplot(2,1,1);
plot(t,R);
subplot(2,1,2);
plot(t,Vout, '-*')
data = [];
for i = 1:length(Vout)-1
m(i) = (t(i+1) - t(i))/(Vout(i+1)-Vout(i))
y0(i) = t(i)
data($+1,:) = [int(Vout(i)), m(i), -y0(i)];
end
disp(data)
adc = 3030;
point = 10;
m = data(point,2);
x0 = data(point,1);
y0 = data(point,3);
Tout = (adc-x0)*m - y0
disp(Tout)
printf("data={");
for index = 1:length(data(:,1))
printf("{%d, %f, %f},\n", data(index,1), data(index,2), data(index,3) );
end
printf("};");
|
79adefb9000f34eb3e9018f5579688114a11a4fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH11/EX11.4/Example11_4.sce | e6fd716aae694c7c56bbc68d15a0254838361384 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Example11_4.sce | clear;
clc;
// Example: 11.4
// Page: 461
printf("Example: 11.4 - Page: 461\n\n");
// Solution
//*****Data******//
T_boiling = 118.24;// [OC]
Tb = T_boiling + 273;// [K]
a = 0.4344;// [g]
b = 44.16;// [g]
Lv = 121;// [cal/g]
T_new = 118.1;// [OC]
R = 2;// [cal/mol K]
//**************//
delta_Tb = T_boiling - T_new;// [OC]
M2 = (R*Tb^2/(1000*Lv))*(a*1000/(b*delta_Tb));
printf("Molecular weight of anthracene is %d kg/kmol",round(M2)); |
bdf4dae123fef6613b9d969ef2701ab35e8b5e98 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/calpol/detr.sci | c3c3b8868be00c9b739e30888a0f39f3aaf221e6 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sci | detr.sci | function [d]=detr(h)
//[d]=detr(h) computes de determinant of a polynomial or
//rational function matrix h using Leverrier's method
//!
// Copyright INRIA
h1=h(1);
if type(h)< 3 then
[m,n]=size(h);
if m<>n then error(20),end
f=eye(n,n);
for k=1:n-1,
b=h*f,
d=-sum(diag(b))/k
f=b+eye(n,n)*d,
end
d=-sum(diag(h*f))/n;
else //
if h1(1)<> 'r' then error(44),end
[m,n]=size(h(2));
if m<>n then error(20),end
f=eye(n,n);
for k=1:n-1,
b=h*f,
d=0;for l=1:n,d=d+b(l,l),end,d=-d/k;
f=b+eye(n,n)*d,
end
b=h*f;d=0;for l=1:n,d=d+b(l,l),end;d=-d/n;
end
if 2*int(n/2)<>n then d=-d;end
|
93aeec5d6480329bdfcb374e0bf158a1054942e3 | c0ea72a2b7f0d595aae5a90ccc20f711888f0001 | /GramSchmidt.sce | 835d6314901ed9d6857322f341f97ec5a1788360 | [
"Apache-2.0"
] | permissive | TANYA-CHAN/Linear-Algebra-Codes | 4e94e9e0ab066f07a514d1086645375d552d932b | 69a0a7c05f19702614f85620e9ea5c947c08f28a | refs/heads/main | 2023-04-14T22:58:10.479315 | 2021-04-22T17:55:13 | 2021-04-22T17:55:13 | 360,629,255 | 5 | 0 | Apache-2.0 | 2021-04-22T17:52:41 | 2021-04-22T17:32:03 | Scilab | UTF-8 | Scilab | false | false | 434 | sce | GramSchmidt.sce | //Apply the Gram – Schmidt process to the following set of vectors and find the orthogonal matrix: ( 1, 0, 1 ) , ( 1, 1, 0 ) , ( 2, 1,1)
clear;
clc;
close;
A=[1 0 1;1 1 0;2 1 1];
disp('A=',A);
[m,n]=size(A);
for k=1:n
V(:,k)=A(:,k);
for j=1:k-1
R(j,k)=V(:,j)'*A(:,k);
V(:,k)=V(:,k)-R(j,k)*V(:,j);
end
R(k,k)=norm(V(:,k));
V(:,k)=V(:,k)/R(k,k);
end
disp('Q=',V);
|
f55f1d89721fe09693595e5d35119337710c3b18 | 132b4ac959b21691290ffeefbc31eefe24500a25 | /a8/a8/test7.tst | 6481bf17b5354cdfa76606a32cf35ec566b7cad9 | [] | no_license | HanlonsStraightRazor/cs310 | df790b8c10b1ebb942313b4a620fd3ce655a075b | 0a053116659eb65ffacb9bf410774e31b17e8fbd | refs/heads/master | 2023-03-12T22:35:35.357502 | 2021-03-02T20:47:48 | 2021-03-02T20:47:48 | 343,901,992 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | tst | test7.tst | load Larc.hdl,
// with and w/o forwarding
set RAM4K[0] %X8101, // li R1 1 // 1.
set RAM4K[1] %X8202, // li R2 2 // 2.
set RAM4K[2] %X8303, // li R3 3 // 3.
set RAM4K[3] %X8404, // li R4 4 // 4.
set RAM4K[4] %X8505, // li R5 5 // 5. R1 <-- 1
set RAM4K[5] %X0661, // add R6 R6 R1 // 6. R2 <-- 2
set RAM4K[6] %X0662, // add R6 R6 R2 // 7. R3 <-- 3
set RAM4K[7] %X0663, // add R6 R6 R3 // 8. R4 <-- 4
set RAM4K[8] %X0664, // add R6 R6 R4 // 9. R5 <-- 5
set RAM4K[9] %X0665, // add R6 R6 R5 // 10. R6 <-- 1
set RAM4K[10] %XF000 // halt // 11. R6 <-- 3 R6 <-- 2
// 12. R6 <-- 6 R6 <-- 3
// 13. R6 <-- 10 R6 <-- 4
// 14. R6 <-- 15 R6 <-- 6
; // 15. halt
repeat 20 {
tick, tock;
}
|
64e0db69136e1057a7a4f938a1edc1619819813c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH10/EX10.22/10_22.sce | b020ee60c83c737031e524a8f174b7e1e2cdb80b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | 10_22.sce | //Chapter 10, Problem 22
clc
I=2.5e-3 //current in amperes
R=5000 //resistance in ohm
e1=0.4 //error tolerance
e2=0.5 //error tolerance
V=I*R
emax=e1+e2
V1=(emax/100)*V
printf("V = %.1f V\n accuracy = %.2f V\n",V,V1)
|
e5d3e4c46370adf4acafa9cfd4dfec623c3207d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH16/EX16.4/16_4.sci | e0dd28bc70b062a98f7ded81a55a9f630c7ba3d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sci | 16_4.sci | //16.4
clc;
Eph=400/(3^0.5);
printf("\nPhase voltage=%.2f V",Eph)
P_total=(3^0.5)*400*30*cosd(30)/1000;
printf("\nTotal power=%.2f kW",P_total) |
8f187e8a91f492e6d76b61934e88301605f710ba | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/lib.man.tst | 8fdb8a8cf8a936d6252cac07c156873b7e7cf1c4 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 84 | tst | lib.man.tst | clear;lines(0);
deff('[z]=myplus(x,y)','z=x+y')
deff('[z]=yourplus(x,y)','x=x-y')
|
6a49f28e4dba2f1183d03f02ac9760536bfac8b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH3/EX3.24/example3_24.sce | 321f325e3cd29b8f906848ddec6e147edcda53d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | example3_24.sce | clc
// Given that
theta = 11 // rotation of plane of polarization in degree
s = 66 // specific rotation of sugar solution in degree per decimeter per unit concentration
l = 2 // length of Polari meter in decimeter
// Sample Problem 24 on page no. 3.29
printf("\n # PROBLEM 24 # \n")
c = theta / (s * l) // calculation for concentration of sugar solution
printf("\n Standard formula used \n c = theta / (s * l). \n ")
printf("\n Concentration of sugar solution = %f gm/cc",c)
|
ed2017fbdcd108211c59b262f6f1eb1e96f52a9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH2/EX2.1/2_1.sce | ee417aa7bafde7f84b10dbcb9605eeb0ec59dacf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | 2_1.sce | clc
//initialisation of variables
l= 1.5418 //A
a= 19.076 //degrees
d2= 1.444 //A
//CALCULATIONS
d= l/(2*sind(a))
a= sqrt(8*d2^2)
//RESULTS
printf (' size of cubic unit cell = %.4f A',a)
|
cea9710fe937dcd0b7c57af45e000050b2cfbbed | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/CCW-ILS.tst | 18fab1059a013585bc1c50c314bc36f0eafbcc16 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 542 | tst | CCW-ILS.tst |
*Testcase CCW-ILS (CCW Incorrect Length Suppression)
# Prepare test environment
mainsize 1
numcpu 1
sysclear
archlvl z/Arch
detach 390
attach 390 3390 "$(testpath)/CCWILS.3390-1.comp-z"
loadcore "$(testpath)/CCW-ILS.core"
t+390 # (trace device CCWs)
o+390 # (trace device ORBs)
# Run the test...
runtest 0.25 # (plenty of time)
# Clean up afterwards
detach 390 # (no longer needed)
*Compare
r FFF.1
*Want "Ending test number" 03
*Done
|
635b911ea297c7b0a3e56871aa4d8fd557400814 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.9/EX9_9.sce | d713b3ee3231e8ae4d9f7a108c5362751dbe4c63 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 924 | sce | EX9_9.sce | clc;funcprot(0);//Example 9.9
//Initilisation of Variables
d=0.05;.....//
L=1;
A1a=d;.....//Length of side 1 for configeration 1
A2a=1.2*d;.....//Length iof side 2 for configeration 1
A3a=0.5*d;.....//Length iof side 3 for configeration 1
A2b=%pi*d*L;.....//Length iof side 2 for configeration 2
A1b=8*d*L;.....//Length of side 1 for configeration 2
A2c=d*L;.....//Length of side 2 for configeration 3
A1c=(%pi/2)*d*L;.....//Length of side 1 for configeration 3
//Calculations
F1_2a=(A1a+A2a-A3a)/(2*A1a);.....//Shape factor between side 1& 2 for configuration 1
F1_2b=(A2b/A1b)*L;.....//Shape factor between side 1& 2 for configuration 2
F1_2c=A2c/A1c;.....//Shape factor between side 1& 2 for configuration 3
disp(F1_2a,"Shape factor between side 1& 2 for configuration 1")
disp(F1_2b,"Shape factor between side 1& 2 for configuration 2")
disp(F1_2c,"Shape factor between side 1& 2 for configuration 3")
|
c0e3cf235315003ab784d5b15a7f1c3599adcc68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH5/EX5.5/Ex5_5.sce | ee3773d0608e8a5a8adf246dbec02f4ab23e9795 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | Ex5_5.sce | //Example 5.5
//To determine the period of 2 given cosine functions
clear,clc;
//y=cos(3*x)
multiple = 3; //multiplicity of angle
period_cosx = 2*%pi; //period of sin(x) in radians
required_period = period_cosx / multiple;
printf('Period of cos(3*x)is %f radians\n',required_period);
//y=cos(0.5*x)
multiple = 1/2; //multiplicity of angle
period_cosx = 2*%pi; //period of sin(x) in radians
required_period = period_cosx / multiple;
printf('Period of cos(x/2)is %f radians',required_period);
x = linspace(-0,4*%pi,200);
y = cos(3*x) ;
z = cos(x/2) ;
set(gca(),"grid",[4 4]);
plot(x,y,'r-');
plot(x,z,'b-');
xlabel("$0\le x\le 4*pi$","fontsize",4,"color","red");
title("Example 5.5","color","blue","fontsize",9);
legend(["y = cos(3x)";"y = cos(x/2)"]);
|
68578a94c942abb44d6510744d082f9f65135524 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH6/EX6.9/6_9.sce | d301ad82220b82ab3ddacb1d4bde919396dc2a63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | 6_9.sce | clc
//initialisation
r=8.32//j/mol/k
N=6.06*10^23
t=723
T=t+273
//calculations
ke=(3*r*T)/(2*N)
ke1=ke*N
//results
printf(' mean translational kinetic energy= % 1f J',ke1)
|
903526e86b4cea2f3cce40c8a524cba7d0215fe3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH14/EX14.14/105ex3.sce | 0eeabfc40fde411fbd0b2ede1573b42b7397ac4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | 105ex3.sce |
//4*x^2-17*x-15
clear;
clc;
close;
x=poly(0,'x');
p=4*x^2-17*x-15;
factors(p);
ans(2)=ans(2)*4;
disp(ans(1),ans(2),"the factors of 4*x^2-17*x-15 are")
|
727089f7c04a0a805214496e188f0bd4f2ca89e2 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/lpc.sci | 874796e5322763ae3d3bfd74bc2b457e849edadd | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,674 | sci | lpc.sci | function [a,g] = lpc(x,varargin)
// Linear prediction filter coefficients
//
//
// Calling Sequence
// [a,g] = lpc(x)
// [a,g] = lpc(x,p)
//
//
// Description
// [a,g] = lpc(x,p)
// Determines the coefficients of a pth order forward linear predictor
// filter by minimizing the squared error. If p is unspecified, a
// default value of length(x)-1 is used.
//
// Parameters
// x: double
// The input signal. If x is a matrix, each column in treated as an
// independent computation
// p: int, natural number, scalar
// The order of the linear prediction filter to be inferred. Value must
// be a scalar and a positive natural number. p must be less than or
// equal to the length of the signal vector
// a: double
// The coefficients of the forward linear predictor. Coefficient for
// each signal input is returned as a row vector.
// g: double
// Column vector of averaged square prediction error
//
//
// Examples
<<<<<<< HEAD
//noise = rand(50000,1,"normal");
//x = filter(1,[1 1/2 1/3 1/4],noise);
//x = x(45904:50000);
//[a,g]= lpc(x,3)
//est_x = filter([0 -a(2:$)],1,x);
//e = x-est_x;
//[acs,lags] = xcorr(e,'coeff');
//plot(1:97,x(4001:4097),1:97,est_x(4001:4097),'--');
//a = gca();
//a.grid = [1,1];
//title 'Original Signal vs. LPC Estimate';
//xlabel 'Sample number', ylabel 'Amplitude';
//legend('Original signal','LPC estimate');
//Output :
// g =
//
// 1.0117019
// a =
//
// 1. 0.51533 0.3313039 0.2783268
//
=======
// 1)
// noise = randn(20000,1);
// x = filter(1,[1 1/5 1/3 1/4],noise);
// x = x(15904:20000);
// [a,g] = lpc(x,3);
>>>>>>> 6bbb00d0f0128381ee95194cf7d008fb6504de7d
//
//
// References
// [1] Hayes, Monson H. Statistical digital signal processing and modeling.
// John Wiley & Sons, 2009, pg. 220
//
// See also
// aryule | levinson | prony | pyulear | stmcb
//
// Authors
// Ayush Baid
//
// ** Check on number of arguments **
[numOutArgs,numInArgs] = argn(0);
if numInArgs<1 | numInArgs>2 then
msg = "lpc: Wrong number of input argument; 1-2 expected";
error(77,msg);
end
if numOutArgs~=2 then
msg = "lpc: Wrong number of output argument; 2 expected";
error(78,msg);
end
// ** Parsing input arguments **
// 1) check on x
// check on dimensions
if size(x,1)==1 | size(x,2)==1 then
// x is a single signal
x = x(:); // converting to column vector
end
if ndims(x)>2 then
msg = "lpc: Wrong size for argument #1 (x): a vector or 2D matrix expected"
error(60,msg);
end
// check on data type
if type(x)==8 then
// convert int to double
x = double(x);
elseif type(x)~=1 then
msg = "lpc: Wrong type for argument #1 (x): Real or complex matrix expected";
error(53,msg);
end
if length(varargin)==0 then
p = size(x,1)-1;
else
p = varargin(1);
// 2) check on p
if length(p)~=1 then
msg = "lpc: Wrong size for argument #2 (p): Scalar expected";
error(60,msg);
end
if type(p)~=1 & type(p)~=8 then
msg = "lpc: Wrong type for argument #2 (p): Natural number expected";
error(53,msg);
end
if p~=round(p) | p<=0 then
msg = "lpc: Wrong type for argument #2 (p): Natural number expected";
error(53,msg);
end
if p>size(x,1) then
msg = "lpc: Wrong value for argument #2 (p): Must be less than or equal to the length of the signal vector";
error(53,msg);
end
if ~isreal(p) then
msg = "lpc: Wrong type for argument #2 (p): Real scalar expected";
error(53,msg);
end
end
num_signals = size(x,2);
// ** Processing **
N = size(x,1);
// zero pad x
x = [x; zeros(2^nextpow2(2*N-1)-N,size(x,2))];
X = fft(x,-1,1);
R = fft(abs(X).^2,1,1);
R = R./N; // Biased autocorrelation estimate
// change ieee mode to handle division by zero
ieee_prev = ieee();
ieee(2);
[a,g] = ld_recursion(R,p);
ieee(int(ieee_prev));
// filter coeffs should be real if input is real
for signal_idx=1:num_signals
if isreal(x(:,signal_idx)) then
a(signal_idx,:) = real(a(signal_idx,:));
end
end
endfunction
function [a,e] = ld_recursion(R,p)
// Solve for LP coefficients using Levinson-Derbin recursion
//
// Paramaters
// R: double
// Autocorrelation matrix where column corresponds to autocorrelation
// to be treated independently
// a: double
// Matrix where rows denote filter cofficients of the corresponding
// autocorrelation values
// e: double
// Column vector denoting error variance for each filter computation
num_filters = size(R,2);
// Initial filter (order 0)
a = zeros(num_filters,p+1);
a(:,1) = 1;
e = R(1,:).';
// Solving in a bottom-up fashion (low to high filter coeffs)
for m=1:p
k_m = -sum(a(:,m:-1:1).*R(2:m+1,:).',2)./e;
a(:,2:m+1) = a(:,2:m+1) + k_m(:,ones(1,m)).*conj(a(:,m:-1:1));
e = (1-abs(k_m).^2).*e;
end
endfunction
|
e1204b9a82ad1e7687116b1051a410331ff86ecd | 203d7b7e3792acb8e7ccf0ca6feda8dc5b70ce60 | /srcAmiga/modeler/arexx/fractal.sce | 02778d4d556384f5122a1a9245109ad4a817c9b7 | [
"MIT"
] | permissive | Kalamatee/RayStorm | 44e40882b5aff6fbefa3209bf6706cd402868dc3 | 1adb8f50478f795973aa51dcceb02682d671b41d | refs/heads/master | 2020-12-11T03:38:15.490729 | 2019-06-21T15:32:22 | 2019-06-21T15:32:22 | 37,782,719 | 4 | 0 | null | 2015-06-20T19:22:47 | 2015-06-20T19:22:47 | null | UTF-8 | Scilab | false | false | 968 | sce | fractal.sce | /*
* Simple Scenario ARexx script which creates a fractal object
* made of spheres.
* Change maxiterations to alter the iteration depth
*/
signal on error
options results
address SCENARIO.1
maxiterations = 3
iter = 0
CALL create 0,0,0,1,0,iter
EXIT 0
/*--------------*/
/* recursive function which creates the spheres */
/*--------------*/
create: PROCEDURE EXPOSE maxiterations
PARSE ARG x,y,z,size,from,iter
iter=iter+1
if iter > maxiterations then
RETURN
'CREATEOBJECT SPHERE'
'SETOBJECTPOS <' || x || ',' || y || ',' || z || '>'
'SETOBJECTSIZE <'size','size','size'>'
if from ~= 2 then
CALL create x+size*1.5,y,z,size*0.5,1,iter
if from ~= 1 then
CALL create x-size*1.5,y,z,size*0.5,2,iter
if from ~= 4 then
CALL create x,y+size*1.5,z,size*0.5,3,iter
if from ~= 3 then
CALL create x,y-size*1.5,z,size*0.5,4,iter
if from ~= 6 then
CALL create x,y,z+size*1.5,size*0.5,5,iter
if from ~= 5 then
CALL create x,y,z-size*1.5,size*0.5,6,iter
RETURN
|
d7fb4aecd90f08e08d43d5ca5fae684a90e562b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH8/EX8.4/exp8_4ff.sce | ce00a5d6b9a3a9361e0758a5d4e57505b9636ca0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | exp8_4ff.sce | clear
clc
disp("example 8.4")
flow=[1500 1000 500 500 500 1200 2900 2900 1000 400 600 1600]
cod=1000//constant demand
[m n]=size(flow)
mf(1)=1500
for i=2:n
mf(i)=mf(i-1)+flow(i)
end
plot(mf)
dd=1:cod:mf(n)
avg=sum(flow)/12
if cod<avg then
for x=1:6
t=flow(1,x)
if t>cod|t==avg then
t=0
else
t=cod-t
end
flow1(1,x)=t;
end
else
for x=1:12
t=flow(1,x)
a=cod
if t>a|t==avg then
t=0
else
t=t-cod
end
flow1(1,x)=t;
end
end
sto=sum(flow1)
printf("storage capacity of plant is %dsec-m-month",sto)
|
4d612f538f7a44756e226386330aae6fd2be409c | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/LIBC2.tst | 161c29e7b127499b56af0bcd4bff1744d91d1fee | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 160,598 | tst | LIBC2.tst | -- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r strtol strtoul
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
--
-- Unit: abort1
-- Subprogram: abort1
-- Test Case: abort1
TEST.UNIT:abort1
TEST.SUBPROGRAM:abort1
TEST.NEW
TEST.NAME:abort1
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while 1 ==> TRUE
Test Case Generation Notes:
Only one possible value for condition in branch 1
TEST.END_NOTES:
TEST.END
-- Unit: abs
-- Subprogram: abs
-- Test Case: abs.001
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs.001
TEST.VALUE:abs.abs.j:0
TEST.EXPECTED:abs.abs.return:0
TEST.END
-- Test Case: abs2
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs2
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (j < 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:abs.abs.j:<<MAX>>
TEST.EXPECTED:abs.abs.return:<<MAX>>
TEST.END
-- Test Case: abs3
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs3
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (j < 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:abs.abs.j:<<MIN>>
TEST.EXPECTED:abs.abs.return:<<MIN>>
TEST.END
-- Unit: atof
-- Subprogram: atof
-- Test Case: atof
TEST.UNIT:atof
TEST.SUBPROGRAM:atof
TEST.NEW
TEST.NAME:atof
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:atof.atof.ascii:<<malloc 1>>
TEST.EXPECTED:atof.atof.return:0.0
TEST.END
-- Unit: atoi
-- Subprogram: atoi
-- Test Case: atoi
TEST.UNIT:atoi
TEST.SUBPROGRAM:atoi
TEST.NEW
TEST.NAME:atoi
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.STUB:strtol.strtol
TEST.VALUE:atoi.atoi.str:<<malloc 1>>
TEST.VALUE:atoi.atoi.str[0]:0xB
TEST.VALUE:strtol.strtol.return:11
TEST.EXPECTED:atoi.atoi.return:11
TEST.END
-- Unit: atol
-- Subprogram: atol
-- Test Case: atol1
TEST.UNIT:atol
TEST.SUBPROGRAM:atol
TEST.NEW
TEST.NAME:atol1
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:atol.atol.str:<<malloc 1>>
TEST.EXPECTED:atol.atol.return:0
TEST.END
-- Unit: bLib
-- Subprogram: bcmp
-- Test Case: bcmp1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (nbytes == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.buf1:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.buf2:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.nbytes:0
TEST.EXPECTED:bLib.bcmp.return:0
TEST.END
-- Test Case: bcmp2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (nbytes == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.buf1:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.buf2:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.nbytes:1
TEST.EXPECTED:bLib.bcmp.return:0
TEST.END
-- Test Case: bcmp3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (nbytes == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--nbytes == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--nbytes) in branch 3
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.buf1:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.buf2:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.nbytes:5
TEST.EXPECTED:bLib.bcmp.return:0
TEST.END
-- Test Case: bcmp4
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp4
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (nbytes == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--nbytes == (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--nbytes) in branch 3
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.nbytes:3
TEST.EXPECTED:bLib.bcmp.return:-3
TEST.VALUE_USER_CODE:bLib.bcmp.buf1
<<bLib.bcmp.buf1>> = ( "123" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcmp.buf2
char str[3]={0xc};
char *p2=str;
<<bLib.bcmp.buf2>> = ( "456" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopy
-- Test Case: bcopy.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopy
TEST.NEW
TEST.NAME:bcopy.001
TEST.VALUE:bLib.bcopy.nbytes:3
TEST.VALUE_USER_CODE:bLib.bcopy.source
<<bLib.bcopy.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopy.destination
<<bLib.bcopy.destination>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.bcopy.destination
{{ <<bLib.bcopy.destination>> == ( "abc" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Test Case: bcopy2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopy
TEST.NEW
TEST.NAME:bcopy2
TEST.BASIS_PATH:2 of 10
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if ((size_t)(dst - src) >= nbytes) ==> FALSE
(6) if (nbytes < (2) * sizeof(long) - (1) || ((long)dst ^ (long)src) & sizeof(long) - (1)) ==> TRUE
(9) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable dst in branch 6
Cannot set local variable src in branch 6
Cannot set dst due to assignment
TEST.END_NOTES:
TEST.VALUE:bLib.bcopy.nbytes:0
TEST.VALUE_USER_CODE:bLib.bcopy.source
<<bLib.bcopy.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopy.destination
<<bLib.bcopy.destination>> = ( "cde" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopy3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopy
TEST.NEW
TEST.NAME:bcopy3
TEST.BASIS_PATH:3 of 10
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if ((size_t)(dst - src) >= nbytes) ==> FALSE
(6) if (nbytes < (2) * sizeof(long) - (1) || ((long)dst ^ (long)src) & sizeof(long) - (1)) ==> FALSE
(7) while ((long)dst & sizeof(long) - (1)) ==> FALSE
(8) while ((char *)dstl != dsttmp) ==> FALSE
(9) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable dst in branch 6
Cannot set local variable src in branch 6
Cannot set dst due to assignment
Cannot set dst due to assignment
Cannot set dsttmp due to assignment
Cannot set dst due to assignment
TEST.END_NOTES:
TEST.VALUE:bLib.bcopy.nbytes:9
TEST.VALUE_USER_CODE:bLib.bcopy.source
char cc[]="abcd";
<<bLib.bcopy.source>> = ( cc );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopy.destination
long a[1024];
char * p=a;
p=p+5;
<<bLib.bcopy.destination>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyBytes
-- Test Case: bcopybyte3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybyte3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyBytes.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyBytes.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyBytes.nbytes:<<MAX>>
TEST.END
-- Test Case: bcopybytes1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybytes1
TEST.BASIS_PATH:4 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> TRUE
(3) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set variable to unknown value in branch 3
Cannot set dstend due to assignment
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyBytes.nbytes:<<MIN>>
TEST.EXPECTED:bLib.bcopyBytes.nbytes:0
TEST.VALUE_USER_CODE:bLib.bcopyBytes.source
<<bLib.bcopyBytes.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyBytes.destination
<<bLib.bcopyBytes.destination>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopybytes2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybytes2
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyBytes.nbytes:3
TEST.VALUE_USER_CODE:bLib.bcopyBytes.source
<<bLib.bcopyBytes.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyBytes.destination
<<bLib.bcopyBytes.destination>> = ( "qwe" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.bcopyBytes.destination
{{ <<bLib.bcopyBytes.destination>> == ( "abc" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Test Case: bcopybytes3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybytes3
TEST.VALUE:bLib.bcopyBytes.nbytes:10
TEST.VALUE_USER_CODE:bLib.bcopyBytes.source
<<bLib.bcopyBytes.source>> = ( "ABC" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyBytes.destination
<<bLib.bcopyBytes.destination>> = ( "EFD" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyLongs
-- Test Case: bcopylongs1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyLongs
TEST.NEW
TEST.NAME:bcopylongs1
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set dst due to assignment
Cannot set local variable dst in branch 4
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyLongs.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyLongs.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyLongs.nlongs:<<MIN>>
TEST.END
-- Test Case: bcopylongs2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyLongs
TEST.NEW
TEST.NAME:bcopylongs2
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyLongs.nlongs:3
TEST.VALUE_USER_CODE:bLib.bcopyLongs.source
<<bLib.bcopyLongs.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyLongs.destination
<<bLib.bcopyLongs.destination>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopylongs2.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyLongs
TEST.NEW
TEST.NAME:bcopylongs2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyLongs.nlongs:1
TEST.VALUE_USER_CODE:bLib.bcopyLongs.source
<<bLib.bcopyLongs.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyLongs.destination
<<bLib.bcopyLongs.destination>> = ( "aaaaaaaaaaaaaaaaaaaaaaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyQuads
-- Test Case: bcopyquads1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyQuads
TEST.NEW
TEST.NAME:bcopyquads1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyQuads.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyQuads.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyQuads.nquads:<<MIN>>
TEST.END
-- Test Case: bcopyquads2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyQuads
TEST.NEW
TEST.NAME:bcopyquads2
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyQuads.nquads:3
TEST.VALUE_USER_CODE:bLib.bcopyQuads.source
<<bLib.bcopyQuads.source>> = ( "abcdefgh" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyQuads.destination
<<bLib.bcopyQuads.destination>> = ( "higklmn" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopyquads3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyQuads
TEST.NEW
TEST.NAME:bcopyquads3
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set dst due to assignment
Cannot set local variable dst in branch 4
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyQuads.nquads:1
TEST.VALUE_USER_CODE:bLib.bcopyQuads.source
<<bLib.bcopyQuads.source>> = ( "dtdhgdhgdghdh56745342545455768gda" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyQuads.destination
<<bLib.bcopyQuads.destination>> = ( "1dfdfgdfgdfgdgdgfd2" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyWords
-- Test Case: bcopywords1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyWords
TEST.NEW
TEST.NAME:bcopywords1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyWords.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyWords.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyWords.nwords:<<MIN>>
TEST.END
-- Test Case: bcopywords2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyWords
TEST.NEW
TEST.NAME:bcopywords2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set dst due to assignment
Cannot set local variable dst in branch 4
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyWords.nwords:3
TEST.VALUE_USER_CODE:bLib.bcopyWords.source
<<bLib.bcopyWords.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyWords.destination
<<bLib.bcopyWords.destination>> = ( "efg" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopyworlds3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyWords
TEST.NEW
TEST.NAME:bcopyworlds3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyWords.nwords:1
TEST.VALUE_USER_CODE:bLib.bcopyWords.source
<<bLib.bcopyWords.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyWords.destination
<<bLib.bcopyWords.destination>> = ( "aaaaaaaaaaaaaaaaaaaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bfill
-- Test Case: bfill.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill.001
TEST.VALUE:bLib.bfill.nbytes:<<MAX>>
TEST.VALUE:bLib.bfill.ch:92
TEST.VALUE_USER_CODE:bLib.bfill.buf
<<bLib.bfill.buf>> = ( "aa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfill1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill1
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (nbytes < (2) * sizeof(long) - (1)) ==> TRUE
(4) while (bufc != bufend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable bufend in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bfill.nbytes:10
TEST.VALUE_USER_CODE:bLib.bfill.buf
long a[1024];
char * p= a;
p++;
<<bLib.bfill.buf>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfill.ch
<<bLib.bfill.ch>> = ( "c" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfill2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (nbytes < (2) * sizeof(long) - (1)) ==> TRUE
(4) while (bufc != bufend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable bufend in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bfill.nbytes:0
TEST.VALUE_USER_CODE:bLib.bfill.buf
<<bLib.bfill.buf>> = ( "a\0" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfill.ch
<<bLib.bfill.ch>> = ( "c" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfill3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill3
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (nbytes < (2) * sizeof(long) - (1)) ==> TRUE
(4) while (bufc != bufend) ==> FALSE
Test Case Generation Notes:
Cannot set variable to unknown value in branch 4
Cannot set local variable bufend in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bfill.nbytes:5
TEST.VALUE_USER_CODE:bLib.bfill.buf
<<bLib.bfill.buf>> = ( "b" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfill.ch
<<bLib.bfill.ch>> = ( "a" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bfillBytes
-- Test Case: bfillbytes
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfillBytes
TEST.NEW
TEST.NAME:bfillbytes
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (bufc != bufend) ==> FALSE
Test Case Generation Notes:
Cannot set variable to unknown value in branch 1
Cannot set local variable bufend in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bfillBytes.nbytes:2
TEST.VALUE_USER_CODE:bLib.bfillBytes.buf
<<bLib.bfillBytes.buf>> = ( "ee" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfillBytes.ch
<<bLib.bfillBytes.ch>> = ( "a" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfillbytes.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfillBytes
TEST.NEW
TEST.NAME:bfillbytes.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (bufc != bufend) ==> FALSE
Test Case Generation Notes:
Cannot set variable to unknown value in branch 1
Cannot set local variable bufend in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bfillBytes.nbytes:<<MAX>>
TEST.VALUE_USER_CODE:bLib.bfillBytes.buf
<<bLib.bfillBytes.buf>> = ( "ee" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfillBytes.ch
<<bLib.bfillBytes.ch>> = ( "a" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.bfillBytes.buf
{{ <<bLib.bfillBytes.buf>> == ( "eeaa" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Subprogram: binvert
-- Test Case: binvert1
TEST.UNIT:bLib
TEST.SUBPROGRAM:binvert
TEST.NEW
TEST.NAME:binvert1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (bufc < buf_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.binvert.buf:VECTORCAST_INT1
TEST.VALUE:bLib.binvert.nbytes:1
TEST.END
-- Test Case: binvert2
TEST.UNIT:bLib
TEST.SUBPROGRAM:binvert
TEST.NEW
TEST.NAME:binvert2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (bufc < buf_end) ==> TRUE
Test Case Generation Notes:
Cannot set local variable buf_end in branch 2
Cannot set local variable buf_end in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.binvert.buf:VECTORCAST_INT1
TEST.VALUE:bLib.binvert.nbytes:5
TEST.END
-- Subprogram: bswap
-- Test Case: bswap1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bswap
TEST.NEW
TEST.NAME:bswap1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (nbytes >= (1)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.bswap.nbytes:2
TEST.VALUE_USER_CODE:bLib.bswap.buf1
<<bLib.bswap.buf1>> = ( "ab" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bswap.buf2
<<bLib.bswap.buf2>> = ( "cd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bswap2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bswap
TEST.NEW
TEST.NAME:bswap2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (nbytes >= (1)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.bswap.nbytes:0
TEST.EXPECTED:bLib.bswap.nbytes:0
TEST.END
-- Subprogram: bzero
-- Test Case: bzero1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bzero
TEST.NEW
TEST.NAME:bzero1
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:bLib.bzero.buffer:VECTORCAST_INT1
TEST.VALUE:bLib.bzero.nbytes:<<MIN>>
TEST.END
-- Subprogram: index
-- Test Case: index1
TEST.UNIT:bLib
TEST.SUBPROGRAM:index
TEST.NEW
TEST.NAME:index1
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((ch = *(s++)) != c && ch != 0) ==> FALSE
(2) if (ch == 0 && c != 0) ==> TRUE
Test Case Generation Notes:
Cannot set local variable ch in branch 1
Cannot set local variable ch in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.index.s:<<malloc 4>>
TEST.VALUE:bLib.index.s:"abc"
TEST.EXPECTED:bLib.index.return:"c"
TEST.VALUE_USER_CODE:bLib.index.c
<<bLib.index.c>> = ( 'c' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: index2
TEST.UNIT:bLib
TEST.SUBPROGRAM:index
TEST.NEW
TEST.NAME:index2
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while ((ch = *(s++)) != c && ch != 0) ==> TRUE
(2) if (ch == 0 && c != 0) ==> FALSE
Test Case Generation Notes:
Cannot set local variable ch in branch 1
Cannot set local variable ch in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.index.s:<<malloc 4>>
TEST.VALUE:bLib.index.s:"abc"
TEST.EXPECTED:bLib.index.return:<<null>>
TEST.VALUE_USER_CODE:bLib.index.c
<<bLib.index.c>> = ( 'd' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: index3
TEST.UNIT:bLib
TEST.SUBPROGRAM:index
TEST.NEW
TEST.NAME:index3
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((ch = *(s++)) != c && ch != 0) ==> FALSE
(2) if (ch == 0 && c != 0) ==> FALSE
Test Case Generation Notes:
Cannot set local variable ch in branch 1
Cannot set local variable ch in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.index.s:<<malloc 1>>
TEST.VALUE:bLib.index.s[0]:0x0
TEST.VALUE:bLib.index.c:0
TEST.END
-- Subprogram: rindex2
-- Test Case: rindex21
TEST.UNIT:bLib
TEST.SUBPROGRAM:rindex2
TEST.NEW
TEST.NAME:rindex21
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:bLib.rindex2.s:<<malloc 4>>
TEST.VALUE:bLib.rindex2.s:"abc"
TEST.EXPECTED:bLib.rindex2.return:"abc"
TEST.VALUE_USER_CODE:bLib.rindex2.c
<<bLib.rindex2.c>> = ( 'a' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: rindex22
TEST.UNIT:bLib
TEST.SUBPROGRAM:rindex2
TEST.NEW
TEST.NAME:rindex22
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:bLib.rindex2.s:<<malloc 5>>
TEST.VALUE:bLib.rindex2.s:"abcd"
TEST.EXPECTED:bLib.rindex2.return:<<null>>
TEST.VALUE_USER_CODE:bLib.rindex2.c
<<bLib.rindex2.c>> = ( 'f' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: swab
-- Test Case: swab1
TEST.UNIT:bLib
TEST.SUBPROGRAM:swab
TEST.NEW
TEST.NAME:swab1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) for (dst < dst_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.swab.nbytes:2
TEST.EXPECTED:bLib.swab.nbytes:2
TEST.VALUE_USER_CODE:bLib.swab.source
<<bLib.swab.source>> = ( "ab" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.swab.destination
<<bLib.swab.destination>> = ( "cd" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.swab.source
{{ <<bLib.swab.source>> == ( "cd" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.swab.destination
{{ <<bLib.swab.destination>> == ( "ab" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Test Case: swab2
TEST.UNIT:bLib
TEST.SUBPROGRAM:swab
TEST.NEW
TEST.NAME:swab2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) for (dst < dst_end) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.swab.nbytes:0
TEST.EXPECTED:bLib.swab.nbytes:0
TEST.VALUE_USER_CODE:bLib.swab.source
<<bLib.swab.source>> = ( "ab" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.swab.destination
<<bLib.swab.destination>> = ( "cd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: uswab
-- Test Case: uswab2
TEST.UNIT:bLib
TEST.SUBPROGRAM:uswab
TEST.NEW
TEST.NAME:uswab2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (dst < dst_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.uswab.nbytes:3
TEST.VALUE_USER_CODE:bLib.uswab.source
<<bLib.uswab.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.uswab.destination
<<bLib.uswab.destination>> = ( "efd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: uswab2.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:uswab
TEST.NEW
TEST.NAME:uswab2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (dst < dst_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.uswab.nbytes:2
TEST.VALUE_USER_CODE:bLib.uswab.source
<<bLib.uswab.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.uswab.destination
<<bLib.uswab.destination>> = ( "efd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: memchr
-- Subprogram: memchr
-- Test Case: memchr.001
TEST.UNIT:memchr
TEST.SUBPROGRAM:memchr
TEST.NEW
TEST.NAME:memchr.001
TEST.VALUE:memchr.memchr.n:3
TEST.VALUE_USER_CODE:memchr.memchr.m
<<memchr.memchr.m>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memchr.memchr.c
<<memchr.memchr.c>> = ( 'a' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memchr.002
TEST.UNIT:memchr
TEST.SUBPROGRAM:memchr
TEST.NEW
TEST.NAME:memchr.002
TEST.VALUE:memchr.memchr.n:3
TEST.VALUE_USER_CODE:memchr.memchr.m
<<memchr.memchr.m>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memchr.memchr.c
<<memchr.memchr.c>> = ( 'e' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memchr1
TEST.UNIT:memchr
TEST.SUBPROGRAM:memchr
TEST.NEW
TEST.NAME:memchr1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n != (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:memchr.memchr.m:VECTORCAST_INT1
TEST.VALUE:memchr.memchr.c:<<MIN>>
TEST.VALUE:memchr.memchr.n:0
TEST.VALUE:memchr.memchr.return:VECTORCAST_INT1
TEST.EXPECTED_USER_CODE:memchr.memchr.return
{{ <<memchr.memchr.return>> == ( NULL ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Unit: memcmp
-- Subprogram: memcmp
-- Test Case: memcmp1
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.s1:VECTORCAST_INT1
TEST.VALUE:memcmp.memcmp.s2:VECTORCAST_INT1
TEST.VALUE:memcmp.memcmp.n:0
TEST.EXPECTED:memcmp.memcmp.return:0
TEST.END
-- Test Case: memcmp2
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:-1
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "acd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memcmp2.001
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:1
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "acc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "acb" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memcmp3
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--n == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:0
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memcmp4
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp4
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--n == (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:0
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "abc1234" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: memcpy
-- Subprogram: memcpy
-- Test Case: memcpy
TEST.UNIT:memcpy
TEST.SUBPROGRAM:memcpy
TEST.NEW
TEST.NAME:memcpy
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memcpy.memcpy.destination:VECTORCAST_BUFFER
TEST.VALUE:memcpy.memcpy.size:10
TEST.VALUE_USER_CODE:memcpy.memcpy.source
<<memcpy.memcpy.source>> = ( "bed" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: memmove
-- Subprogram: memmove
-- Test Case: memmove
TEST.UNIT:memmove
TEST.SUBPROGRAM:memmove
TEST.NEW
TEST.NAME:memmove
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memmove.memmove.destination:VECTORCAST_INT1
TEST.VALUE:memmove.memmove.source:VECTORCAST_INT1
TEST.VALUE:memmove.memmove.size:<<MIN>>
TEST.END
-- Unit: memset
-- Subprogram: memset
-- Test Case: BASIS-PATH-001
TEST.UNIT:memset
TEST.SUBPROGRAM:memset
TEST.NEW
TEST.NAME:BASIS-PATH-001
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memset.memset.c:0
TEST.VALUE:memset.memset.size:3
TEST.VALUE_USER_CODE:memset.memset.m
<<memset.memset.m>> = ( "aaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: BASIS-PATH-001.001
TEST.UNIT:memset
TEST.SUBPROGRAM:memset
TEST.NEW
TEST.NAME:BASIS-PATH-001.001
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memset.memset.c:0
TEST.VALUE:memset.memset.size:3000
TEST.VALUE_USER_CODE:memset.memset.m
<<memset.memset.m>> = ( "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memset.001
TEST.UNIT:memset
TEST.SUBPROGRAM:memset
TEST.NEW
TEST.NAME:memset.001
TEST.VALUE:memset.memset.c:92
TEST.VALUE:memset.memset.size:3529
TEST.VALUE_USER_CODE:memset.memset.m
<<memset.memset.m>> = ( "ad");
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: ns16550
-- Subprogram: ns16550DevInit
-- Test Case: Devinit
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550DevInit
TEST.NEW
TEST.NAME:Devinit
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.writeb
TEST.VALUE:ns16550.<<GLOBAL>>.siodev:<<malloc 1>>
TEST.END
-- Subprogram: ns16550InputChar
-- Test Case: inputchar1
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550InputChar
TEST.NEW
TEST.NAME:inputchar1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((readb(&(siodev->lsr)) & 0x1) == 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.VALUE:uut_prototype_stubs.readb.return:1
TEST.VALUE:ns16550.<<GLOBAL>>.siodev:<<malloc 1>>
TEST.EXPECTED:ns16550.ns16550InputChar.return:\1
TEST.END
-- Test Case: inputchar2
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550InputChar
TEST.NEW
TEST.NAME:inputchar2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((readb(&(siodev->lsr)) & 0x1) == 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.VALUE:uut_prototype_stubs.readb.return:0
TEST.EXPECTED:ns16550.ns16550InputChar.return:\0
TEST.END
-- Subprogram: ns16550OutputChar
-- Test Case: outputchar1
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550OutputChar
TEST.NEW
TEST.NAME:outputchar1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((readb(&(siodev->lsr)) & 0x20) == 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.STUB:uut_prototype_stubs.writeb
TEST.VALUE:uut_prototype_stubs.readb.return:32
TEST.STUB_EXP_USER_CODE:uut_prototype_stubs.writeb.val
{{ <<uut_prototype_stubs.writeb.val>> == ( 'A' ) }}
TEST.END_STUB_EXP_USER_CODE:
TEST.VALUE_USER_CODE:ns16550.ns16550OutputChar.c
<<ns16550.ns16550OutputChar.c>> = ( 'A' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: outputchar2
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550OutputChar
TEST.NEW
TEST.NAME:outputchar2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((readb(&(siodev->lsr)) & 0x20) == 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.STUB:uut_prototype_stubs.writeb
TEST.VALUE:uut_prototype_stubs.readb.return:0
TEST.STUB_EXP_USER_CODE:uut_prototype_stubs.writeb.val
{{ <<uut_prototype_stubs.writeb.val>> == ( 'B' ) }}
TEST.END_STUB_EXP_USER_CODE:
TEST.VALUE_USER_CODE:ns16550.ns16550OutputChar.c
<<ns16550.ns16550OutputChar.c>> = ( 'B' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: ns16550SioInit
-- Test Case: IOinit
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550SioInit
TEST.NEW
TEST.NAME:IOinit
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.STUB:ns16550.ns16550DevInit
TEST.END
-- Unit: qsort
-- Subprogram: med3
-- Test Case: med31
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med31
TEST.BASIS_PATH:1 of 6
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"a"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"b"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"c"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med32
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med32
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"b"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"a"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"c"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med33
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med33
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"a"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"c"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"b"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med34
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med34
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"c"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"a"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"b"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med35
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med35
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"c"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"b"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"a"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med36
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med36
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"b"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"c"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"a"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: qsort
-- Test Case: qsort1
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort1
TEST.BASIS_PATH:1 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:41
TEST.VALUE:qsort.qsort.es:4
TEST.EXPECTED:qsort.qsort.n:41
TEST.EXPECTED:qsort.qsort.es:4
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "zzzzzxxxxxcccccaaaaasssssdddddeeeeeqqqqqwwwwwaaaaabbbbb" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort10
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort10
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:43
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:43
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[100]={"z","s","z","s","z","s","a","a","a","f","f","f","a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s","z","s","z","s"};
char *p=a;
<<qsort.qsort.a>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort11.001
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort11.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:41
TEST.VALUE:qsort.qsort.es:4
TEST.EXPECTED:qsort.qsort.n:41
TEST.EXPECTED:qsort.qsort.es:4
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[100]={"z","s","z","s","z","s","a","a","a","f","f","f","a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s"};
char *p=a;
<<qsort.qsort.a>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort2
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort2
TEST.VALUE:qsort.qsort.n:6
TEST.VALUE:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "abced" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort3
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort3
TEST.BASIS_PATH:2 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> TRUE
(5) for (pl > (char *)a && cmp(pl - es, pl) > 0) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:3
TEST.VALUE:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "aecbzyxvub" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort4
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort4
TEST.BASIS_PATH:4 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> TRUE
(5) for (pl > (char *)a && cmp(pl - es, pl) > 0) ==> TRUE
(6) if (swaptype == 0) ==> TRUE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
Cannot set swaptype due to assignment
Cannot set local variable pl in branch 7
Cannot set local variable pl in branch 7
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.a:<<null>>
TEST.VALUE:qsort.qsort.n:<<MIN>>
TEST.VALUE:qsort.qsort.es:<<MIN>>
TEST.END
-- Test Case: qsort5
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort5
TEST.BASIS_PATH:28 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 28
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> TRUE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.a:VECTORCAST_INT1
TEST.VALUE:qsort.qsort.n:<<MIN>>
TEST.VALUE:qsort.qsort.es:4
TEST.END
-- Test Case: qsort6
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort6
TEST.VALUE:qsort.qsort.n:3
TEST.VALUE:qsort.qsort.es:4
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[3]={"a","b","c"};
char *p=a+1;
<<qsort.qsort.a>> = ( p);
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort7
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort7
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:44
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:44
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[100]={"z","s","z","s","z","s","a","a","a","f","f","f","a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s"};
char *p=a;
<<qsort.qsort.a>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort8
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort8
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:41
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:41
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "ABCDEFGHIGKLMNOPQRSTUVWXYZabcdefghigklmnopqrstuvwxyz" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort9
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort9
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:20
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:20
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "abcdefghijklmn" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: swapfunc
-- Test Case: swapfunc1
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (swaptype <= 1) ==> FALSE
(3) while (--i > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 3
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.a:"aaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.b:"bbb"
TEST.VALUE:qsort.swapfunc.n:3
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"bbb"
TEST.EXPECTED:qsort.swapfunc.b:"aaa"
TEST.END
-- Test Case: swapfunc1.001
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc1.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (swaptype <= 1) ==> FALSE
(3) while (--i > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 3
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.a:"aaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.b:"bbb"
TEST.VALUE:qsort.swapfunc.n:0
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"bbb"
TEST.EXPECTED:qsort.swapfunc.b:"aaa"
TEST.END
-- Test Case: swapfunc11
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc11
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (swaptype <= 1) ==> FALSE
(3) while (--i > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 3
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.a:"aaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.b:"bbb"
TEST.VALUE:qsort.swapfunc.n:1
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"baa"
TEST.EXPECTED:qsort.swapfunc.b:"abb"
TEST.END
-- Test Case: swapfunc2
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc2
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (swaptype <= 1) ==> TRUE
(2) while (--i > (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 2
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.a:"aaaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.b:"bbbb"
TEST.VALUE:qsort.swapfunc.n:12
TEST.VALUE:qsort.swapfunc.swaptype:1
TEST.EXPECTED:qsort.swapfunc.a:"bbbb"
TEST.EXPECTED:qsort.swapfunc.b:"aaaa"
TEST.END
-- Test Case: swapfunc2.001
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (swaptype <= 1) ==> TRUE
(2) while (--i > (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 2
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.a:"aaaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.b:"bbbb"
TEST.VALUE:qsort.swapfunc.n:1
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"baaa"
TEST.EXPECTED:qsort.swapfunc.b:"abbb"
TEST.END
-- Unit: rand
-- Subprogram: rand
-- Test Case: rand
TEST.UNIT:rand
TEST.SUBPROGRAM:rand
TEST.NEW
TEST.NAME:rand
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.END
-- Unit: random
-- Subprogram: __random
-- Test Case: random
TEST.UNIT:random
TEST.SUBPROGRAM:__random
TEST.NEW
TEST.NAME:random
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.END
-- Unit: random_r
-- Subprogram: __random_r
-- Test Case: __random_r.001
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:__random_r.001
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.return:0
TEST.VALUE_USER_CODE:random_r.__random_r.buf
int a[1000];
struct random_data *buf1,buf11;
buf1=&buf11;
buf1->fptr=&a[50];
buf1->end_ptr=&a[10];
buf1->rptr=&a[70];
buf1->rand_type=1;
<<random_r.__random_r.buf>> = ( buf1 );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: __random_r.002
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:__random_r.002
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.return:0
TEST.VALUE_USER_CODE:random_r.__random_r.buf
int a2[1000];
struct random_data *buf2,buf3;
buf2=&buf3;
buf2->fptr=&a2[10];
buf2->end_ptr=&a2[50];
buf2->rptr=&a2[100];
buf2->rand_type=1;
<<random_r.__random_r.buf>> = ( buf2 );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: random_r1
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:random_r1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (buf == (0) || result == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:random_r.__random_r.buf:<<null>>
TEST.VALUE:random_r.__random_r.result:<<null>>
TEST.EXPECTED:random_r.__random_r.return:-1
TEST.END
-- Test Case: random_r2
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:random_r2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (buf == (0) || result == (0)) ==> FALSE
(2) if (buf->rand_type == 0) ==> FALSE
(3) if (fptr >= end_ptr) ==> FALSE
(4) if (rptr >= end_ptr) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:random_r.__random_r.buf:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].fptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].rptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].state:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].state[0]:0
TEST.VALUE:random_r.__random_r.buf[0].rand_type:0
TEST.VALUE:random_r.__random_r.buf[0].end_ptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.buf[0].state[0]:12345
TEST.EXPECTED:random_r.__random_r.return:0
TEST.END
-- Test Case: random_r2.001
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:random_r2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (buf == (0) || result == (0)) ==> FALSE
(2) if (buf->rand_type == 0) ==> FALSE
(3) if (fptr >= end_ptr) ==> FALSE
(4) if (rptr >= end_ptr) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:random_r.__random_r.buf:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].fptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].fptr[0]:13
TEST.VALUE:random_r.__random_r.buf[0].rptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].rptr[0]:13
TEST.VALUE:random_r.__random_r.buf[0].state:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].state[0]:0
TEST.VALUE:random_r.__random_r.buf[0].rand_type:1
TEST.VALUE:random_r.__random_r.buf[0].end_ptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].end_ptr[0]:0
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.buf[0].state[0]:0
TEST.EXPECTED:random_r.__random_r.buf[0].rand_type:1
TEST.EXPECTED:random_r.__random_r.buf[0].end_ptr[0]:0
TEST.EXPECTED:random_r.__random_r.result[0]:0xD
TEST.EXPECTED:random_r.__random_r.return:0
TEST.END
-- Unit: strcat
-- Subprogram: strcat
-- Test Case: strcat1
TEST.UNIT:strcat
TEST.SUBPROGRAM:strcat
TEST.NEW
TEST.NAME:strcat1
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*(destination++) != 0) ==> FALSE
(2) while ((*(destination++) = *(append++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcat.strcat.destination:<<malloc 4>>
TEST.VALUE:strcat.strcat.destination:"abc"
TEST.VALUE:strcat.strcat.append:<<malloc 1>>
TEST.VALUE:strcat.strcat.append[0]:0x0
TEST.EXPECTED:strcat.strcat.return:"abc"
TEST.ATTRIBUTES:strcat.strcat.destination[0]:INPUT_BASE=16
TEST.END
-- Test Case: strcat2
TEST.UNIT:strcat
TEST.SUBPROGRAM:strcat
TEST.NEW
TEST.NAME:strcat2
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*(destination++) != 0) ==> FALSE
(2) while ((*(destination++) = *(append++)) != 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcat.strcat.destination:<<malloc 1>>
TEST.VALUE:strcat.strcat.destination[0]:0x0
TEST.VALUE:strcat.strcat.append:<<malloc 4>>
TEST.VALUE:strcat.strcat.append:"abc"
TEST.EXPECTED:strcat.strcat.return:"abc"
TEST.END
-- Test Case: strcat3
TEST.UNIT:strcat
TEST.SUBPROGRAM:strcat
TEST.NEW
TEST.NAME:strcat3
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (*(destination++) != 0) ==> TRUE
(2) while ((*(destination++) = *(append++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcat.strcat.destination:<<malloc 4>>
TEST.VALUE:strcat.strcat.destination:"abc"
TEST.VALUE:strcat.strcat.append:<<malloc 4>>
TEST.VALUE:strcat.strcat.append:"def"
TEST.EXPECTED:strcat.strcat.return:"abcdef"
TEST.END
-- Unit: strchr
-- Subprogram: strchr
-- Test Case: STRCHR1
TEST.UNIT:strchr
TEST.SUBPROGRAM:strchr
TEST.NEW
TEST.NAME:STRCHR1
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*r != (char)c) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strchr.strchr.s:<<malloc 1>>
TEST.VALUE:strchr.strchr.s[0]:0x0
TEST.VALUE:strchr.strchr.c:0
TEST.EXPECTED:strchr.strchr.return:"\0"
TEST.END
-- Test Case: strchr2
TEST.UNIT:strchr
TEST.SUBPROGRAM:strchr
TEST.NEW
TEST.NAME:strchr2
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*r != (char)c) ==> TRUE
(2) if (*(r++) == 0) ==> TRUE
Test Case Generation Notes:
Conflict: Cannot resolve multiple comparisons ( strchr.strchr.s[0] ) in branches 1/2
TEST.END_NOTES:
TEST.VALUE:strchr.strchr.s:<<malloc 1>>
TEST.VALUE:strchr.strchr.s[0]:<<MIN>>
TEST.VALUE:strchr.strchr.c:-127
TEST.EXPECTED:strchr.strchr.return:<<null>>
TEST.END
-- Test Case: strchr3
TEST.UNIT:strchr
TEST.SUBPROGRAM:strchr
TEST.NEW
TEST.NAME:strchr3
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (*r != (char)c) ==> TRUE
(2) if (*(r++) == 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strchr.strchr.s:<<malloc 4>>
TEST.VALUE:strchr.strchr.s:"abc"
TEST.EXPECTED:strchr.strchr.return:<<null>>
TEST.VALUE_USER_CODE:strchr.strchr.c
<<strchr.strchr.c>> = ( "b" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: strcmp
-- Subprogram: strcmp
-- Test Case: strcmp1
TEST.UNIT:strcmp
TEST.SUBPROGRAM:strcmp
TEST.NEW
TEST.NAME:strcmp1
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*(s1++) == *(s2++)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcmp.strcmp.s1:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s1:"a"
TEST.VALUE:strcmp.strcmp.s2:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s2:"b"
TEST.EXPECTED:strcmp.strcmp.return:-1
TEST.END
-- Test Case: strcmp2
TEST.UNIT:strcmp
TEST.SUBPROGRAM:strcmp
TEST.NEW
TEST.NAME:strcmp2
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*(s1++) == *(s2++)) ==> TRUE
(2) if (s1[-1] == 0) ==> TRUE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strcmp.strcmp.s1: in branch 2
TEST.END_NOTES:
TEST.VALUE:strcmp.strcmp.s1:<<malloc 3>>
TEST.VALUE:strcmp.strcmp.s1:"ab"
TEST.VALUE:strcmp.strcmp.s2:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s2:"a"
TEST.EXPECTED:strcmp.strcmp.return:98
TEST.ATTRIBUTES:strcmp.strcmp.s1[1]:INPUT_BASE=16
TEST.END
-- Test Case: strcmp3
TEST.UNIT:strcmp
TEST.SUBPROGRAM:strcmp
TEST.NEW
TEST.NAME:strcmp3
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (*(s1++) == *(s2++)) ==> TRUE
(2) if (s1[-1] == 0) ==> FALSE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strcmp.strcmp.s1: in branch 2
TEST.END_NOTES:
TEST.VALUE:strcmp.strcmp.s1:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s1:"a"
TEST.VALUE:strcmp.strcmp.s2:<<malloc 4>>
TEST.VALUE:strcmp.strcmp.s2:"a\0"
TEST.EXPECTED:strcmp.strcmp.return:0
TEST.END
-- Unit: strcpy
-- Subprogram: strcpy
-- Test Case: strcpy.001
TEST.UNIT:strcpy
TEST.SUBPROGRAM:strcpy
TEST.NEW
TEST.NAME:strcpy.001
TEST.VALUE:strcpy.strcpy.s1:<<malloc 2>>
TEST.VALUE:strcpy.strcpy.s1:"a"
TEST.VALUE:strcpy.strcpy.s2:<<malloc 7>>
TEST.VALUE:strcpy.strcpy.s2:"bbbbbb"
TEST.EXPECTED:strcpy.strcpy.return:"bbbbbb"
TEST.END
-- Test Case: strcpy2
TEST.UNIT:strcpy
TEST.SUBPROGRAM:strcpy
TEST.NEW
TEST.NAME:strcpy2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((*(s1++) = *(s2++)) != 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcpy.strcpy.s1:<<malloc 4>>
TEST.VALUE:strcpy.strcpy.s1:"aaa"
TEST.VALUE:strcpy.strcpy.s2:<<malloc 4>>
TEST.VALUE:strcpy.strcpy.s2:"bbb"
TEST.EXPECTED:strcpy.strcpy.return:"bbb"
TEST.END
-- Unit: strlcat
-- Subprogram: strlcat
-- Test Case: strlcat1
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set n due to assignment
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 1>>
TEST.VALUE:strlcat.strlcat.dst[0]:0x0
TEST.VALUE:strlcat.strlcat.src:<<malloc 1>>
TEST.VALUE:strlcat.strlcat.siz:0
TEST.EXPECTED:strlcat.strlcat.return:0
TEST.END
-- Test Case: strlcat2
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> FALSE
(3) while (*s != 0) ==> FALSE
Test Case Generation Notes:
Cannot set n due to assignment
Cannot set variable *s in branch 3 since it requires user code.
Cannot set variable s in branch 3 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 6>>
TEST.VALUE:strlcat.strlcat.dst:"hello"
TEST.VALUE:strlcat.strlcat.src:<<malloc 6>>
TEST.VALUE:strlcat.strlcat.src:"world"
TEST.VALUE:strlcat.strlcat.siz:5
TEST.EXPECTED:strlcat.strlcat.return:10
TEST.END
-- Test Case: strlcat3
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> FALSE
(3) while (*s != 0) ==> TRUE
(4) if (n != (1)) ==> FALSE
Test Case Generation Notes:
Cannot set n due to assignment
Cannot set variable *s in branch 3 since it requires user code.
Cannot set variable s in branch 3 since it requires user code.
Cannot set n due to assignment
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 3>>
TEST.VALUE:strlcat.strlcat.dst:"\0"
TEST.VALUE:strlcat.strlcat.src:<<malloc 4>>
TEST.VALUE:strlcat.strlcat.src:"aaa"
TEST.VALUE:strlcat.strlcat.siz:3
TEST.EXPECTED:strlcat.strlcat.return:3
TEST.END
-- Test Case: strlcat4
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> FALSE
(3) while (*s != 0) ==> TRUE
(4) if (n != (1)) ==> FALSE
Test Case Generation Notes:
Cannot set n due to assignment
Cannot set variable *s in branch 3 since it requires user code.
Cannot set variable s in branch 3 since it requires user code.
Cannot set n due to assignment
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 5>>
TEST.VALUE:strlcat.strlcat.dst:"aaaa"
TEST.VALUE:strlcat.strlcat.src:<<malloc 3>>
TEST.VALUE:strlcat.strlcat.src:"\0"
TEST.VALUE:strlcat.strlcat.siz:3
TEST.EXPECTED:strlcat.strlcat.return:3
TEST.END
-- Unit: strlcpy
-- Subprogram: strlcpy
-- Test Case: strlcpy2
TEST.UNIT:strlcpy
TEST.SUBPROGRAM:strlcpy
TEST.NEW
TEST.NAME:strlcpy2
TEST.BASIS_PATH:3 of 7
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0) && --n != (0)) ==> FALSE
(4) if (n == (0)) ==> TRUE
(5) if (siz != (0)) ==> FALSE
(6) while (*(s++)) ==> TRUE
Test Case Generation Notes:
Cannot set variable s++ in branch 6 since it requires user code.
Cannot set variable *(s++) in branch 6 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strlcpy.strlcpy.dst:<<malloc 1>>
TEST.VALUE:strlcpy.strlcpy.src:<<malloc 1>>
TEST.VALUE:strlcpy.strlcpy.siz:0
TEST.EXPECTED:strlcpy.strlcpy.return:0
TEST.END
-- Test Case: strlcpy3
TEST.UNIT:strlcpy
TEST.SUBPROGRAM:strlcpy
TEST.NEW
TEST.NAME:strlcpy3
TEST.BASIS_PATH:7 of 7
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) if (n != (0) && --n != (0)) ==> TRUE
(2) if ((*(d++) = *(s++)) == 0) ==> FALSE
(3) while (--n != (0)) ==> TRUE
(4) if (n == (0)) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 1
Cannot set variable *(d++) = *(s++) in branch 2 since it requires user code.
Cannot set variable s++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:strlcpy.strlcpy.dst:<<malloc 10>>
TEST.VALUE:strlcpy.strlcpy.dst:"abcdefdsf"
TEST.VALUE:strlcpy.strlcpy.src:<<malloc 3>>
TEST.VALUE:strlcpy.strlcpy.src:"w0"
TEST.VALUE:strlcpy.strlcpy.siz:7
TEST.EXPECTED:strlcpy.strlcpy.dst:"w0"
TEST.EXPECTED:strlcpy.strlcpy.return:2
TEST.END
-- Test Case: strlcpy4
TEST.UNIT:strlcpy
TEST.SUBPROGRAM:strlcpy
TEST.NEW
TEST.NAME:strlcpy4
TEST.BASIS_PATH:6 of 7
TEST.NOTES:
This is an automatically generated test case.
Test Path 6
(1) if (n != (0) && --n != (0)) ==> TRUE
(2) if ((*(d++) = *(s++)) == 0) ==> FALSE
(3) while (--n != (0)) ==> FALSE
(4) if (n == (0)) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 1
Cannot set variable *(d++) = *(s++) in branch 2 since it requires user code.
Cannot set variable s++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:strlcpy.strlcpy.dst:<<malloc 4>>
TEST.VALUE:strlcpy.strlcpy.dst:"abc"
TEST.VALUE:strlcpy.strlcpy.src:<<malloc 6>>
TEST.VALUE:strlcpy.strlcpy.src:"abcd5"
TEST.VALUE:strlcpy.strlcpy.siz:3
TEST.EXPECTED:strlcpy.strlcpy.dst:"ab"
TEST.EXPECTED:strlcpy.strlcpy.return:5
TEST.END
-- Unit: strlen
-- Subprogram: strlen
-- Test Case: BASIS-PATH-001
TEST.UNIT:strlen
TEST.SUBPROGRAM:strlen
TEST.NEW
TEST.NAME:BASIS-PATH-001
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*(s++) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strlen.strlen.s:<<malloc 1>>
TEST.VALUE:strlen.strlen.s[0]:0x0
TEST.EXPECTED:strlen.strlen.return:0
TEST.END
-- Test Case: BASIS-PATH-002
TEST.UNIT:strlen
TEST.SUBPROGRAM:strlen
TEST.NEW
TEST.NAME:BASIS-PATH-002
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*(s++) != 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strlen.strlen.s:<<malloc 4>>
TEST.VALUE:strlen.strlen.s:"aaa"
TEST.EXPECTED:strlen.strlen.return:3
TEST.END
-- Unit: strncat
-- Subprogram: strncat
-- Test Case: strncat1
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n != (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 6>>
TEST.VALUE:strncat.strncat.dst:"hello"
TEST.VALUE:strncat.strncat.src:<<malloc 6>>
TEST.VALUE:strncat.strncat.src:"world"
TEST.VALUE:strncat.strncat.n:0
TEST.EXPECTED:strncat.strncat.return:"hello"
TEST.END
-- Test Case: strncat2
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n != (0)) ==> TRUE
(2) while (*(d++) != 0) ==> FALSE
(3) while ((*(d++) = *(src++)) != 0 && --n > (0)) ==> FALSE
(4) if (n == (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 6>>
TEST.VALUE:strncat.strncat.dst:"hello"
TEST.VALUE:strncat.strncat.src:<<malloc 6>>
TEST.VALUE:strncat.strncat.src:"world"
TEST.VALUE:strncat.strncat.n:1
TEST.EXPECTED:strncat.strncat.return:"hellow"
TEST.END
-- Test Case: strncat3
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0)) ==> TRUE
(2) while (*(d++) != 0) ==> FALSE
(3) while ((*(d++) = *(src++)) != 0 && --n > (0)) ==> FALSE
(4) if (n == (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Trying to set variable strncat.strncat.n 'equal to' and 'not equal to' same value in branches 1/4
Cannot set local variable d in branch 5
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 12>>
TEST.VALUE:strncat.strncat.dst:"hello\0eeee"
TEST.VALUE:strncat.strncat.src:<<malloc 8>>
TEST.VALUE:strncat.strncat.src:"world\0"
TEST.VALUE:strncat.strncat.n:5
TEST.EXPECTED:strncat.strncat.dst:"helloworld"
TEST.EXPECTED:strncat.strncat.return:"helloworld"
TEST.END
-- Test Case: strncat4
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0)) ==> TRUE
(2) while (*(d++) != 0) ==> FALSE
(3) while ((*(d++) = *(src++)) != 0 && --n > (0)) ==> FALSE
(4) if (n == (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Trying to set variable strncat.strncat.n 'equal to' and 'not equal to' same value in branches 1/4
Cannot set local variable d in branch 5
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 12>>
TEST.VALUE:strncat.strncat.dst:"hello\0eeee"
TEST.VALUE:strncat.strncat.src:<<malloc 8>>
TEST.VALUE:strncat.strncat.src:"world\0"
TEST.VALUE:strncat.strncat.n:8
TEST.EXPECTED:strncat.strncat.dst:"helloworld"
TEST.EXPECTED:strncat.strncat.return:"helloworld"
TEST.END
-- Unit: strncmp
-- Subprogram: strncmp
-- Test Case: strncmp1
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.s2:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.n:0
TEST.EXPECTED:strncmp.strncmp.return:0
TEST.END
-- Test Case: strncmp2
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n == (0)) ==> FALSE
(2) while (*(s1++) == *(s2++)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s1:"a"
TEST.VALUE:strncmp.strncmp.s2:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s2:"b"
TEST.VALUE:strncmp.strncmp.n:1
TEST.EXPECTED:strncmp.strncmp.return:-1
TEST.END
-- Test Case: strncmp3
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n == (0)) ==> FALSE
(2) while (*(s1++) == *(s2++)) ==> TRUE
(3) if (s1[-1] == 0 || --n == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strncmp.strncmp.s1: in branch 3
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s1[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.s1[1]:0x0
TEST.VALUE:strncmp.strncmp.s2:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.s2[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.n:1
TEST.EXPECTED:strncmp.strncmp.return:0
TEST.END
-- Test Case: strncmp4
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp4
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (n == (0)) ==> FALSE
(2) while (*(s1++) == *(s2++)) ==> TRUE
(3) if (s1[-1] == 0 || --n == (0)) ==> FALSE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strncmp.strncmp.s1: in branch 3
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s1[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.s1[1]:<<MIN>>
TEST.VALUE:strncmp.strncmp.s2:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.s2[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.n:1
TEST.EXPECTED:strncmp.strncmp.return:0
TEST.END
-- Unit: strncpy
-- Subprogram: strncpy
-- Test Case: strncpy
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n != (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 4>>
TEST.VALUE:strncpy.strncpy.s1:"abc"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 5>>
TEST.VALUE:strncpy.strncpy.s2:"ABCD"
TEST.VALUE:strncpy.strncpy.n:0
TEST.EXPECTED:strncpy.strncpy.return:"abc"
TEST.END
-- Test Case: strncpy2
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> FALSE
(4) while (--n > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 2>>
TEST.VALUE:strncpy.strncpy.s1:"a"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 2>>
TEST.VALUE:strncpy.strncpy.s2:"A"
TEST.VALUE:strncpy.strncpy.n:1
TEST.EXPECTED:strncpy.strncpy.return:"A"
TEST.END
-- Test Case: strncpy3
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy3
TEST.BASIS_PATH:5 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 5
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> TRUE
(3) if (--n == (0)) ==> FALSE
(4) while (--n > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 6>>
TEST.VALUE:strncpy.strncpy.s1:"abcde"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 6>>
TEST.VALUE:strncpy.strncpy.s2:"ABCDE"
TEST.VALUE:strncpy.strncpy.n:3
TEST.EXPECTED:strncpy.strncpy.return:"ABCde"
TEST.END
-- Test Case: strncpy4
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy4
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> FALSE
(4) while (--n > (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 1>>
TEST.VALUE:strncpy.strncpy.s2:<<malloc 1>>
TEST.VALUE:strncpy.strncpy.s2[0]:0x0
TEST.VALUE:strncpy.strncpy.n:1
TEST.EXPECTED:strncpy.strncpy.return:"\0"
TEST.END
-- Unit: strpbrk
-- Subprogram: strpbrk
-- Test Case: strpbrk1
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((c = *(s1++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 6>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcde"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 2>>
TEST.VALUE:strpbrk.strpbrk.s2:"f"
TEST.VALUE:strpbrk.strpbrk.return:<<malloc 1>>
TEST.EXPECTED:strpbrk.strpbrk.return:<<null>>
TEST.END
-- Test Case: strpbrk2
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk2
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> TRUE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 6>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcde"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 2>>
TEST.VALUE:strpbrk.strpbrk.s2:"d"
TEST.EXPECTED:strpbrk.strpbrk.return:"de"
TEST.END
-- Test Case: strpbrk3
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk3
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> FALSE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 5>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcd"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 5>>
TEST.VALUE:strpbrk.strpbrk.s2:"abcd"
TEST.EXPECTED:strpbrk.strpbrk.return:"abcd"
TEST.END
-- Test Case: strpbrk4
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> FALSE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 7>>
TEST.VALUE:strpbrk.strpbrk.s1:"bbbbba"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 8>>
TEST.VALUE:strpbrk.strpbrk.s2:"efsdfds"
TEST.VALUE:strpbrk.strpbrk.return:<<malloc 1>>
TEST.EXPECTED:strpbrk.strpbrk.return:<<null>>
TEST.END
-- Test Case: strpbrk5
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk5
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> FALSE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 6>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcde"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 3>>
TEST.VALUE:strpbrk.strpbrk.s2:"fe"
TEST.EXPECTED:strpbrk.strpbrk.return:"e"
TEST.END
-- Unit: strspn
-- Subprogram: strspn
-- Test Case: strspn1
TEST.UNIT:strspn
TEST.SUBPROGRAM:strspn
TEST.NEW
TEST.NAME:strspn1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) for ((c1 = *(s++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strspn.strspn.s:<<malloc 1>>
TEST.VALUE:strspn.strspn.s[0]:0x0
TEST.VALUE:strspn.strspn.sep:<<malloc 1>>
TEST.EXPECTED:strspn.strspn.return:0
TEST.END
-- Test Case: strspn2
TEST.UNIT:strspn
TEST.SUBPROGRAM:strspn
TEST.NEW
TEST.NAME:strspn2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) for ((c1 = *(s++)) != 0) ==> TRUE
(2) for ((c2 = *(p++)) != c1) ==> FALSE
Test Case Generation Notes:
Cannot set variable c2 = *(p++) in branch 2 since it requires user code.
Cannot set local variable c1 in branch 2
Cannot set variable p++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strspn.strspn.s:<<malloc 8>>
TEST.VALUE:strspn.strspn.s:"abcdeds"
TEST.VALUE:strspn.strspn.sep:<<malloc 3>>
TEST.VALUE:strspn.strspn.sep:"ab"
TEST.EXPECTED:strspn.strspn.return:2
TEST.END
-- Test Case: strspn3
TEST.UNIT:strspn
TEST.SUBPROGRAM:strspn
TEST.NEW
TEST.NAME:strspn3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) for ((c1 = *(s++)) != 0) ==> TRUE
(2) for ((c2 = *(p++)) != c1) ==> TRUE
(3) if (c2 == 0) ==> TRUE
Test Case Generation Notes:
Cannot set variable c2 = *(p++) in branch 2 since it requires user code.
Cannot set local variable c1 in branch 2
Cannot set variable p++ in branch 2 since it requires user code.
Cannot set local variable c2 in branch 3
TEST.END_NOTES:
TEST.VALUE:strspn.strspn.s:<<malloc 9>>
TEST.VALUE:strspn.strspn.s:"abceddsf"
TEST.VALUE:strspn.strspn.sep:<<malloc 4>>
TEST.VALUE:strspn.strspn.sep:"ace"
TEST.EXPECTED:strspn.strspn.return:1
TEST.END
-- Unit: strtod
-- Subprogram: is_real
-- Test Case: real1
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real1
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:<<MIN>>
TEST.EXPECTED:strtod.is_real.return:0
TEST.END
-- Test Case: real2
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real2
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:<<MAX>>
TEST.EXPECTED:strtod.is_real.return:0
TEST.END
-- Test Case: real3
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real3
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:0.0
TEST.EXPECTED:strtod.is_real.return:1
TEST.END
-- Test Case: real4
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real4
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:-112.345234
TEST.EXPECTED:strtod.is_real.return:1
TEST.END
-- Test Case: real5
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real5
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:112.345234
TEST.EXPECTED:strtod.is_real.return:1
TEST.END
-- Subprogram: strtod
-- Test Case: strtod
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod
TEST.BASIS_PATH:1 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod10
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod10
TEST.BASIS_PATH:10 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 10
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(11) case (*(++p)) ==> 43
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 11
Cannot set p due to assignment
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 9>>
TEST.VALUE:strtod.strtod.str:"-1234.56"
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:-1234.56
TEST.END
-- Test Case: strtod11
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod11
TEST.BASIS_PATH:11 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 11
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(11) case (*(++p)) ==> 43
(13) if negative ==> TRUE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 11
Cannot set p due to assignment
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 14>>
TEST.VALUE:strtod.strtod.str:"12345.67afdsf"
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:12345.7
TEST.END
-- Test Case: strtod12
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod12
TEST.BASIS_PATH:12 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 12
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(11) case (*(++p)) ==> 43
(12) while (*p >= 48 && *p <= 57) ==> TRUE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 11
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 8/12
Cannot set local variable p in branch 13
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 13>>
TEST.VALUE:strtod.strtod.str:"-123.34abced"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.endptr[0]:"abced"
TEST.EXPECTED:strtod.strtod.return:-123.34
TEST.END
-- Test Case: strtod13
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod13
TEST.BASIS_PATH:13 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 13
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(10) case (*(++p)) ==> 45
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 10
Cannot set p due to assignment
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 11>>
TEST.VALUE:strtod.strtod.str:"-123.34e+4"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:-1233400.0
TEST.END
-- Test Case: strtod14
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod14
TEST.BASIS_PATH:14 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 14
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> TRUE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:0
TEST.VALUE:strtod.strtod.str:<<malloc 7>>
TEST.VALUE:strtod.strtod.str:"-10e-1"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:-1.0
TEST.END
-- Test Case: strtod15
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod15
TEST.BASIS_PATH:15 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 15
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> TRUE
(7) if (num_digits == 0) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set p due to assignment
Cannot set local variable p in branch 6
Cannot set num_digits due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 8>>
TEST.VALUE:strtod.strtod.str:"1e+1025"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:1.7E308
TEST.END
-- Test Case: strtod16
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod16
TEST.BASIS_PATH:16 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> TRUE
(6) while (*p >= 48 && *p <= 57) ==> TRUE
(7) if (num_digits == 0) ==> TRUE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set local variable p in branch 5
Cannot set local variable p in branch 6
Cannot set p due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 5/6
Cannot set local variable p in branch 7
Cannot set num_digits due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 10>>
TEST.VALUE:strtod.strtod.str:"1.5e-1022"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:1.7E308
TEST.END
-- Test Case: strtod2
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod2
TEST.BASIS_PATH:2 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod3
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod3
TEST.BASIS_PATH:3 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 2>>
TEST.VALUE:strtod.strtod.str:" "
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod4
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod4
TEST.BASIS_PATH:4 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> TRUE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod5
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod5
TEST.BASIS_PATH:5 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 5
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> TRUE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:0
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.END
-- Test Case: strtod6
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod6
TEST.BASIS_PATH:6 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 6
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> TRUE
(17) if (n & 1) ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod7
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod7
TEST.BASIS_PATH:7 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> TRUE
(17) if (n & 1) ==> TRUE
(18) if (exponent < 0) ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod8
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod8
TEST.BASIS_PATH:8 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 8
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> TRUE
(17) if (n & 1) ==> TRUE
(18) if (exponent < 0) ==> TRUE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set p10 due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod9
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod9
TEST.BASIS_PATH:9 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 9
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> TRUE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set n due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 14>>
TEST.VALUE:strtod.strtod.str:" 12345.6789"
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:12345.7
TEST.END
-- Unit: strtok
-- Subprogram: strtok
-- Test Case: strtok
TEST.UNIT:strtok
TEST.SUBPROGRAM:strtok
TEST.NEW
TEST.NAME:strtok
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtok.strtok.separator:<<malloc 1>>
TEST.VALUE:strtok.strtok.return:<<malloc 3>>
TEST.VALUE_USER_CODE:strtok.strtok.string
<<strtok.strtok.string>> = ( "a,b,c" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:strtok.strtok.separator.separator.separator[0]
<<strtok.strtok.separator>>[0] = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: strtok.001
TEST.UNIT:strtok
TEST.SUBPROGRAM:strtok
TEST.NEW
TEST.NAME:strtok.001
TEST.VALUE:strtok.strtok.string:<<malloc 9>>
TEST.VALUE:strtok.strtok.string:<<null>>
TEST.VALUE:strtok.strtok.separator:<<malloc 2>>
TEST.VALUE:strtok.strtok.separator:"1"
TEST.EXPECTED:strtok.strtok.return:<<null>>
TEST.END
-- Test Case: strtok1
TEST.UNIT:strtok
TEST.SUBPROGRAM:strtok
TEST.NEW
TEST.NAME:strtok1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtok.strtok.string:<<malloc 6>>
TEST.VALUE:strtok.strtok.string:"a b c"
TEST.VALUE:strtok.strtok.separator:<<malloc 1>>
TEST.VALUE:strtok.strtok.return:<<malloc 3>>
TEST.VALUE_USER_CODE:strtok.strtok.separator.separator.separator[0]
<<strtok.strtok.separator>>[0] = ( " " );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: strtok_r
-- Subprogram: strtok_r
-- Test Case: strtok_r.001
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r.001
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 6>>
TEST.VALUE_USER_CODE:strtok_r.strtok_r.string
<<strtok_r.strtok_r.string>> = ( "a,b,c" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:strtok_r.strtok_r.separators
<<strtok_r.strtok_r.separators>> = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: strtok_r1
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (string == (void *)0 && (string = *ppLast) == (void *)0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strtok_r.strtok_r.string:<<malloc 9>>
TEST.VALUE:strtok_r.strtok_r.string:<<null>>
TEST.VALUE:strtok_r.strtok_r.separators:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast[0]:<<null>>
TEST.EXPECTED:strtok_r.strtok_r.return:<<null>>
TEST.END
-- Test Case: strtok_r2
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (string == (void *)0 && (string = *ppLast) == (void *)0) ==> FALSE
(2) if (*(string += strspn(string, separators)) == 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strtok_r.strtok_r.string:<<malloc 7>>
TEST.VALUE:strtok_r.strtok_r.string:"a","b","\0"
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast[0]:<<malloc 1>>
TEST.EXPECTED:strtok_r.strtok_r.ppLast[0]:<<null>>
TEST.VALUE_USER_CODE:strtok_r.strtok_r.separators
<<strtok_r.strtok_r.separators>> = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: strtok_r3
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (string == (void *)0 && (string = *ppLast) == (void *)0) ==> FALSE
(2) if (*(string += strspn(string, separators)) == 0) ==> FALSE
(3) if ((*ppLast = strpbrk(string, separators)) != (void *)0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:strpbrk.strpbrk
TEST.VALUE:strpbrk.strpbrk.return:<<malloc 9>>
TEST.VALUE:strpbrk.strpbrk.return:<<null>>
TEST.VALUE:strtok_r.strtok_r.string:<<malloc 6>>
TEST.VALUE:strtok_r.strtok_r.string:"a","b","c"
TEST.VALUE:strtok_r.strtok_r.separators:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast[0]:<<malloc 1>>
TEST.EXPECTED:strtok_r.strtok_r.return:"a","b","c"
TEST.VALUE_USER_CODE:strtok_r.strtok_r.separators
<<strtok_r.strtok_r.separators>> = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: strtol
-- Subprogram: strtol
-- Test Case: strtol-0.002
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-0.002
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 9>>
TEST.VALUE:strtol.strtol.nptr:"0x31da6c"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.return:3267180
TEST.END
-- Test Case: strtol-10
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-10
TEST.BASIS_PATH:3 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 13>>
TEST.VALUE:strtol.strtol.nptr:"10379 cend$3"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.endptr[0]:" cend$3"
TEST.EXPECTED:strtol.strtol.return:10379
TEST.END
-- Test Case: strtol-10.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-10.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 16>>
TEST.VALUE:strtol.strtol.nptr:"10379e+3 cend$3"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.endptr[0]:"e+3 cend$3"
TEST.EXPECTED:strtol.strtol.return:10379
TEST.END
-- Test Case: strtol-10.003
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-10.003
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 12>>
TEST.VALUE:strtol.strtol.nptr:"10379cend$3"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.endptr[0]:"nd$3"
TEST.EXPECTED:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.return:17005006
TEST.END
-- Test Case: strtol-16
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-16
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 11>>
TEST.VALUE:strtol.strtol.nptr:"-1.24e+100"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.endptr[0]:".24e+100"
TEST.EXPECTED:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:-1
TEST.END
-- Test Case: strtol-16.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-16.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 9>>
TEST.VALUE:strtol.strtol.nptr:"0x31DA6c"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.return:3267180
TEST.END
-- Test Case: strtol-163
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-163
TEST.BASIS_PATH:4 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 9>>
TEST.VALUE:strtol.strtol.nptr:"0x31da6c"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:13
TEST.EXPECTED:strtol.strtol.endptr[0]:"x31da6c"
TEST.EXPECTED:strtol.strtol.return:0
TEST.END
-- Test Case: strtol-2
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-2
TEST.BASIS_PATH:1 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 6>>
TEST.VALUE:strtol.strtol.nptr:"10379"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:2
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:2
TEST.END
-- Test Case: strtol-2.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 10>>
TEST.VALUE:strtol.strtol.nptr:"+10379e\0"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:2
TEST.EXPECTED:strtol.strtol.endptr[0]:"379e"
TEST.EXPECTED:strtol.strtol.return:2
TEST.END
-- Test Case: strtol-2.002
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-2.002
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 8>>
TEST.VALUE:strtol.strtol.nptr:"ee10379"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:2
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:0
TEST.END
-- Test Case: strtol-8.003
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-8.003
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 13>>
TEST.VALUE:strtol.strtol.nptr:"-10379cend$3"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:8
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:-543
TEST.END
-- Test Case: strtol-8.004
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-8.004
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 5>>
TEST.VALUE:strtol.strtol.nptr:"0723"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:467
TEST.END
-- Test Case: strtol-max
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-max
TEST.BASIS_PATH:7 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> FALSE
(18) if (acc > cutoff || acc == cutoff && c > cutlim) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
Cannot set neg due to assignment
Cannot set acc due to assignment
Cannot set cutoff due to assignment
Cannot set c due to assignment
Cannot set cutlim due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 15>>
TEST.VALUE:strtol.strtol.nptr:"21474836478888"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:2147483647
TEST.END
-- Test Case: strtol-space
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-space
TEST.BASIS_PATH:5 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 5
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> TRUE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 20>>
TEST.VALUE:strtol.strtol.nptr:" 10379c "
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.return:10379
TEST.END
-- Test Case: strtol-space1
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-space1
TEST.BASIS_PATH:6 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 6
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> TRUE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 26>>
TEST.VALUE:strtol.strtol.nptr:" 10 379c "
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.return:10
TEST.END
-- Test Case: strtol.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol.001
TEST.VALUE:strtol.strtol.nptr:<<malloc 16>>
TEST.VALUE:strtol.strtol.nptr:"","#","$$^$#^","....."
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:0
TEST.END
-- Test Case: strtol_36
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol_36
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> FALSE
(18) if (acc > cutoff || acc == cutoff && c > cutlim) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
Cannot set neg due to assignment
Cannot set acc due to assignment
Cannot set cutoff due to assignment
Cannot set c due to assignment
Cannot set cutlim due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 2>>
TEST.VALUE:strtol.strtol.nptr:"g"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:36
TEST.EXPECTED:strtol.strtol.return:16
TEST.END
-- Test Case: strtol_min
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol_min
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> FALSE
(18) if (acc > cutoff || acc == cutoff && c > cutlim) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
Cannot set neg due to assignment
Cannot set acc due to assignment
Cannot set cutoff due to assignment
Cannot set c due to assignment
Cannot set cutlim due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 16>>
TEST.VALUE:strtol.strtol.nptr:"-21474836478888"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:-2147483648
TEST.END
-- Unit: strtoul
-- Subprogram: strtoul
-- Test Case: strtoul-0
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-0
TEST.BASIS_PATH:16 of 16
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 4>>
TEST.VALUE:strtoul.strtoul.nptr:"0xa"
TEST.VALUE:strtoul.strtoul.endptr:<<null>>
TEST.VALUE:strtoul.strtoul.base:0
TEST.EXPECTED:strtoul.strtoul.return:10
TEST.END
-- Test Case: strtoul-0.001
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-0.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 3>>
TEST.VALUE:strtoul.strtoul.nptr:"07"
TEST.VALUE:strtoul.strtoul.endptr:<<null>>
TEST.VALUE:strtoul.strtoul.base:0
TEST.EXPECTED:strtoul.strtoul.return:7
TEST.END
-- Test Case: strtoul-0.002
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-0.002
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 9>>
TEST.VALUE:strtoul.strtoul.nptr:"123eeeee"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:0
TEST.EXPECTED:strtoul.strtoul.endptr[0]:"eeeee"
TEST.EXPECTED:strtoul.strtoul.return:123
TEST.END
-- Test Case: strtoul-10.003
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.003
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 10>>
TEST.VALUE:strtoul.strtoul.nptr:"-123eeeee"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.endptr[0]:"eeeee"
TEST.EXPECTED:strtoul.strtoul.return:123
TEST.END
-- Test Case: strtoul-10.004
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.004
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 14>>
TEST.VALUE:strtoul.strtoul.nptr:"+123 eeeee"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.endptr[0]:" eeeee"
TEST.EXPECTED:strtoul.strtoul.return:123
TEST.END
-- Test Case: strtoul-10.005
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.005
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 14>>
TEST.VALUE:strtoul.strtoul.nptr:"2147483647999"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.return:4294967295
TEST.END
-- Test Case: strtoul-10.006
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.006
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 15>>
TEST.VALUE:strtoul.strtoul.nptr:" 21 "
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.return:21
TEST.END
-- Test Case: strtoul-10.007
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.007
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 16>>
TEST.VALUE:strtoul.strtoul.nptr:"","#","$$^$#^","....."
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.return:0
TEST.END
-- Test Case: strtoul-16.005
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-16.005
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 4>>
TEST.VALUE:strtoul.strtoul.nptr:"0XA"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:16
TEST.EXPECTED:strtoul.strtoul.return:10
TEST.END
|
09d9b7338e4598baa014d448544c0f1c328fd82f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH2/EX2.11/EX2_11.sce | b63c68f438f2f5405ee6f24c8d566fb9e49db201 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | EX2_11.sce | // Exa 2.11
format('v',9)
clc;
clear;
close;
// Given data
Rho = 10;// in Ω-cm
Mu_d = 500;// in cm^2/v.s.
e = 1.6*10^-19;// electron charge in C
// The number of donor atom
n_d = 1/(Rho * e * Mu_d);// in per cm^3
disp(n_d,"The number of donor atom per cm^3 is ");
|
ea0e3fa04f8820f3cc2397aa80f47b6d7a19bc5b | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/c4_sp.sci | 07f3fd5cb8756dc9844c3f0a3e01f61f3b91060d | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 3,488 | sci | c4_sp.sci | function [x,y,typ]=c4_sp(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then standard_draw(arg1);
case 'getinputs' then [x,y,typ]=standard_inputs(arg1);
case 'getoutputs' then [x,y,typ]=standard_outputs(arg1);
case 'getorigin' then [x,y]=standard_origin(arg1);
case 'set' then
x=arg1; graphics=arg1.graphics; exprs=graphics.exprs; model=arg1.model;
while %t do
[ok,in_out_num,gbias,gbiasn,gbiasp,fbias,fbiasn,fbiasp,cap1,exprs]=getvalue('Set C4 Parameters',['Number of C4 blocks';'Gain Bias';'Gain bias n';'Gain bias p'; 'Feedback Bias';'Feedback Bias n';'Feedback Bias p'; 'Input Cap 64fF [1-6X]'],list('vec',1,'vec',-1,'vec',-1,'vec',-1,'vec',-1,'vec',-1,'vec',-1,'vec',-1),exprs)
if ~ok then break,end
if length(cap1) ~= in_out_num then message('The number of cap values that you have entered does not match the number of C4 blocks.'); ok=%f; end
for ss= 1:in_out_num
if (cap1(ss) == 0) | (cap1(ss) > 6) then message('One of the cap values that you have entered is not a number 1-6.'); ok=%f; end
end
if length(gbiasn) ~= in_out_num then message('The number of gain biasn that you have entered does not match the number of C4 blocks.'); ok=%f; end
if length(gbiasp) ~= in_out_num then message('The number of gain biasp that you have entered does not match the number of C4 blocks.'); ok=%f; end
if length(gbias) ~= in_out_num then message('The number of gain biases that you have entered does not match the number of C4 blocks.'); ok=%f; end
if length(fbias) ~= in_out_num then message('The number of feedback biases that you have entered does not match the number of C4 blocks.'); ok=%f; end
if length(fbiasn) ~= in_out_num then message('The number of feedback biasn that you have entered does not match the number of C4 blocks.'); ok=%f; end
if length(fbiasp) ~= in_out_num then message('The number of feedback biasp that you have entered does not match the number of C4 blocks.'); ok=%f; end
if ok then
model.in=[1;in_out_num];
model.out=in_out_num;
model.ipar=in_out_num;
model.rpar = [gbias;gbiasn;gbiasp;fbias;fbiasn;fbiasp;cap1];
model.state = 1.25*ones(2*in_out_num,1);
graphics.exprs=exprs;
x.graphics=graphics;
x.model=model;
break
end
end
case 'define' then
gbias = 3e-6;
gbiasn = 1e-6;
gbiasp = 1e-6;
fbias = 3e-9;
fbiasn = 1e-9;
fbiasp = 1e-9;
cap1=6;
xx=1.25*ones(2,1);
in_out_num =1;
model=scicos_model();
model.sim=list('c4_sp_c',5);
model.in=[1;in_out_num];
model.in2=[1;1];
model.intyp=[-1;-1];
model.out=in_out_num;
model.out2=1;
model.outtyp=-1;
model.rpar = [gbias;gbiasn;gbiasp;fbias;fbiasn;fbiasp;cap1];
model.ipar=in_out_num;
model.state=xx;
model.blocktype='d';
model.dep_ut=[%f %t];
exprs=[sci2exp(in_out_num); sci2exp(gbias) ; sci2exp(gbiasn) ; sci2exp(gbiasp) ; sci2exp(fbias) ; sci2exp(fbiasn) ; sci2exp(fbiasp) ; sci2exp(cap1)];
gr_i=['txt=''C4 '';';'xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'')'];
x=standard_define([8 2],model,exprs,gr_i);
end
endfunction
|
edc12e4a0e896215572addcb58d5f0c84f8b0bba | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH4/EX4.16/4_16.sce | 601272339219cb5f168615d4ead2c4409e061525 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | 4_16.sce | pathname=get_absolute_file_path('4_16.sce')
filename=pathname+filesep()+'4_16data.sci'
exec(filename)
disp("Vt=(2(Po-P)/D)^0.5","True velocity of airplane")
Vt=sqrt(2*(Po-P)/D);disp(Vt,"Vt=");
disp("Ve=(2(Po-P)/Ds)^0.5","Eqivalent airspeed of airplane")
Ve=sqrt(2*(Po-P)/Ds);disp(Ve,"Ve=");
printf("\Answer:\n")
printf("\n\True velocity of the airplane: %f m/s\n\n",Vt)
printf("\n\Equivalent airspeed of the airplane: %f m/s\n\n",Ve)
|
311cb3727b404df32294abc6d3f6aa6b9f9605e3 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rms/rms6.sce | 9d1c93dd15690d76174628475fb9e5e2da35969c | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | rms6.sce | //check o/p when i/p is a row vector
y=[1 2 3 rand(500,"Normal")];
Y=rms(y);
disp(Y);
|
f535347cd9b35935d6da0228f7066f169fff5834 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH14/EX14.7/EX14_7.sce | f5210eec016ebfd615665f284962ff6070b1e040 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | EX14_7.sce | //Example14.7 // determine the duty cycle of the switching regulator circuit
clc;
clear;
close;
ton = 12 ; //msec // on time of pulse
// ton = 2*toff ; given
// T = ton + toff ;
toff = ton/2 ;
T = ton+toff ; // total time
// The duty cycle of switching regulator circuit is given by
d = ton/T;
disp('The output voltage of switching regulator circuit is = '+string(d)+' ');
|
b86bbb233f6e8fee8c1ec8e347bd21cbd3b24322 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH1/EX1.4/Ex1_4.sce | a429ad31cfae366986e29d5bb03f0fd020423318 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,048 | sce | Ex1_4.sce | //chapter 1
//example 1.4
//calculate bond energy for NaCl
//page 15-16
clear;
clc;
//given
r0=0.236; //in nanometer(interionic distance)
e=1.6E-19; // in C (charge of electron)
E_o= 8.85E-12;// absolute premittivity
N=8; // Born constant
IE=5.14;// in eV (ionisation energy of sodium)
EA=3.65;// in eV (electron affinity of Chlorine)
pi=3.14; // value of pi used in the solution
//calculate
r0=r0*1E-9; // since r is in nanometer
PE=(e^2/(4*pi*E_o*r0))*(1-1/N); // calculate potential energy
PE=PE/e; //changing unit from J to eV
printf('\nThe potential energy is\tPE=%.2f eV',PE);
NE=IE-EA;// calculation of Net energy
printf('\nThe net energy is\tNE=%.2f eV',NE);
BE=PE-NE;// calculation of Bond Energy
printf('\nThe bond energy is\tBE=%.2f eV',BE);
// Note: (1)-In order to make the answer prcatically feasible and avoid the unusual answer, I have used r_0=0.236 nm instead of 236 nm. because using this value will give very much irrelevant answer.
// (2) There is slight variation in the answer due to round off.
|
8e6bf285e9502134157d0a9765ee7774ac38460f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.12/ex2_12.sce | 760bfea9cca2f2cae4317f71e40c5d126c7a5adb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | ex2_12.sce | //chapter 2
//For Half wave Dipole
//Hphi=Im/(2*pi*r)*cos(pi/2*cos(theta)/sin(theta))
//Rrad=73 ohm
Hphi=5*10^-6;
r=2*10^3;
Im=(5*10^-6)*(4*(%pi)*10^3);
Prad=73*(Im/sqrt(2))^2;
printf("the radiated power is %gW",Prad);
|
2bc0c6bfcc81a4de49b7e5c643db547333cd213d | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH2/EX2.5/ex2_5.sce | 46cd060426f32feb7581482ba559ef905dfc85d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 723 | sce | ex2_5.sce | //Ex2.5
//Assume frequency of input to be 1Hz
f=1;
T=1/f;
V_p_pri=100; //Peak voltage across primary winding
n=1/2; //tun ratio is 2:1
V_p_sec=n*V_p_pri;
V_sec=V_p_sec/2; //voltage across each secondary is half the total voltage
clf();
subplot(121)
xtitle('voltage across each secondary')
t=0:0.0005:2;
x=V_sec*sin(2*%pi*f.*t);
plot(t,x)
subplot(122)
xtitle('voltage across load')
//let n be double the number of cycles of output shown in graph
for n=0:1:4
t=n.*T/2:0.0005:(n+1).*(T/2);
V_pout=V_sec-0.7;
V=V_pout*sin(2*%pi*f.*t)
a=bool2s(V*(-1)^n>0);
y=(-1)^n.*a.*V;
plot(t,y)
end
disp(V_pout,'full wave rectifier output voltage')
PIV=2*V_pout+0.7;
disp(PIV,'PIV in volts')
|
5addba9123095158af7d7b4c0ab6544d7e1fc694 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH7/EX7.1/56ex1.sce | 431b50ecb6b7884f1e9dfad75e466adb50ff7c06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 56ex1.sce |
//total area(A) of the surface of a square pyramid
clear;
clc;
close;
//AB=a , OQ=d
//OQ is perpendicular to AB.Represents height of trianlge AOB
tot_area=string('base_area + triangles_area')
//base_area=a^2.triangles_area=4*(a*d)/2
A=string('a(a+2d)')
|
c8543c4ccdeef5950ae8aa7946840f9e6be1d68d | e528067e2ccea7463d0b594f523db94cf160e66d | /C/heap.tst | 71c061c9f6ba0d05f4e16ba5adfa5f71d525754f | [] | no_license | soumyajuit/progs_Ubuntu | 489a7b21717a049b8db9186a25516429888b6147 | c55fd95a61e36038fd801b3b705bbc5e2b024689 | refs/heads/master | 2021-01-10T03:40:28.735389 | 2015-12-29T06:44:55 | 2015-12-29T06:44:55 | 48,730,996 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 74,974 | tst | heap.tst | 10000
40885 845 2801 8642 33892
53057 45369 52679 54565 16483
19314 4476 32135 52954 8187
35462 49149 14701 45362 45960
34286 46276 7392 30652 43965
23095 10199 37810 29304 19633
1335 8970 38996 22367 32771
27425 9610 15113 19643 11463
30188 51073 6087 10799 51237
52397 32252 6171 51717 45387
28134 27212 25783 47282 21637
56838 40592 1709 53801 48849
1745 9972 20702 56861 12711
46410 48490 44425 19417 20978
20602 22439 29121 1749 44891
29526 29455 34481 20668 18947
14597 9091 13766 7173 40465
5361 2251 26974 39793 9490
35090 26717 30419 7001 37703
49183 52147 28252 2215 11000
36457 38463 7661 50087 43022
15164 37228 28972 11978 6648
4523 361 45770 35031 43876
10474 16806 8583 35786 24388
17391 52202 19701 50124 46182
15164 1081 24350 8662 43484
31675 49243 53384 34921 44445
9155 11372 55366 14711 27242
52634 8180 34443 41937 47074
24044 54903 27349 32669 9342
33469 7737 35661 51234 54785
9114 57115 27938 40314 51753
28980 6335 9695 57004 46528
39155 44504 55128 19780 5073
34368 33228 39741 19208 17003
50625 11819 9732 36579 19208
28527 17054 25673 13480 25564
6337 36550 42801 29916 38827
14629 15720 12587 3284 2660
57087 15400 27772 24999 52193
29154 56087 20553 41184 41502
2344 1052 41294 35724 5900
3153 49002 39070 13156 28642
35435 21708 57224 33154 1579
40505 23807 5021 27837 16143
30661 20882 55551 33498 45352
41476 34332 49104 9756 47179
18296 53047 8923 12087 379
6355 830 47236 55964 2239
38704 8645 47135 38821 21931
10710 2697 45012 34936 32596
31769 7533 11897 5523 2362
41075 35756 36372 31962 55416
21149 29144 16184 44414 38455
34890 29588 38424 31462 48202
56093 11094 44089 9460 17994
15515 38912 8503 18841 9938
33426 5352 8288 50878 7701
11446 28329 13537 2279 28781
33224 21665 8455 53836 1557
44307 30824 54940 52206 23452
19671 9156 18021 36886 52370
39380 15898 29717 30339 13289
46743 10520 31233 17392 54116
43321 43765 14549 3031 51227
53061 316 27117 17904 8704
21149 42430 25518 14870 46194
4311 13798 23813 28615 12052
24443 10831 37083 13580 32212
50429 22610 43930 15376 3619
48092 40830 24285 27274 39903
39102 50669 7817 44313 45363
17552 7743 22743 3628 24507
3466 17103 37589 55343 48742
43012 7693 42418 2071 56547
51045 43254 33807 18862 51785
2201 2592 10834 9083 13875
7341 50935 11712 49840 18286
15817 50866 37460 41944 27323
11531 34212 21873 43027 47793
40406 50869 35049 16003 9071
20159 25904 42367 2125 36914
28036 194 18571 28074 21920
25658 55833 45319 22899 24887
57134 56010 34127 30147 12239
33280 51632 16371 28302 27643
19719 15789 10425 45768 27470
35562 36036 49044 15215 6550
14833 459 3590 8960 44406
41194 20109 22092 39442 50672
3389 32241 6796 38618 11831
3429 42686 28971 32947 54200
27661 26723 4918 39235 49182
24828 27710 23192 39168 40756
25838 5773 6580 36295 50595
11389 35180 29397 18813 15976
6610 34158 21440 16967 53397
32398 55816 11379 35253 16151
31485 55460 34767 57154 30412
18735 39189 43093 10240 4470
23113 15644 11652 45934 25097
6698 48148 56972 30997 23999
50274 37804 46841 9077 11174
9093 28165 24881 3604 57279
7417 34101 20025 48130 4462
22107 31571 19530 32324 12426
22044 33091 36390 15654 55967
28219 48758 24032 52279 11664
1970 41109 45563 7058 4784
3402 35950 47549 51814 47478
26689 50051 47542 17799 23491
14106 16036 7335 46059 53838
35211 8858 35162 27506 30371
6871 48109 40950 6471 29798
31903 28129 12901 40236 30966
27782 21230 35255 20152 20306
45279 4600 35923 33731 31479
8647 24407 4584 52249 38191
3964 25829 10033 34617 54119
4399 4465 3990 28656 45813
41150 18928 56560 23882 47860
36423 56165 39166 22031 47312
27890 11633 45290 6197 52804
50342 54034 6110 254 3023
50103 52558 31129 49704 48664
10704 51307 38965 13924 35070
3896 10262 18593 15721 9500
30552 47525 35003 37807 44537
54830 33053 2737 12588 54244
45718 51581 44566 50097 30993
36965 26384 38827 45939 41916
28532 9047 41545 51386 37222
15993 36743 43159 56103 45101
14197 56549 31923 40691 16284
43961 51697 9018 46733 35248
37859 37749 37215 9426 54885
46930 37131 26345 25023 34018
651 14488 27394 8717 235
14816 49190 14559 55736 12800
21781 31967 49434 35950 50932
47249 54348 53058 4603 10414
44747 57085 46733 14285 31302
22986 1074 19797 28625 12314
46605 28893 12737 42483 24597
3408 39531 13660 45718 1225
16254 26656 32977 7405 44682
18053 21328 43021 9994 48090
20478 10267 2729 32306 38860
17384 53622 973 16100 21405
23084 48882 20921 50116 38958
42292 47772 11575 29718 9868
54465 51106 33130 6640 49628
31107 632 32749 53134 18827
43725 2719 47798 22885 30006
761 13911 12878 30291 43815
533 55237 3645 19483 47715
13438 32370 27632 29882 46338
11940 35747 3341 46283 16849
36913 24764 5030 12655 30797
38951 2638 45963 24817 40116
18286 28888 37290 19241 26692
14448 9036 23039 43834 45138
43642 15760 43224 35043 42677
14274 10730 35459 13708 40805
33079 52920 18197 5566 22621
10781 26129 10366 3004 50653
44199 20894 5488 26494 46274
11065 25168 47397 46019 56078
23050 8418 26030 7844 32306
41391 786 30272 22208 11618
16509 8706 48686 45042 41606
20293 3277 3091 18687 32849
39487 1802 51680 14042 53520
17520 10511 8825 518 9919
45146 47719 27331 46986 39900
15710 8396 36277 54840 8599
46644 45120 13621 25529 41055
8724 33170 32327 10790 39235
18225 42152 22901 56990 23942
39453 6649 40737 21874 24124
92 34478 34311 1374 47318
32740 31040 37804 30980 47728
36518 17205 41808 52353 36454
10489 19738 19929 26646 39614
14891 45513 13876 49916 24893
45718 1852 13806 34158 36853
54683 45427 8452 1207 26640
11641 35543 52071 24530 33576
5301 13736 35761 31932 49005
3210 40668 26822 26472 33960
6781 57102 47194 19305 44779
730 3946 1155 13090 12929
1277 26728 3221 48655 10595
37918 44725 24819 43168 579
46363 26319 44352 4129 23838
27090 40657 24509 18524 7149
22608 50330 51357 19282 48756
37923 28 56850 3985 35392
31180 36450 53746 2934 20983
636 8095 6285 45407 40226
48754 31563 27669 2354 34391
25950 18273 204 46704 5214
2300 1280 50488 36760 45618
49991 5094 22067 12620 3602
56211 55095 57123 45859 57328
30890 43121 45969 35707 29115
53450 41017 26737 36748 37665
54560 54920 44804 8865 26155
25764 3664 9563 39739 47929
28404 43114 21862 23967 41775
41233 13806 55097 5802 16918
16083 34516 56593 21930 52121
23293 12283 4160 2839 50906
13112 48815 20150 21159 220
48120 9566 16241 48922 41199
49912 11228 39995 620 23970
28489 19742 38915 38452 8232
56021 35008 9873 19021 4472
31338 44688 18598 28547 36024
8013 17440 27041 45278 4829
29213 33873 227 34346 34012
6514 27473 44600 12830 2661
54033 52733 54636 47453 51751
44037 27070 22548 26710 42291
27184 18045 40871 31325 2339
13620 11911 47855 9756 13041
46437 39665 43840 1275 51487
32938 43221 40941 43751 35685
31162 49429 55952 31487 22038
7969 1087 14034 45625 32544
56247 51536 39306 14295 21577
1607 15312 19891 53379 17517
43546 12516 23485 8729 48331
889 31097 10298 42582 33055
8151 28506 50091 23631 8124
29677 53597 46794 39485 52282
3241 55762 21056 24053 55626
44740 29260 44175 15640 53959
39964 49352 41699 4422 17205
29104 47638 15639 2512 13481
20629 28047 2146 3478 31014
42902 42434 53497 9741 13821
45270 3434 32215 54458 48119
12713 28876 55936 38264 45628
47333 52660 4136 54931 53977
27401 13088 31245 7078 31204
39946 8967 9785 49254 18684
43323 16304 39099 1242 20198
4596 46524 55234 21230 34015
253 42762 42345 24676 9761
36960 28445 36568 45273 48662
5743 34838 51538 49940 34991
20362 50841 43026 7050 44691
47419 46839 15425 29485 23730
51130 51925 38545 26535 46008
46923 53762 21004 8446 9303
1370 22276 12492 16146 34951
26219 41552 41372 18572 34683
38459 50710 2951 22830 24126
19947 6684 16090 51686 2532
15014 5943 44853 54553 35214
9223 32408 21466 32753 28363
22968 1013 56805 18804 40220
805 10137 32412 33730 20061
30236 53189 45142 49182 17699
1610 14431 54183 38341 47976
40443 56749 26363 18635 39143
20345 17795 40106 7757 49420
55204 2449 53635 4485 38418
39849 34770 29836 14358 41461
36637 5143 44228 41871 11124
8579 35142 27991 6670 48178
28626 16860 46035 28900 51250
53001 1926 7318 22123 16436
53691 18701 33723 25583 21959
3023 9842 36840 42070 21509
55477 50244 47354 27755 45088
44472 55789 46073 41735 13675
8738 26620 53606 54992 46635
11181 50592 27264 17832 52459
144 33834 6420 24450 36161
50242 5994 26070 57232 7828
34111 45611 54299 21438 33154
35578 19338 36770 54931 48268
6758 34984 18589 28191 38197
42259 44696 27554 47867 1403
9762 25533 23736 45581 35574
43609 54331 43456 2453 49868
5387 23523 28663 44052 27964
13258 20056 25604 27535 56993
24999 11284 33444 24248 51540
46253 29680 18039 47646 51243
53443 8628 46611 21800 23383
28955 28641 24268 55496 21866
4304 37013 5950 9339 41794
36001 47181 49762 27763 52677
32450 39506 18935 23003 11757
43726 24295 5578 46425 49619
6164 1910 48811 43589 39978
51504 26373 37948 33065 29279
52842 12415 25577 26813 42048
15596 29065 31246 46355 35997
29003 45439 36829 44188 53972
41833 15102 56137 24988 8852
41583 18605 25445 48197 54291
20917 32218 22927 25289 6375
35444 20250 29781 10943 2714
26065 39983 219 5619 45186
51850 46021 12018 9172 19140
18719 8397 449 47342 30351
14884 8196 11407 56865 45841
52272 11381 33923 229 3850
44622 96 5738 37192 18729
51713 48856 36402 55725 6209
2740 56395 41920 28717 26668
3243 47852 5845 10953 41834
17339 36480 32379 41373 53812
28268 8360 44824 35214 21931
45975 40361 1829 24113 13064
25197 43015 12131 303 6919
15461 3826 11323 9435 21002
530 12704 9554 11910 43491
22679 22025 16422 16240 32653
29826 7228 40247 25339 49764
26666 52063 40624 18771 16555
16132 9269 40626 8782 14790
56068 30431 44290 23720 45092
43351 57153 50116 48561 15943
41570 25698 48603 14584 1528
37777 54058 40458 14631 31768
27084 14538 42656 39820 15105
36112 48757 5900 1098 46413
17722 15552 10200 43221 41224
39009 14683 2158 6995 29000
19489 36328 26135 47237 48250
48301 44187 39245 21783 30033
44671 20463 36655 8355 29566
27816 3779 26081 1871 52555
35202 3199 51072 52759 19002
42315 33835 39182 4175 34428
49199 9401 4175 7665 23250
2673 16979 19753 13212 5061
32809 37665 54103 2253 19428
10700 26725 15019 29845 16300
48678 37623 13499 55352 40700
10636 6324 55683 25826 54193
29496 51346 33994 51030 25726
57038 13137 47121 16292 54786
72 26137 15183 15358 55366
37629 7798 53550 27382 13087
37755 17626 14121 33308 4787
47730 24208 23846 25945 51054
29740 22416 32104 27437 24351
28193 45930 9675 3153 54428
24324 47229 52784 3529 25482
42355 23928 52076 55541 21565
32199 44094 46668 22590 26286
32082 14620 53080 1854 27247
16661 33004 14000 51720 50715
11504 1919 48406 44395 45586
12856 52983 788 35499 2697
34469 10356 7273 29017 18808
13493 38292 38967 1911 12783
51427 46064 45769 41056 48860
16736 34356 13910 7002 55191
48495 46420 51471 23461 38962
40140 18125 31396 55085 54052
12934 12909 17700 10789 11453
41729 52890 17396 53904 7600
12051 19858 43745 39302 34174
37080 37057 56523 26308 20123
47512 47977 34929 52226 35740
9255 27371 32750 12742 25572
56174 726 24598 40040 14996
19594 22349 43202 49694 619
37098 50357 18108 14543 18099
53393 2646 24075 55927 35004
5446 42104 30572 2064 53434
54330 41864 36746 51631 54534
27209 5571 1138 11917 6887
32922 42027 16789 3178 33209
31469 22172 40978 56048 53550
57153 19161 20293 13848 27188
55972 12210 1324 10207 26090
46219 12420 52460 38357 18168
22973 47391 23329 38606 5365
46318 13126 50041 5786 43911
30916 13164 3722 22202 26302
34267 12058 44001 46774 40866
41601 37906 33110 46822 17776
45608 53206 41627 15675 371
25707 19274 32979 10382 53836
48876 38277 6291 52708 48186
18725 35155 56124 23609 8991
54780 36171 11123 46292 49782
28527 10326 32387 29455 43736
10100 16951 16333 22096 5492
10647 15695 57039 11204 30071
45222 50283 19646 51386 46286
51456 26036 464 32665 3030
17279 30468 36652 56418 15443
1603 39398 48568 48920 11080
34620 36498 30555 34359 11005
10187 55670 38492 34530 26501
14108 12536 6417 45913 18354
51207 47696 41132 38826 33276
2244 4214 2468 24213 4104
14252 707 50515 46263 21206
29490 44612 12025 20798 13021
56258 4521 17852 42515 6257
43761 12997 39716 255 46454
22800 17144 14530 10663 2482
47315 3960 51220 46997 20475
48716 27747 53561 51118 24881
37465 4279 53030 17537 27907
19055 49319 55834 1796 31604
14321 55833 661 17531 55149
34767 52947 54453 44247 12100
45005 15511 20029 7789 14031
4394 4073 24541 572 50783
42474 41467 19239 51700 25102
22779 27158 35841 50424 17317
56314 52494 10314 49422 16128
15214 25756 8994 26509 35422
51517 29500 19345 45041 42950
48743 51950 41984 53922 34849
6585 16476 214 13725 41108
5139 42774 6997 12 3695
56548 1689 39724 31339 33337
28144 7574 7022 2269 24485
5807 31723 6121 28059 3055
46104 55141 47421 18875 26000
33288 49930 39 324 30045
37409 34082 7088 30349 46223
49839 45332 44769 56807 26049
46392 14085 55332 49475 3534
19232 25945 39436 54326 37173
45079 17566 14476 5110 26216
5846 14317 343 55269 5291
27795 37187 52683 5734 5919
27550 13799 55274 18646 17475
3221 48326 53084 47328 41456
24810 17642 51661 21844 49650
27156 6005 36971 33472 36548
48281 56845 9596 39438 1439
54408 1924 31098 29824 48393
7436 52890 30807 38849 35821
10752 7723 22894 34441 41493
851 49327 5073 23490 29736
33382 38347 18311 20425 9097
43914 10568 8108 52944 33791
26201 326 32009 1523 37189
55788 8141 55549 39130 1700
46317 40089 4292 49766 16263
6014 42148 2886 47512 18708
15708 37979 16353 1365 45218
31460 8394 21847 44636 1778
40667 50216 5611 41450 35143
44262 53993 9222 44276 1618
12939 49011 53833 23847 16846
27347 47225 5525 25470 32556
56489 9664 26868 42021 40624
27021 10389 38687 12991 37296
31373 10795 39278 6051 39304
19714 13240 43481 22586 15586
7803 12987 4941 37850 16252
8099 12386 4375 41890 36067
49493 38742 9710 24290 57054
12174 3209 36411 8912 21654
9511 2156 43837 27394 24233
29054 44557 50455 3643 52980
45153 4809 28897 10790 15279
26624 53715 27981 27410 19902
56303 15121 32267 56363 51611
25199 15244 11830 23340 34530
41402 35938 40409 44114 50475
50937 3935 15051 38851 24955
3870 1505 19916 41779 4733
2909 43104 18746 39031 17451
50940 30924 35435 44099 30502
12110 7375 43112 51332 2321
8944 22339 30449 56928 20782
4997 45054 23564 56130 23707
55051 54724 23296 37965 22616
28888 50779 9032 29332 56958
212 8800 44650 39393 44610
31981 9034 45295 32042 43865
20207 14409 53265 26060 11682
35145 33070 34937 24215 41616
54553 11681 27981 24507 14117
46785 53645 49783 13993 26488
51809 26672 46517 40959 6705
23065 14718 52803 17957 34410
47619 38810 31496 7962 6622
32362 55770 21553 29941 8505
31957 1273 9817 52238 3461
40150 24555 35181 4358 47720
52907 15996 54085 8261 27971
10359 2257 38333 30734 22074
32365 4523 2645 30791 15465
18935 28751 43927 36806 25917
25441 1295 49757 46081 52315
25830 858 14142 42528 22050
14850 31491 12583 15831 4758
56252 11894 27372 55823 44165
21959 34328 48084 6658 45512
52914 28030 15704 43742 34380
42157 54767 50983 15409 9227
38810 23995 53207 10413 24764
33534 22587 27819 1131 40852
49211 2873 4665 7477 44713
3067 49429 3117 40923 52453
35299 56188 24428 47584 39303
45848 16874 49134 33692 53689
51144 14524 31017 12909 22634
23534 3468 50200 52020 53769
48128 34724 42710 57084 24782
13143 55452 38885 56911 16586
20549 29073 23612 8604 2651
27159 56332 5086 34798 2177
21379 36907 20151 25876 55439
22070 36639 12274 21917 48063
8031 49059 25598 35316 4796
25461 52677 35887 50997 45979
45102 31273 44859 2127 3727
21575 5333 11825 32517 28684
28014 51567 5996 37376 36512
5612 33161 9335 23907 54342
45061 32373 25090 23431 6548
51919 28346 14304 46208 39445
17292 46279 32364 5445 15649
17218 15092 15587 10952 280
38946 35403 12058 916 55830
29004 3872 31077 13005 47193
12782 17038 56762 21119 40883
23724 19759 48561 17205 43061
27106 17930 53061 55147 41892
34229 19314 53012 8619 38936
19103 28599 37280 23046 40605
28133 44534 17246 11005 51228
32328 30749 7413 53016 36370
7669 4797 25211 7670 45209
18986 6498 46138 42178 2684
37656 26009 46734 40355 17408
34346 31295 17534 500 22699
18763 635 3211 49462 31443
40425 17364 28123 42645 38296
36423 3816 42061 10712 38436
37304 40810 53132 4365 53068
46684 2502 39924 47668 35631
31555 7111 48768 9193 36132
68 31135 34491 28216 53502
51474 12929 33228 53114 54071
38564 6807 860 32523 34636
24129 23883 44397 55097 28476
57064 45277 33350 15572 52678
37980 26328 49248 18806 10576
51523 5159 41951 50735 14860
34359 9194 37231 35555 7870
26291 6004 926 26353 11310
1868 1006 21379 8611 54434
1620 38543 38616 52469 34775
34911 36159 51898 34672 20952
43791 43747 48474 14551 22179
52796 47030 38407 56185 56734
16812 31091 39204 49935 1247
17617 56213 37603 23563 51660
45982 43092 56014 54638 53740
27370 25336 20070 44512 12360
10244 15472 484 4039 45259
51821 35880 158 8700 30909
54917 32796 49133 35894 8065
13488 25728 56534 23825 39679
43982 5183 20105 32178 51397
16224 54861 506 40550 31674
50759 4313 32692 41465 55768
42673 20398 37148 47442 34829
40399 55147 35665 46354 7720
20270 55935 10013 31178 39066
36880 27160 31960 23621 27462
10494 24802 38269 18700 25393
21190 25335 25767 146 51113
25274 48085 19954 29316 6166
3474 28403 39105 45096 14881
53307 27398 48101 43215 56036
46911 3895 26799 31022 30708
44496 38560 55958 36919 33024
43779 6830 31137 12153 45104
34005 45895 32114 3666 32373
7970 32488 7096 50558 41144
25218 20843 46688 54010 18056
50742 54794 33016 8666 52907
34960 16706 16419 41453 19023
52984 39698 9306 29637 18524
760 31902 52422 30553 34287
1417 42801 31058 20337 25999
34333 52740 34896 52342 17698
47457 37551 42567 55049 24711
31409 37440 57176 31217 50754
37358 34443 41927 36109 17820
52450 12031 51639 23971 9131
23179 13308 14779 26941 10807
47948 10432 49991 24860 53634
29327 6172 25068 1531 44370
50921 35299 55746 51924 45734
10742 28677 9822 35923 43698
24441 6179 26189 3025 42621
21750 29129 15525 52706 28362
34431 34791 42883 56940 52895
56888 53669 50828 44304 11792
39562 4913 8267 15276 21806
29926 9882 36134 8066 30975
51420 48022 24477 5334 22203
46634 16827 31250 19053 5703
25324 27338 24595 38741 26764
42985 42202 5192 19180 42879
310 21575 15591 24076 56432
16188 39620 5936 39492 44867
31627 22758 42586 11794 46667
54358 21927 13833 45091 12363
2195 11578 38520 38289 10480
29251 45251 28467 8662 22797
43657 31968 33214 54544 24154
22941 45134 38228 8222 3451
50410 14682 33671 6689 7604
22369 2346 17315 25771 8410
6681 43275 37262 40003 37913
48512 55913 19533 181 47034
53916 24127 12994 799 51074
18509 40210 37230 38892 35692
10516 53132 11112 650 44242
376 24479 45472 5812 32121
10595 49606 3706 40659 5710
41628 8882 13736 4159 56931
36181 48473 54813 38287 19828
37824 45796 6627 5399 36083
16230 41631 27254 15225 12598
56685 7780 55471 56403 19368
8609 16053 27475 38598 69
9662 56686 33681 49185 2479
32900 50690 26168 52441 35998
50632 51333 34333 47595 2441
34138 2784 32405 3315 24569
48367 49707 53632 25404 25263
19799 4778 37366 32032 16517
54211 23759 56634 1037 33411
45870 50999 52667 53490 43931
10057 10273 30427 30443 28669
7576 40782 56737 43397 41700
40453 13733 24953 35754 44392
26723 7138 33241 21647 37735
26978 47585 40128 335 9477
10249 7851 50226 23094 47131
26534 31134 5974 41088 36738
9374 10303 15582 28621 57087
42765 18395 6809 17378 41757
27398 54618 34825 16059 50666
32330 36736 55383 30555 40941
52292 23081 27308 5501 5110
29755 22861 1276 42406 44449
4016 23565 621 27035 40808
45266 6715 53879 6694 48032
12732 13491 20599 55957 6362
32078 36166 12998 42047 5093
4650 33441 6705 16293 23000
10895 33481 37658 25492 53133
5335 55982 9302 11318 22117
6623 5165 11213 7757 34112
22123 46623 12678 16844 24278
44784 10599 30698 46122 10386
1162 46757 4206 34957 42091
24265 21558 51933 24363 41564
10745 42451 55926 21763 48263
24363 31064 33091 16368 48391
41555 44541 35035 46271 467
51435 50963 4384 2217 41606
10803 35950 11805 17293 25940
8148 39764 3421 48046 42460
52360 17110 16146 54469 46821
26171 10824 45181 39591 42674
48971 4787 48462 22518 22268
32988 10111 18310 15494 50424
42625 37515 18816 50833 45885
26432 49564 22473 39303 39815
3193 11069 20011 52373 47114
45302 27940 33009 20573 3208
6707 39625 55850 18050 36716
20953 13520 54420 53193 37269
1069 2751 48355 41197 15747
43379 47885 26275 38178 47216
31865 42614 20462 15 38568
14782 29092 15009 10066 8382
44707 439 16816 5496 19661
32429 20562 10776 41506 41820
8182 12219 30686 22267 29523
57115 20890 9465 41499 18890
21124 21549 10455 42178 27038
8722 11594 25145 15205 4902
8969 33462 47602 12888 38961
24491 12516 51678 25671 25989
21758 5785 39707 22756 12190
56969 3535 15624 23495 37517
14624 25708 21552 24951 11023
15961 55317 20002 9309 33324
43954 35476 1961 48230 25103
11907 16680 47839 25528 29878
11153 56394 55423 45494 45909
16538 14819 2561 57266 29457
17479 29279 14144 34094 54600
21034 34649 55009 902 26548
25100 41312 32621 33921 31803
21296 34322 13208 30726 29485
50848 5494 1287 2616 4433
34890 4816 10869 20080 12510
20172 26192 23335 29991 8373
20969 5448 29738 32833 37215
36457 54479 22149 8478 19256
53518 17157 19706 52966 9343
18446 18320 43466 2417 7225
31235 37892 38226 19527 41870
33749 6910 38337 6525 27070
30969 6679 30239 15725 25458
34021 21302 7812 42977 8103
21855 10151 8033 9435 6911
1906 43150 43073 50388 15895
10169 46895 23453 6582 19175
8021 30021 25412 50849 38825
55952 4959 30408 37651 29107
41762 4597 11621 8925 56469
34388 49961 31281 56126 33965
5654 43894 30225 36198 41549
21137 40874 43998 39019 45386
41698 22476 47393 52377 4268
49943 12229 1020 26467 17170
18897 46843 50150 1577 54807
44136 48730 7394 18498 57335
34325 21188 51196 2013 3259
22772 47879 13743 54761 33935
2663 46086 12494 7484 7841
38146 13141 12061 2643 8421
2134 20700 8959 20031 30845
3089 22045 24825 10386 50479
33018 2831 51727 52006 23175
40681 6972 8806 20678 11012
28157 7946 39776 49346 12789
18463 13156 14942 46260 45155
4050 33141 55902 17477 43170
25208 8848 15904 17228 44536
2759 49160 51417 19682 49884
21313 47394 42819 55181 14484
30704 1797 2026 19880 26941
52268 8221 23802 41817 489
37003 33428 51531 29162 16937
37322 34008 13422 49032 8358
33736 27510 2987 35512 25646
30554 14546 1332 29101 25476
20792 31756 24825 47106 35160
6981 34711 2675 21509 51825
9787 17251 22605 30769 36902
45349 15932 20545 34476 48099
38114 24838 43035 48899 355
44544 52660 48121 11841 42655
1029 6048 37293 33409 5712
9140 12002 52502 46854 12370
19020 25711 16000 7234 4539
45766 51464 1688 1000 24408
28066 33866 50159 44270 5105
28604 46311 54450 31018 23359
56251 20782 37808 55743 25262
36257 3720 38527 37005 15320
53087 1706 24879 28847 5396
3658 5529 10036 17962 45860
5120 21303 16560 17387 56219
5340 15577 55900 6815 37566
33487 38737 21313 50174 18429
7878 55116 19309 35445 51202
55526 32369 14443 25558 35834
54390 46581 15815 49983 33761
28121 6530 30681 30647 13718
5586 435 41084 53143 25009
17599 291 36834 17292 52673
5066 38306 21235 8509 43833
34337 1490 18312 27470 19353
14654 19152 37859 8051 37308
44646 15465 20064 48160 14512
38702 26084 14878 13143 49789
48331 16721 17086 16611 5484
19562 25990 2027 35502 9806
42946 33299 46076 22118 15277
2436 5671 53230 38231 45367
57162 29349 57055 18598 44666
46472 17803 34989 43238 55542
27929 38852 10450 10355 38274
6105 32275 19282 14242 30910
37145 9418 33395 42924 34884
26394 37367 9299 17739 39198
28701 13546 3230 55563 30271
689 1356 42698 25929 2896
55722 52346 22131 53980 2272
54786 8391 29699 8386 12194
22053 26355 20241 30864 30269
23196 16060 29916 55892 15183
41865 18041 23536 55492 35820
36891 12204 16522 56008 33874
24325 5993 26103 16107 8277
25110 46429 2393 47846 658
45141 15374 6846 31030 17908
926 18478 16322 55485 21049
50498 22977 28396 52069 4071
44345 50594 57252 25775 21828
33590 56983 9701 7995 12493
22371 24356 33507 25646 17007
52201 8700 10973 7510 18137
54769 34917 38119 7811 51071
4083 50896 552 27312 42461
20835 8845 17787 40608 54169
40174 47873 10501 19370 50627
43159 3645 57173 46503 22597
16147 39381 26867 48944 56886
54831 11781 22279 52529 12800
18016 37392 41533 38761 44257
12550 16912 3039 2247 10370
51352 6837 9055 52252 28101
22877 131 42960 39420 11649
19546 3987 18892 50217 21792
20259 31718 34040 46401 35040
8274 7695 30301 52567 47114
19043 52900 44669 18635 43812
26127 18411 54891 9748 31608
41269 22543 25081 29968 37047
38556 31748 5516 7876 55417
42494 31082 13749 46864 9090
41104 27749 15034 17114 15626
53584 40617 31203 9611 7618
21335 6379 49251 45474 37871
27033 13789 5746 33491 48346
49437 52091 33980 22146 11520
27967 31991 41358 26156 28066
25730 39651 16099 36513 24604
14493 55904 27197 22820 18593
10982 40168 17156 4539 53530
7982 17865 1483 20062 29494
34547 39702 24594 37510 31120
13213 6968 22044 24485 56459
344 45697 50896 9339 23842
915 19345 40147 30689 6664
4685 23218 56099 55879 1676
53212 23600 6990 9413 22739
24481 50814 41612 45832 51011
39959 7857 44439 23797 12916
56323 37430 29100 10229 29323
25429 5428 11847 18681 26172
3383 27661 46389 38201 35074
38338 54125 35843 23067 26111
36771 8894 15069 38369 28438
34943 17073 45887 35841 43036
39918 20628 48240 28244 52533
31827 20550 33999 22798 36421
48833 25898 47185 37814 40242
36140 43530 47752 40865 31705
26868 10621 6441 26320 31067
18240 50393 3767 25768 8122
13116 2425 18983 15398 20283
6096 53073 11635 40831 40229
42060 23155 41242 19146 39105
37087 35110 30828 56153 35651
12648 23347 5516 6237 38941
56317 32579 26153 18226 3098
48695 22690 25898 32544 20303
1501 7049 7519 47885 37209
5556 51913 11997 57021 35387
44672 53252 45889 47511 23256
41394 25717 31099 38943 57027
43487 37561 47105 19804 31576
3474 52526 16748 42029 12879
7003 24326 9912 32462 22538
52002 9745 46813 12073 12925
17568 41038 10467 35621 13479
5910 22098 914 49790 41797
35449 4149 32694 31602 16395
652 23975 25146 35929 20638
14492 4155 37597 3465 11413
41951 16995 30674 46169 19957
30767 21635 39207 16865 17430
56576 51922 25002 52172 45433
9993 32850 31907 51395 18539
29819 47515 7570 23333 1784
14189 34038 33172 56714 48527
32574 41239 47308 420 22411
41791 53915 8279 37916 9555
34140 8348 37176 41169 37933
53848 47722 32956 34786 19975
12431 21440 1291 18667 50402
44956 25355 47833 29290 2389
1794 37698 8303 45578 30289
40539 41046 11799 51511 35066
45258 18983 1811 31323 30314
54486 6427 44253 43383 23955
44610 23174 30665 9408 839
43255 26774 42030 30592 45340
50453 13684 13223 11619 36306
47543 3848 25665 32019 45680
5407 27449 53683 53788 26630
20900 46023 38433 51550 24033
48313 53659 47734 19370 39957
37413 25650 16327 3180 45363
55200 3216 24078 3987 22338
54627 10998 39663 20634 7736
18078 47208 44143 42172 9018
21508 30524 44461 20031 11970
15984 48562 8652 21346 44910
53562 15061 19437 21774 52937
12664 44432 6830 30244 15848
18550 50334 30381 32456 25586
15124 55931 11145 25689 12936
34011 31088 1275 32090 43940
8986 16154 2566 49040 55888
9720 32 8803 15490 5858
15162 21785 35010 11007 19643
56954 296 39157 53808 39769
12162 8690 52385 19567 33805
2187 50082 20035 51952 55195
38099 32254 16117 56124 52866
8245 35696 29000 43278 53342
26604 4131 1985 32451 36963
55828 30100 37923 41247 53508
38013 19065 10440 26705 17349
39986 48218 31049 37403 31125
10857 811 33169 52749 51466
9005 23137 50279 30582 12478
42229 25366 40740 49604 24946
29841 40981 57308 21552 1976
46575 5524 46815 6620 2921
21918 30081 38729 37443 8805
49758 46945 55741 34198 37757
23610 10126 4464 9617 48603
53118 56163 48124 3387 20746
26975 25419 14233 50988 6278
10878 28307 42498 20207 27991
51394 21273 5129 41689 16604
17004 11991 5406 53 36490
19984 46380 46581 6290 24320
19759 39741 19615 34888 22996
53110 45622 26482 15453 1018
8360 15461 10448 6368 52075
41329 21823 24028 38767 43619
40075 33738 40505 30131 50878
24513 29451 28206 41657 6363
41534 54805 14199 56019 44358
25446 38369 44831 24709 54627
1220 40778 16007 44142 31800
19444 20505 6448 13887 21026
42305 38444 31397 48042 49995
35805 40517 17946 32838 41998
24466 13573 14683 40482 31551
26766 34017 23508 3294 52481
41340 20248 8883 13331 50446
26996 51351 32932 10685 28799
2860 50149 32035 42942 29354
26799 15732 28454 38692 16792
27358 42844 6472 21313 52032
47741 48333 26228 12149 49929
8104 43698 15114 17803 1766
28933 44684 47854 8752 26239
40587 35532 21498 4058 3569
55247 26996 26225 15433 52158
4203 19166 35438 39687 32626
4416 36362 1304 4777 41430
8145 24433 46008 36318 53981
36399 36320 23454 53963 28324
2472 54174 18491 27955 12423
34960 9520 179 55547 2979
127 45779 2492 26672 5964
50752 56257 19727 37057 4301
25234 50054 11123 36527 30463
36083 1927 14085 3510 33581
14891 32359 55840 30034 56172
43091 43487 42797 20253 27649
41983 47826 31561 5251 51472
10897 55329 734 8329 34163
13264 24596 29704 150 45100
30873 22233 47662 42978 50505
26223 55493 42135 12178 52098
24760 24629 48450 43126 28720
8608 14358 39395 9158 25647
14307 17721 38055 44918 31241
15604 23927 36902 49500 38923
38178 14301 46124 38272 27389
17209 26186 18402 1533 47213
35956 18933 3557 29594 40631
6265 8724 54365 25562 9091
4977 54839 43337 19048 11403
49789 5188 54943 26517 35893
50111 20503 14438 18260 23065
42936 54251 51224 56069 13499
50778 32722 6258 9819 45521
21189 10342 33875 12635 46087
3486 41582 32435 40194 6586
10898 34658 26130 33489 7300
3303 28702 50455 53613 56510
35262 31744 12046 54050 22678
13892 10873 12384 45059 33544
6414 51250 6513 32429 21344
39330 35903 29931 22714 21182
17617 11832 3442 11123 38608
29786 3542 55871 3766 27779
352 30740 34800 12808 2595
4485 24260 10381 21992 25583
3267 30329 33308 27235 29795
4591 37311 48643 17709 11026
26541 5031 15795 3869 11741
23949 12191 22131 28326 50648
23832 37794 22783 10736 14724
20833 30584 35827 45705 51909
30416 53207 36791 52087 36875
16955 44829 9 14885 3362
53698 51895 23219 5027 12007
15856 17830 759 56798 2217
50984 23876 50075 26922 3477
40660 11195 47349 35884 27022
20797 28012 51624 31758 34573
52328 53147 51878 3502 23698
56806 19572 16277 29068 36028
23829 28612 19486 43388 23692
23501 20939 38214 42875 31111
25793 28497 29432 25951 19487
11355 39249 24809 43047 20693
33319 52005 35398 25298 53723
20477 26162 19469 4241 38934
1049 36589 24862 20463 516
9698 56383 49476 42914 6005
6528 31981 46179 17585 15414
39886 48082 21395 19032 49947
14733 22321 53056 38167 618
54657 810 24126 31504 30494
55726 45125 39694 57083 29296
48373 41021 22287 51387 44118
51258 11252 26132 33447 37801
2635 36304 50433 44499 589
34775 7861 52924 13866 34291
8285 1887 6178 47241 11869
12671 22919 15865 15479 43932
36605 22989 50488 4714 37576
49437 31856 28428 55165 48156
35345 54544 50621 13256 55749
12004 42628 24703 57167 39152
53954 11221 50817 25138 49830
27499 56877 15890 38104 37594
44724 47493 56346 32157 51381
28215 9962 40542 57151 52080
52013 10069 35006 51001 57089
35868 18965 57201 22115 52278
47445 4240 7704 26353 32745
18670 45079 24459 31354 37939
6348 30913 30570 21263 32477
6513 12082 46923 54861 25498
588 24675 45578 1829 55318
39750 1953 9224 22946 12842
22154 15807 41107 30667 44016
11678 30456 44372 56590 29023
25294 24290 12959 21237 23929
48823 53286 49373 26919 5508
7780 1794 48956 11912 951
56862 1613 55377 8366 36585
12161 27117 33070 11315 20241
15867 22764 30547 38260 50042
10831 36196 41548 11811 26694
32396 26903 32212 56532 26021
1827 743 55769 55413 43063
47175 4066 9541 14271 55573
38811 47571 12875 52779 27083
4597 35012 23470 40623 50581
20044 22083 16359 31746 8649
29860 56698 51049 20583 31537
8799 22285 33347 17606 6482
38350 56978 53366 46092 20504
24430 52216 48959 46966 35737
4037 32011 17815 28442 33526
4206 8219 17697 12506 56532
50378 10699 15789 34075 14745
32309 56985 44774 6700 33242
47420 25730 1238 21387 24062
31750 10478 14370 24506 55038
34649 53069 39860 17206 15791
25343 15384 55683 33405 26504
56328 34704 15447 50213 57151
32945 56864 8213 51144 12548
30301 42696 46413 36109 56244
42009 7648 37330 52725 40407
28514 12674 8769 16689 46685
18752 19387 55450 35774 9075
28352 5559 21304 39461 24814
51966 8506 2818 30749 974
20428 42818 46928 23179 26658
40376 18047 49932 29377 35209
30666 14543 38558 47473 55281
47401 42298 13861 38739 42102
47071 44622 22075 40641 53984
22521 21311 23501 17907 40103
44670 21855 4239 47550 23131
17931 51320 12 32455 8100
49468 54101 41440 8625 44886
5651 28373 9964 36186 20434
51008 31507 48679 26519 30882
9461 45607 2809 9711 7415
4532 2465 16853 51825 23198
33521 4587 22175 42803 29411
25109 38353 1851 24117 33775
14868 42413 5231 3822 1694
4785 56673 6409 12328 3704
28769 41204 50293 41751 32143
21093 50304 6307 37810 23429
55333 55846 45792 24268 9216
29060 1686 51805 39592 49594
27222 37543 43984 39427 8421
26894 15699 33529 9058 21466
9855 23643 17555 35354 33151
31371 45148 39990 35540 57037
25751 13020 32287 19157 38380
29547 27289 51830 35779 19930
30805 54076 54254 48004 45074
33029 37864 9667 26162 2937
38076 37453 38337 51940 27912
14765 53525 45516 37389 43975
27409 46052 41529 9589 48368
15577 5336 6077 13823 35981
45786 43971 13518 36783 23334
11962 39322 3495 35874 496
45345 11781 46892 28163 7998
26906 32486 22174 54817 40446
48902 56386 53442 391 36012
49875 23951 14774 29656 20517
16337 31166 45592 37856 18832
41701 31224 55707 8261 18105
48184 5714 23418 12009 32373
25063 17246 39992 31786 19125
1578 56852 54412 30562 10365
11023 382 9285 16596 750
26208 42882 12453 50925 4883
10099 37016 6089 50785 9292
35788 3120 51893 6235 47969
8885 15212 9812 52788 12184
23208 37847 48004 25262 40545
46448 3437 55372 26606 27837
19516 760 5242 44263 37553
40884 42612 20284 52870 33836
11127 24478 10881 36260 19464
13926 45378 26051 48303 48666
47670 5677 8310 53202 17575
17652 46043 27079 24274 49516
9993 18785 56803 1635 26649
37218 47246 10842 20677 3517
28983 39026 8617 46848 44853
8068 39853 20555 33247 26788
42485 32003 32550 28742 927
44731 28206 26852 45750 42962
34031 19592 54569 11871 26726
37040 15781 51819 13286 26605
35582 7157 52203 27462 25196
12363 5962 40054 37049 16642
7927 25728 15911 37950 31556
48112 23037 31777 48771 27832
33800 45056 47488 43444 51783
2822 28802 20290 38467 23005
13409 28791 40827 12462 7079
50603 28023 42937 20814 8762
39801 12468 12335 52703 36026
53429 20792 54508 6748 36892
276 39660 9795 46001 2380
25670 34476 45379 6445 48701
45606 38303 28473 27593 11469
31116 3917 29948 45031 4384
21517 12968 12820 26772 30442
12857 35231 7576 30341 12433
26212 24451 19184 15386 27610
14835 32196 52024 19465 19337
39078 57253 45841 52812 36242
30098 47306 18463 21769 45145
28062 24313 28790 51452 9219
35329 33967 54256 28945 15528
10426 3760 39374 27895 27387
5165 17137 30421 48777 53050
38042 30713 4536 114 22688
10472 53993 27223 46326 49676
23499 24042 10894 8375 11260
6244 13229 28952 22313 20726
42034 19336 17658 24311 46580
18139 30659 45710 53356 12564
46810 29516 36587 27093 36839
32265 51067 50067 30263 32121
11129 8056 13151 17152 3334
36231 50429 38441 29444 28679
5123 42024 31847 49667 20906
46508 34020 44576 39920 8304
23127 45972 40463 52340 46922
37982 7883 13905 5118 37964
38225 42994 23680 27306 18807
43922 41326 51297 15276 44740
26690 49681 55392 11863 26461
30611 46220 19389 6350 56081
41872 47734 19027 39032 39726
19203 27107 33145 14924 25346
54648 52116 26517 6917 2466
996 23871 49171 42405 7020
30173 4573 5745 52358 33635
25296 12612 57333 23540 27462
24633 55535 31139 13246 13584
21158 33738 33785 12948 35372
50040 48148 32026 13951 38522
57311 51436 17923 36364 28609
30999 10790 33054 4603 55596
56429 24193 13647 35992 54898
1194 24924 48252 16596 42497
5092 51950 32471 11355 11666
27039 9679 8723 13933 12284
53090 45012 47195 43537 28301
3311 45939 35026 7043 36387
13099 45845 54129 980 30761
29118 5511 11392 9345 23802
48690 45024 11526 45538 42507
25171 44678 13132 40065 8796
16821 39853 51764 45166 45845
55795 48598 48898 52909 22763
13842 13755 44065 54862 11701
3999 26826 5193 15107 997
20857 45432 10222 3408 50387
40370 49010 6565 22005 28165
15630 22178 28029 38002 6872
42479 4890 57323 3480 5822
30200 51866 23303 28810 40555
10855 15442 10935 2895 806
51758 37520 24206 52648 45297
52885 10338 17771 5099 22730
18330 16224 5801 49814 18525
18276 2788 16272 47224 10394
44966 9458 45653 1882 19498
53515 48135 26984 10290 42946
7099 44705 51467 25592 16154
20738 13644 41024 11129 31039
39102 395 38889 17831 19111
12888 2114 56416 46272 9000
23869 50908 34409 10694 31495
29272 17641 54893 52744 56778
468 24257 6423 50834 14940
3184 29910 46855 38625 17943
56577 56855 4411 49301 20206
29302 54213 56471 45694 20552
19082 1959 11824 44268 13691
17383 13222 31127 37886 41723
49587 28529 20522 9284 49311
40264 46341 39187 19858 13338
29990 35586 40685 15881 54124
21764 52919 1353 10977 26690
5551 26851 41700 47959 27912
43448 35924 54066 6007 13497
54669 24597 22778 43160 7900
540 49038 40635 45567 55800
56716 42405 21215 46861 4007
5960 22716 33625 37469 56951
16769 49763 13677 2852 39427
23994 18007 47033 33033 39339
45110 27664 26749 52468 10696
32842 23352 3620 48327 35769
6769 15694 14668 41189 16451
11852 52477 35075 8726 2478
49088 17302 26936 44481 412
44838 49440 36203 36472 7194
20975 33008 19872 29442 54174
12423 30295 55619 51528 38411
6576 41975 9292 13951 20620
55536 33232 38262 39847 23839
29862 46102 40189 19408 5040
45468 4456 32071 2089 28578
3464 54290 15080 54317 22880
17463 45984 5230 51553 17864
23781 31373 16136 12879 49574
53306 33476 56970 44228 13593
31511 17740 20723 43113 46505
50724 26223 33839 56528 2354
37353 42015 53848 25082 942
31499 217 10536 49887 66
2187 28226 50080 52626 43207
42077 14820 7863 1619 45595
43844 6181 3433 24785 1729
33644 19751 41121 26859 20183
6702 45098 17268 8712 13135
3147 23611 14637 13012 30170
21494 48203 2384 56620 50722
9682 37333 22875 38151 5213
25510 53128 12411 17267 54474
47907 22047 56626 25370 55397
52709 1709 56206 32218 11976
55968 38414 27591 32313 53098
18948 6608 48211 24051 19423
47738 15855 55707 55689 5525
35281 29269 952 9233 39236
40537 30276 30155 7385 17460
45785 55939 31209 48182 56556
57240 10102 13320 20511 35645
13783 30633 8079 3794 1525
7097 2708 26024 8443 57240
4982 6015 41472 40264 52556
45688 48572 4618 396 5091
40788 6188 39394 14222 25966
17135 30164 17580 34441 42879
7668 51909 36637 16329 23690
6031 6988 43635 3236 22867
50032 10682 8642 33492 7836
26366 25359 5923 49181 17028
52740 26480 55843 39823 18528
16753 56326 39687 7388 27226
24524 49151 25172 20189 54883
30887 15600 47424 49376 30324
37787 6507 35591 21010 5081
8165 8059 1228 54311 16168
4633 44689 33343 55212 218
13979 37425 47559 37190 7151
11887 49604 50137 33602 44595
42441 42945 15069 38426 3441
32685 6343 10841 27242 11426
1689 32615 44555 46038 12432
52394 42233 24218 55416 28887
2941 3356 19518 17984 42843
41881 35348 30517 20981 27735
32654 871 44040 49060 10094
24660 28407 9027 903 54021
35657 25207 24121 17089 1606
145 32593 13690 33456 56621
31556 4545 30938 26584 7558
1758 17738 29325 13992 41496
50608 17710 7873 24412 20922
19670 11425 53566 7655 28846
56476 52982 10041 28902 16277
18237 14089 23434 7346 16923
11480 45265 32413 11739 45114
28726 18898 35935 41682 42225
54557 2843 25932 33415 38860
24851 4171 44400 36646 34002
53131 7101 33747 25230 41739
12094 13544 10489 31092 18447
5913 44476 48135 11509 18328
41026 34377 28578 20092 38228
31486 9054 1331 18138 14825
47700 10022 52060 48618 40247
32729 25121 17748 53171 2662
33710 12247 18822 5789 49760
9472 4283 37274 30732 1446
8413 1538 28150 496 23758
34347 27234 39323 18158 34137
39649 37495 19795 26477 4348
24803 632 10026 9740 45096
46372 15707 25787 32940 32318
10814 20394 19697 18973 47084
40261 37693 10089 22827 7313
21200 27916 44847 38215 42714
44189 50148 13556 48957 30696
10342 55923 53398 56950 27273
39876 39377 49552 48865 53784
43257 25926 43434 44799 1373
53594 1411 52247 52925 26207
36218 29622 17665 12858 14772
12 11916 13306 7714 52420
5686 15868 34993 17091 19689
41457 2385 56346 48080 39924
21479 1900 7334 32972 42720
36615 13653 36023 28302 49873
44751 51898 6445 49738 56181
183 16838 10012 5195 32018
18988 32137 27575 23229 53915
56575 1818 23028 42932 49993
40059 11490 15227 23694 31065
44282 15536 53440 48051 3899
8003 23588 4496 24336 37000
14432 55912 25384 32293 42614
12062 23678 6938 30579 37397
17413 49104 10424 47633 5881
51776 8197 13454 12509 49958
10731 9527 50866 55968 15086
13721 42918 9886 10865 56240
2471 29490 32033 47994 1422
16265 7678 51114 18115 23530
49645 12089 52568 33466 53616
33258 40031 46507 20194 47955
16931 24670 48968 9024 36994
631 9733 48997 11192 39046
39651 6647 617 584 234
24441 12630 55356 46937 39949
57172 30840 10205 33369 1916
6310 50210 50031 24942 27180
7532 541 30836 33091 2389
21730 50605 8997 37143 42635
26521 27265 45192 14804 31136
21823 31149 14051 36847 19076
12054 11901 5782 6416 20280
24751 51612 1009 41371 52310
5142 35221 23939 51187 34601
31001 57277 21235 45938 2020
33342 54441 28416 52829 33698
57132 31997 51207 50406 14901
37384 48731 43148 24714 43368
23008 49646 53912 40603 55777
27242 31713 16839 22521 33401
53200 2588 38407 38843 40500
45935 24194 34527 41379 5798
44417 9415 25272 9737 2490
22293 56621 38754 56466 36444
13431 1614 10656 38936 218
39270 7086 14003 6087 20350
39847 50410 20682 24313 39668
3100 33274 29946 34197 48481
54436 14366 19525 29262 21046
10044 6327 17790 2060 2649
50991 44031 22482 1938 41399
30435 24461 55950 21673 32445
19323 11872 26970 23559 52163
2531 33354 37261 26746 32428
44388 57159 14684 53251 21992
54561 38779 3828 20984 20134
11738 22860 9793 2871 2513
28996 32767 41855 56102 10609
38377 27733 9478 37013 15008
22169 16252 35266 41179 24668
53722 12196 12011 6670 42513
54926 4896 7190 33063 25758
27941 46066 27046 30988 56583
7985 39350 24956 53657 10607
29485 42603 56039 11769 47810
16695 34946 20467 45524 4328
17348 10205 29505 8958 10443
2798 924 46160 53588 5376
34107 16823 48938 53394 55589
56101 26312 42188 2836 28350
35721 46345 24303 56709 51408
41842 10273 16338 17794 18789
4080 52805 28597 44871 32499
5466 23682 11666 30207 53855
22006 35822 2367 11462 2973
14145 30367 38700 19803 8010
17881 26206 5021 46842 42317
35585 9176 30487 44747 31118
11200 16469 41469 10338 44907
540 37736 52771 8384 14405
4606 25340 40096 51608 6728
25544 34579 8975 51306 13990
20049 26648 55013 54711 36049
56601 40529 6321 47717 6754
55972 9836 22060 10655 26818
16322 55544 41225 12363 45222
48743 39904 32720 42297 26842
11309 57130 50348 12411 20686
29219 21200 5363 31917 15579
45796 240 43663 12531 28223
9237 41117 15666 45892 38758
5999 48422 27238 1128 37183
50251 24875 21066 197 26522
49855 26356 43464 49218 44979
33606 14055 2566 34377 52253
11706 5944 35699 55215 516
40076 49007 11722 48859 23623
33402 43879 54881 11697 35089
2600 17725 40984 28037 13099
36078 57037 28299 11297 4916
8535 49505 17468 2704 56427
54056 36936 12244 37932 10440
15153 13819 35526 29910 21483
44323 21962 46018 56297 36781
31720 24171 36204 14059 49352
50945 28103 4993 41638 14857
23451 12227 49372 4464 23801
27918 2610 24623 29907 18175
27362 5387 2586 11667 34070
49192 41974 50184 54356 11730
43037 37148 31195 31601 1567
36096 5983 16303 54920 30163
53332 17086 19500 42497 25336
21030 41622 21462 27316 1175
42571 24243 16485 30662 3403
49631 48831 12971 32141 28749
6079 1248 18144 25230 52109
43508 45093 25314 52814 1229
10005 45778 22335 3662 50808
31141 44097 7578 43786 5403
24313 43278 468 47645 5226
15503 4305 53411 49812 21512
28825 30376 52553 41803 27995
16713 39244 52819 17941 9481
32686 5637 2590 14328 24825
39560 1092 25636 52316 14692
34825 6643 31607 49897 21282
10657 1626 3616 29292 15978
2071 31860 47012 16683 6270
436 4248 45083 10426 43487
5706 18420 2034 44827 26570
3805 56540 25188 48983 7614
49317 4675 22221 16987 1424
43619 48250 10203 53114 1521
26702 56252 41633 49413 51396
9187 10516 20928 22285 25476
37901 46956 46936 37203 31702
7065 3031 47574 2362 23298
4946 10975 45508 19268 22647
5516 21188 34178 16247 19361
47799 42493 3204 35081 23893
13606 13744 21699 54518 5142
1650 26459 3659 17930 26227
37806 50465 6339 45236 51096
36825 20342 43543 23619 14419
15990 23995 37609 32106 7727
13144 26279 29963 18053 17903
12183 27697 10631 34377 30967
51309 42785 8338 11626 30650
25830 11463 33943 29557 29372
24396 47019 35061 21159 25025
17215 54360 9558 56370 35385
11365 34693 45814 15964 2733
39137 7550 460 9548 12992
46840 32911 362 24917 10954
46617 37490 25637 38684 8130
20567 4833 15776 33557 11669
55064 54451 11491 6093 49640
52196 37612 40517 31992 15513
29454 38298 500 42230 12023
24097 13552 7894 48587 11789
37580 26770 37859 46495 6172
11015 25770 25233 42845 31355
23191 27646 14220 27878 44787
26108 34380 30321 49687 48968
12942 14708 46881 54788 54113
56374 11160 10491 39361 1649
53160 48615 14897 54945 21076
39267 29352 53902 54282 21983
48514 1675 33291 26785 26161
21851 16654 29795 35554 49521
34209 10332 35791 28809 37042
14990 11062 46732 44953 1349
11958 22189 13943 40724 22037
41945 53755 10144 22845 22985
41702 40739 33686 28224 27034
40605 10653 17539 32038 44490
12898 20111 33972 31036 32258
29754 12787 11372 56375 44301
32437 45925 18333 37118 36440
42694 46301 43836 338 278
33750 42848 35456 56783 5793
3905 36751 38703 28257 39386
39838 14160 39479 34262 35845
55047 2424 49405 31127 8676
37415 8487 2998 29013 24136
41323 31063 27869 52985 44266
8479 38751 3567 29705 39600
7518 12595 36292 20410 50752
2113 7510 33360 7610 4429
4772 42546 25531 26790 24823
42678 16914 21515 55862 37658
833 5495 37548 9380 50160
56118 11281 56967 36442 1834
3972 50655 12442 37844 7841
13256 20364 14790 2701 12255
7140 28835 16893 44625 46141
29644 6489 42430 39808 42598
17947 5548 43714 46057 19964
49068 21789 22962 46339 11822
16096 13439 9711 37684 829
13012 53095 26189 46582 29980
2572 28755 18099 22456 30783
8816 18423 34007 53575 12718
34474 21878 11877 40123 48890
55337 49046 29272 15279 10328
8452 37906 26660 8588 43631
45328 2391 14679 26682 54453
46370 912 56739 1859 11197
24561 27907 31791 8591 9913
31184 3991 8873 46572 25659
29396 8542 15679 52020 20124
57252 1974 8824 21614 31706
15520 14640 48196 44448 29619
5091 17395 40826 14938 3210
13348 31889 10551 6773 41987
40182 35929 18604 3693 33084
3547 34174 27076 20147 26738
17240 12659 5733 10034 49999
13771 28800 47528 57106 52696
41189 27320 52398 6680 6471
37022 43960 19196 50203 21394
44918 31412 40489 48663 43340
22111 39115 19336 1928 24675
17300 31556 40214 42710 44191
8038 57157 50636 15309 17318
44396 22847 34588 55327 51533
21877 6545 8397 30187 41549
26388 3955 51213 4322 27182
40516 4088 18397 13203 46142
27341 16044 5440 55488 20299
36449 46310 29042 36457 18291
47097 44365 9879 3223 22876
49907 4364 46069 30644 16475
5097 51263 26238 92 45219
28527 41694 54607 19032 43708
43297 33668 19335 54307 8131
8428 14655 1949 18369 10541
25413 9588 55831 24779 21675
43731 41599 36101 5434 28418
40384 22945 27898 17406 38598
45369 28468 52921 3055 15626
43996 48405 9365 37807 38696
13583 26265 32101 49817 30872
56638 22583 15688 49284 23284
35539 44639 32317 47779 55805
2538 14321 29849 16260 24726
26176 2974 42475 52902 15934
23946 589 41130 29000 5914
38900 12630 9197 41751 45143
36250 27124 41049 28176 49511
14419 53935 3541 17352 49578
2310 34600 35256 31199 2468
50797 14486 2941 10458 53343
33861 17073 44346 15750 6166
43658 52397 12780 28402 37157
24972 2283 2364 21703 12053
5927 30566 36448 46654 42491
50191 19737 24947 49969 5940
42293 21939 56025 46661 39181
38900 17986 17209 12721 14275
49174 9829 43486 32723 17217
24848 56045 53345 45239 38319
31796 33201 22646 23462 38737
31460 50463 13459 38007 33564
20532 21532 30080 29978 43350
57335 33447 49911 14433 42988
25933 15083 44507 2749 43339
15134 7051 52246 16260 20252
1688 21803 24279 5770 26043
35784 5245 34980 28736 7367
11649 2428 18416 30497 37011
56458 2742 28466 35802 54541
15847 27596 33009 5274 54314
27780 17147 10698 56529 9937
36728 55802 47551 407 18677
45554 21064 5207 51026 16441
44466 27276 50749 38092 41844
10085 14188 35947 5624 49624
23540 3351 11444 4175 46285
12710 23457 54705 3560 39948
38239 19454 31813 54496 20707
50926 51732 22697 23909 33464
57035 23603 5942 30967 13142
41548 28850 41667 44170 54635
7986 45676 23988 7479 29801
29898 50318 15970 15567 40319
16401 26004 32214 24360 14175
30498 27167 43186 49579 25305
5622 25660 55716 32982 26042
1681 48951 1961 57091 53494
36875 44660 46326 39593 33089
46808 4770 45984 37549 48607
22681 52636 12479 14256 26794
36790 22172 29293 14564 13066
51532 41123 33481 56618 7395
23513 44225 40185 3717 7026
30219 15194 3870 45781 40618
36094 18271 17614 9962 28085
22623 17338 9575 41461 43556
1358 3060 33528 32686 56097
36973 47034 9491 26934 8638
43469 28495 48979 54352 47829
27683 14403 11779 21584 1800
15626 25145 15845 29384 19074
23430 45758 55495 26864 2864
34036 38196 25677 39297 36160
16537 47187 22212 2845 28053
8371 27941 47142 4998 18414
16037 22471 357 32087 18069
43534 39628 54157 19383 727
16698 8530 40829 18124 941
31547 46873 29317 3392 5306
8357 39694 35108 46246 13194
48219 13974 1624 53707 7023
12328 52338 46871 23794 56654
35553 56350 41143 9509 41981
24208 29230 56115 15750 33307
56519 13370 52796 54005 1261
12174 34928 54482 37138 15879
19305 13823 21464 23026 1826
26156 20296 23809 11728 40307
13353 1365 8555 15664 36640
41921 39345 42670 30440 175
27663 30768 33298 12217 498
30177 52042 49897 19923 52697
55266 41837 52175 55318 24993
28030 6162 24325 44619 31021
23775 17111 37749 41168 56114
52664 45973 56310 53651 44771
22677 6953 19890 37188 28202
45893 1986 39599 30729 11928
57343 8100 3401 22151 4441
31790 34889 50625 37581 26965
11142 50615 2742 5629 17190
24832 24473 24165 37135 52945
55073 12108 40502 55518 48893
15127 39432 54243 13001 40270
35272 49649 17045 43514 49071
19618 46337 21788 27995 49205
53896 18846 48179 5318 23378
4102 36881 20625 43691 28103
56102 45928 24590 37474 16543
51386 42682 50373 50678 46840
6446 20261 12789 5323 14718
5953 17509 5186 29035 51149
53416 38699 8221 35285 36445
54429 34270 16801 21346 45386
14503 48950 53682 39442 43914
29079 8303 42145 31362 30915
29439 46895 54005 33585 11960
4678 32947 34572 41995 13738
1105 39252 44913 11980 6034
15379 41179 16627 19341 42436
15059 57253 8090 46658 14684
890 33722 21252 6207 53620
38467 47122 48755 15683 17263
47348 29930 23481 52356 7013
13106 8096 30340 15829 21488
56666 6643 29449 38308 1266
41168 49137 32751 13759 49925
52791 54719 55771 54296 11447
35360 57284 51068 22461 27253
12843 47549 19771 30965 44460
1682 52516 36403 26188 40772
25754 521 18693 23934 16850
38454 30821 11599 33201 28208
48295 30310 24598 54633 28102
50157 20751 46323 19916 6739
30715 20496 18293 22521 26443
6138 10636 14508 13355 19499
15100 3386 23226 30017 19854
10636 17189 46388 21607 4454
2949 32259 13940 19155 28442
20951 28620 47010 56427 43792
54030 15708 12390 16814 38369
7046 9457 45206 43308 25393
20538 46315 10650 44090 53267
30390 54059 41133 44735 41309
11474 41731 22194 312 9412
11712 384 28909 44746 28053
49631 19797 11106 44734 40731
15072 28385 2564 28191 30711
36285 38653 25440 41792 32085
3808 51984 27220 22332 33227
51595 9903 6617 3189 53590
6646 55156 37983 8838 9802
15458 22333 34890 27877 1436
145 404 22280 55710 54479
42592 34926 30116 387 4857
16905 48508 52050 22462 49464
3838 47945 13907 56055 45102
36611 42624 933 9668 9545
55188 54908 45994 8919 45988
14684 15586 9107 3469 15657
42639 39096 19274 6171 37704
50943 45809 4265 20168 37258
9552 10473 10482 52457 12059
40868 38137 38223 39259 38152
30475 12772 6948 1154 27887
8766 26730 53501 57194 30999
22073 26522 43775 26181 23483
11421 28862 45884 3240 49089
33646 30750 49477 6748 32990
9319 34524 26817 52098 34613
10520 41104 438 9062 53744
36014 34957 52959 33385 35612
35428 10427 46605 51019 44250
56450 55828 31941 19297 42786
43240 27610 53440 44536 15123
1638 31486 24041 19577 34610
36855 23501 12135 56834 33323
45611 10538 22750 39224 19167
41991 43129 51421 28526 44209
6995 27658 25063 4256 10392
43184 46014 39274 55765 35804
2497 42651 42404 46796 997
14678 46257 18816 47228 32492
15047 3464 23795 13227 57105
1280 47083 17081 40003 17598
11102 50256 55107 2424 42394
27040 22825 11442 40081 33378
39352 23450 27554 12988 38731
45254 26008 38348 27832 41866
4413 46584 22650 26299 44966
56536 55922 30512 45935 40065
24316 34739 9642 17376 37743
18575 57285 41602 39881 32785
41758 28997 50411 20100 37379
1820 28686 13420 38362 40038
47444 27888 36693 8078 7402
48194 27060 44025 36022 38365
13054 657 51673 5060 27348
18543 15122 3129 40146 4145
37926 44615 20238 47104 17029
18796 10598 32036 5868 38555
41472 21852 52544 18341 13146
42147 46677 28685 31623 18729
40545 14634 643 29847 21290
46575 45183 40125 25433 9667
4572 18716 50604 35711 15615
40520 45443 14760 4045 53448
3664 27988 39658 5789 14261
48000 46221 39093 51664 40031
49150 9009 7067 31544 38206
44588 4367 49034 24368 29188
54850 7402 18400 11297 13581
35388 34730 3394 19545 321
33348 54083 5918 10810 9049
43623 40576 538 24235 339
4670 21538 2764 49687 33609
35495 31397 13462 51873 16195
24908 52832 24529 16745 41153
50430 52809 3117 52352 41427
38578 18977 42079 35400 8799
11067 620 1974 14031 37092
55473 21367 51214 55250 52115
13073 40593 32010 43000 9339
12139 24538 16919 1316 25835
50808 9265 39562 3321 22151
45266 45717 38541 49778 39136
4471 45090 45276 18952 19268
8195 52496 43073 5782 14328
24763 10204 34388 32678 3077
53664 21270 50678 6049 9411
26225 23453 53384 20485 9524
22273 24168 22274 26450 52632
48349 14947 41083 18964 29214
30084 3879 30162 21664 34087
27301 38710 11434 18728 13387
25146 20299 29754 27972 53943
18291 49706 3688 44155 25841
8934 17141 24433 35161 56466
26911 35776 1381 12457 30643
12826 41959 3054 18185 52313
25269 7597 14 49079 20208
24306 27825 42556 54936 49334
20251 1712 2615 50092 17786
32086 15747 49496 24037 45896
43831 36492 23677 38421 29906
7167 39163 11829 41286 5685
41587 39042 51823 46362 47232
44384 5171 22919 47916 16967
31217 17117 45066 26948 54213
8286 45130 8517 12135 44260
3292 56039 31140 4468 28539
47317 36045 54871 30615 25456
9001 50965 7752 15164 498
7226 28858 28718 48831 33801
37824 32528 1173 3807 49220
43689 6190 2376 23061 4557
37284 42920 21151 24822 51200
23084 35540 30663 22242 46353
32599 26786 39420 44142 3033
37708 15231 23190 33221 16497
26494 20843 37356 24216 48155
32546 26960 43570 11009 51071
52456 20732 55283 12388 37583
42107 22390 39162 56243 23535
6440 28673 14216 56402 52791
12158 28229 10561 29210 43632
41081 640 49071 27274 32678
20015 14792 16553 17144 46483
29870 52462 8107 11967 9588
29494 31412 32249 52820 37939
28584 13577 12584 13761 45260
30262 44023 11547 23552 3691
34917 52119 25431 25259 51470
48823 39098 1854 45038 36890
28366 31956 37248 23412 33705
11814 1535 6006 6408 3228
11375 12345 17075 52774 30418
35464 17012 28764 45441 24807
5780 5218 35756 29411 31573
55027 39566 23926 33492 8556
34704 39970 27581 5201 31599
48078 55411 6556 19825 36415
10001 54782 38644 36083 44171
27215 18947 24066 52944 49190
28954 55811 50667 19802 54339
44665 5226 42709 43983 52180
23042 10803 56154 47749 28705
48227 43559 26278 4798 14892
54144 27930 23182 15061 34068
6358 11506 1226 18063 50761
3447 52971 9480 4543 30307
15641 4432 27645 5691 8107
36873 27772 1134 28946 27126
45349 50449 30275 32525 9607
56551 20623 3125 15642 16545
43889 1730 49766 35610 28182
16864 28777 54490 4191 48717
170 56597 1297 55583 56343
13681 33080 8507 55018 40897
39397 9171 36083 48094 36086
115 48111 18128 43972 5198
6421 13370 5715 35801 1439
10618 11144 49971 15610 31508
50020 50791 6726 13793 276
4432 35560 55226 29096 5673
49747 24180 57318 34492 36685
26656 31956 21653 10704 40587
8108 41337 23405 6844 14627
30448 39777 17020 2258 25933
26882 46610 33659 39900 23367
24572 13021 14906 14977 32497
10411 36245 15487 47894 42536
50084 3543 14905 17819 41770
39082 41795 28190 5841 25076
15780 25210 10700 47949 3276
38698 46590 11370 10394 20945
18915 55453 12311 5735 4652
3251 56512 52606 47412 14931
5730 17861 25209 49767 25354
25863 15237 33391 18813 47333
25453 9065 56932 48485 47608
41894 26292 44770 31539 5354
29499 5966 47339 31824 14224
14412 51304 52362 9862 53186
22686 34265 24198 8827 51142
29133 25897 13569 16906 6812
2772 15017 54917 27887 24029
49729 30497 50512 21163 37540
18141 19887 9242 31070 37341
5419 51671 11163 39416 26666
22148 27210 7061 27919 23420
27125 10005 55580 45844 37291
24957 6364 31506 17409 49747
47645 13291 53870 14145 15074
16041 57178 51366 46671 48766
49665 56704 17208 21278 9246
34133 16692 41440 26941 38298
38694 17010 46429 23501 10588
28267 9199 53085 46138 4658
4872 55747 46396 26977 27571
29426 45970 48874 54917 18125
8300 47088 28755 36545 24264
24673 34016 5511 48414 5670
15197 19026 14603 25964 18693
20622 24957 55412 9254 8401
17017 13043 25631 36088 30091
43826 49622 2176 32956 37205
26259 9762 18975 8818 16597
1646 23473 26370 34281 4493
9897 32608 14382 9551 1744
28889 2033 22499 12769 45319
54336 5254 5144 24769 38084
1056 44535 41007 48160 47924
16958 37882 26681 33761 41166
24329 21842 24435 12166 36016
17814 32826 1714 22286 17944
53233 40343 35561 4463 22326
26971 18887 35784 45952 6093
43973 38260 21722 22341 14634
33060 47385 5088 15315 28536
5096 51830 14777 7059 41600
54842 33161 7273 2908 5282
254 2157 36026 45512 18855
54183 38880 43984 19095 51776
36313 36787 1813 24007 31359
40810 46827 56627 32245 22410
15627 38371 12410 56476 3115
20454 54122 36783 55790 29945
10879 44487 18907 2895 37996
8512 40791 36514 55918 21428
4279 47637 15266 22519 353
4847 49038 45531 10148 13528
47700 22598 10714 7277 16503
50018 47582 43810 35575 40125
16122 26936 17288 26843 34077
55981 15790 48594 7551 52751
35199 5358 19383 53993 46080
17214 21932 6849 39 2789
9464 4138 7395 5921 48641
21803 3147 18478 7867 39349
31765 6705 30079 43916 40124
17 51046 34899 52151 50588
20206 35418 53538 49661 38319
15273 18061 9361 38977 36194
33794 44796 53207 10455 37405
5233 31099 54724 47957 5288
29672 56458 20535 28620 17498
47125 26694 531 606 6056
5041 55365 17958 49010 5619
14070 39892 20333 8203 43857
41977 54478 47408 23079 31149
45865 23125 43831 50367 55921
43572 53016 42801 23621 33005
43194 7847 38889 14067 24154
6140 20121 21682 39507 50934
4364 27907 20346 1764 8332
16046 34638 48172 4759 9306
40836 37264 37303 4456 13030
28333 19161 41231 380 36216
49404 46132 29697 53642 32876
15470 11261 54006 35187 54114
6153 50213 26503 45527 46240
18028 17639 54173 45195 29669
|
7a3abca09038c14185f43b5c599e0a4cc2b864d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH5/EX5.5/Ex5_5.sce | 73e5126ee52d1429724593f7c9058a1b88e2dde3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex5_5.sce | clc//
//
//
//Variable declaration
k=1.38*10^-23; //boltzmann constant(J)
T=24600; //temperature(K)
m=9.108*10^-31; //mass(kg)
//Calculation
vF=sqrt(2*k*T/m); //fermi velocity(m s-1)
//Result
printf("\n fermi velocity is %0.2f *10^6 m s-1",vF/10^6)
|
6738ba0ac620a27ac155fe761dc573d86494710c | ba5d14a99711f45c6f3d2d28e4e8c12c9120e536 | /Condição Se.sce | a44907722203efed535e063f96dd7ccf7dadf5e8 | [] | no_license | RuanXavierSantos/Exercicios_Scilab | 0bf7aa6cc0b94e84bd560861c77d7a1a6c17bc2b | 219c1609766e1ac1ad27f9469012d7f3bb6c8dea | refs/heads/main | 2023-09-03T00:50:12.356763 | 2021-10-20T13:29:22 | 2021-10-20T13:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | Condição Se.sce | x=input("informe um numero: ");
if x==2 & x==8 then
mprintf("uhuuuuuuuuuuu");
else
mprintf("sad ");
end
|
19e6c7346ddaef02a55dacdb72b80beed05986ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH5/EX5.18/ex5_18.sce | 1671189ed59c87242716c48961fc22e847b2a143 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | ex5_18.sce | //Page Number: 5.31
//Example 5.18
clc;
//Given,
SbyN=40; //db
SbyN0=10^(SbyN/10);
//As sbyn=3L^2/2
L=sqrt((2*(SbyN0))/3);
LL=round(L);
n=(log2(LL));
nn=(round(n))+1; //Upper limit
disp(nn,'Binary digits');
LL=2^nn;
disp(LL,'Number of levels');
//As SQN= 1.76+6.02(n)
SQN= 1.76+6.02*(nn);
disp('dB',SQN,'Signal to quantizin ratio');
|
4d311af6eb1fd57b245425d98cc2e4124647d8e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH8/EX8.7/exa_8_7.sce | dd3d3b07e1beaafde98392589e33d1adcdc8be27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | exa_8_7.sce | // Exa 8.7
clc;
clear;
close;
//given data
R1= 150;// in ohm
R2= 68;// in kohm
R2=R2*10^3;// in ohm
Vin= 500;// in mv
V_sat= 14;//in volt
V_pos= R1/(R1+R2)*V_sat;// in volt
V_UT= V_pos;//in volt
// In the same way when output is -14 volts and starts increasing in negative direcition
V_sat=-14;//in volt
V_pos= R1*V_sat/(R1+R2);// in volt
V_LT= abs(V_pos);//in volt
disp(V_UT,"Value of V_UT in volts")
disp(V_LT,"Value of V_LT in volts")
|
388807dd35d4ce228a98332dd952b6b2c2c94a0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH19/EX19.9/19_9.sce | 8189d9600d5db25d265d82543f9a74100380b048 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,147 | sce | 19_9.sce | //Example 19.9
//Inhomogeneous 1st Order Hyperboolic Differential Equation
//Page no. 665
clc;clear;close;
//simple explicit method
printf('\n\nBy Simple Explicit Method:\n')
c=-2;dt=0.07;dx=0.2;
r=abs(c)*dt/dx;
printf('\n i\tx\t|\tj -->\t')
for i=0:6
printf(' %i\t',i)
end
printf('\n |\t|\t|\tt -->\t')
for i=0:6
printf('%.3f\t',i*dt)
end
printf('\n---------------------------------------------------------------------------------------')
x=0;
for j=1:6
printf('\n %i\t%.1f\t|\t\t',j-1,x)
for i=1:7
if i==1 then
u(j,i)=exp(-x);
elseif j==1 then
u(j,i)=1
else
u(j,i)=(1-r)*u(j,i-1)+r*u(j-1,i-1)+dt*2*x
end
printf('%.3f\t',u(j,i))
end
x=x+dx
end
//simple implicit method
printf('\n\n\nBy Simple Implicit Method:\n')
c=-2;dt=0.07;dx=0.2;
r=abs(c)*dt/dx;
printf('\n i\tx\t|\tj -->\t')
for i=0:6
printf(' %i\t',i)
end
printf('\n |\t|\t|\tt -->\t')
for i=0:6
printf('%.3f\t',i*dt)
end
printf('\n---------------------------------------------------------------------------------------')
x=0;
for j=1:6
printf('\n %i\t%.1f\t|\t\t',j-1,x)
for i=1:7
if i==1 then
u(j,i)=exp(-x);
elseif j==1 then
u(j,i)=1
else
u(j,i)=(1/(1+r))*u(j,i-1)+r*u(j-1,i)/(1+r)+dt*2*x
end
printf('%.3f\t',u(j,i))
end
x=x+dx
end
//wendroff method
printf('\n\n\nBy Wendroff Method:\n')
c=2;k=0.07;h=0.2;
a=(h+k*c)/(h-k*c)
printf('\n x\ti\t|\tj -->\t')
for i=0:6
printf(' %i\t',i)
end
printf('\n |\t|\t|\tt -->\t')
for i=0:6
printf('%.3f\t',i*k)
end
printf('\n---------------------------------------------------------------------------------------')
x=0;
for i=1:6
printf('\n %.1f\t%i\t|\t\t',x,i-1)
for j=1:7
if j==1 then
u(i,j)=exp(-x);
elseif i==1 then
u(i,j)=1
else
u(i,j)=u(i-1,j-1)+(u(i,j-1)-u(i-1,j))/a+(2*h*k)*(x+h/2)/(a*(h+c*k))
end
printf('%.3f\t',u(i,j))
end
x=x+h
end |
4e2add9da4b521252aae0ccab35981628921f9d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH11/EX11.3/Exa11_3.sce | 396bf6ee028ba10d7133523b4de8ffca0e999e3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | sce | Exa11_3.sce | //Exa 11.3
clc;
clear;
close;
IR=5;//in % per year
i=15;//in % per year
//Machine X :
disp("Machine X : ");
Ppx=1500000;//in Rs.
n=7;//in years
S=200000;//in Rs.
AMC=300000;//in Rs.
disp("End of year AMC InflationFactor InflatedAmount P/F PW");
format('v',9)
Pw=0;//For initialising
for n=1:7
FP=(1+IR/100)^n
IA=AMC*FP;//in Rs.
PF=1/((1+i/100)^n);
PW=IA*PF;//in Rs.
Pw=Pw+PW;//in Rs.
disp(" "+string(n)+" "+string(AMC)+" "+string(FP)+" "+string(IA)+" "+string(PF)+" "+string(PW));
end
disp(Pw,"Present worth of inflated annual operating and maintenance cost in Rs. : ");
PWX=Ppx+Pw-S*1/((1+i/100)^n);
disp(PWX,"Present worth of machine X in Rs. : ");
//Machine Y
disp("Machine Y : ");
Ppy=2000000;//in Rs.
n=7;//in years
S=300000;//in Rs.
AMC=250000;//in Rs.
disp("End of year AMC InflationFactor InflatedAmount P/F PW");
format('v',9)
Pw=0;//For initialising
for n=1:7
FP=(1+IR/100)^n
IA=AMC*FP;//in Rs.
PF=1/((1+i/100)^n);
PW=IA*PF;//in Rs.
Pw=Pw+PW;//in Rs.
disp(" "+string(n)+" "+string(AMC)+" "+string(FP)+" "+string(IA)+" "+string(PF)+" "+string(PW));
end
disp(Pw,"Present worth of inflated annual operating and maintenance cost in Rs. : ");
PWY=Ppy+Pw-S*1/((1+i/100)^n);
disp(PWY,"Present worth of machine Y in Rs. : ");
disp("Since the present worth of Machine X is less than Machine Y, select Machine X")
//Note : Calculations are not accurate in the book |
6ae859cd7a6c7f4615082db1960a3f5117fa2aba | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.20_16.tst | c5a1bb75454744ebfccda25e09e243ff686853c2 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,507 | tst | bow.20_16.tst | 20 12:0.6666666666666666 23:0.028985507246376812 45:0.3333333333333333 47:0.5 56:1.0 70:0.041666666666666664 72:2.0 74:1.0 80:0.3333333333333333 83:0.5 120:2.0 122:1.0 160:0.5 161:0.07142857142857142 186:1.0 216:1.0 227:0.3333333333333333 254:1.0 259:1.0 339:0.5 460:1.0 1165:1.0 1373:1.0
20 7:0.125 12:0.6666666666666666 56:1.0 70:0.16666666666666666 74:2.0 120:1.0 160:0.5 181:1.0 216:3.0 254:2.0 298:1.0 685:1.0 703:1.0 763:1.0 1713:1.0
20 7:0.125 12:0.3333333333333333 45:0.3333333333333333 56:1.0 70:0.041666666666666664 90:1.0 122:1.0 236:1.0 239:0.3333333333333333 245:1.0 339:0.5 412:0.5 460:1.0 528:1.0 906:1.0
20 70:0.041666666666666664 74:1.0 216:1.0 254:1.0 449:1.0 1412:1.0 1528:1.0 1842:1.0
20 23:0.014492753623188406 72:1.0 80:0.3333333333333333 100:0.2 150:1.0 227:0.3333333333333333 1154:1.0
20 7:0.125 21:0.3333333333333333 80:0.3333333333333333 122:1.0 135:1.0 334:1.0 852:1.0
20 75:0.5 133:0.16666666666666666 175:1.0 200:0.25 390:1.0 401:0.5
20 45:0.3333333333333333 70:0.041666666666666664 122:1.0 200:0.25
20 12:0.3333333333333333 21:0.16666666666666666 23:0.014492753623188406 44:1.0 57:1.0 70:0.041666666666666664 78:0.16666666666666666 135:1.0 140:1.0 164:0.3333333333333333 200:0.25 347:0.25 452:1.0 1151:1.0 1340:0.1111111111111111 1436:1.0 1829:1.0
20 45:0.3333333333333333 65:1.0 70:0.08333333333333333 78:0.16666666666666666 107:1.0 108:1.0 120:1.0 200:0.25 226:1.0 293:1.0 347:0.5 393:1.0 636:0.2 906:1.0 940:1.0 1001:1.0 1142:1.0 1164:0.5
20 7:0.125 12:0.3333333333333333 45:0.3333333333333333 70:0.08333333333333333 80:0.3333333333333333 120:1.0 122:1.0 200:0.25 343:1.0 1136:1.0 1242:1.0 1874:1.0
20 23:0.028985507246376812 28:0.16666666666666666 100:0.2 122:1.0 587:1.0 1001:1.0
20 70:0.041666666666666664 227:0.3333333333333333 347:0.25 367:1.0 487:1.0 1666:0.5 1874:1.0
20 12:0.6666666666666666 14:1.0 45:1.6666666666666667 70:0.041666666666666664 139:1.0 181:1.0 200:0.25 226:1.0 347:0.75 383:2.0 533:3.0 940:2.0 1001:1.0 1378:1.0 1391:1.0
20 70:0.08333333333333333 90:1.0 122:1.0 123:1.0 200:0.5 241:1.0 371:1.0 401:0.5 539:1.0 615:1.0 1001:1.0
20 12:0.3333333333333333 45:0.3333333333333333 78:0.16666666666666666 1415:1.0 1515:1.0
20 7:0.25 11:1.0 12:0.3333333333333333 23:0.014492753623188406 28:0.16666666666666666 45:0.6666666666666666 63:2.0 70:0.041666666666666664 78:0.16666666666666666 80:0.3333333333333333 83:0.5 227:0.3333333333333333 254:1.0 501:1.0 527:0.25 783:1.0 834:1.0 884:1.0 886:2.0 976:1.0 990:1.0 1227:0.3333333333333333 1259:1.0 1262:1.0 1265:1.0 1350:1.0 1502:1.0 1601:1.0 1779:1.0 1972:1.0
20 12:0.3333333333333333 23:0.014492753623188406 28:0.16666666666666666 45:0.3333333333333333 70:0.041666666666666664 83:0.5 100:0.2 120:1.0 150:1.0 160:0.5 254:1.0 726:1.0 797:1.0 1188:2.0 1227:0.3333333333333333 1259:1.0 1262:3.0 1265:1.0 1266:1.0 1378:1.0 1476:1.0 1479:1.0 1703:1.0 1834:1.0 1989:1.0
20 28:0.16666666666666666 56:1.0 70:0.041666666666666664 100:0.2 160:0.5 161:0.07142857142857142 442:1.0 616:1.0 911:1.0 1227:0.3333333333333333 1228:2.0 1265:1.0
20 541:1.0 1821:1.0
20 7:0.125 12:0.3333333333333333 42:1.0 164:0.3333333333333333 301:1.0 1779:1.0 1880:1.0 1972:1.0
20 7:0.125 70:0.041666666666666664 108:1.0 120:1.0 976:1.0
20 45:0.3333333333333333 334:1.0 1262:1.0 1415:1.0
20 7:0.125 12:0.3333333333333333 45:0.3333333333333333 70:0.041666666666666664 74:2.0 120:1.0 161:0.07142857142857142 186:1.0 248:0.25 254:2.0 766:1.0 1679:1.0 1685:1.0 1983:1.0
20 70:0.041666666666666664 74:1.0 80:0.3333333333333333 120:2.0 160:0.5 161:0.07142857142857142 254:1.0 651:1.0 1001:1.0 1479:1.0 1624:1.0 1696:1.0 1983:1.0
20 45:0.3333333333333333 161:0.14285714285714285 254:1.0 317:1.0 347:0.25 1229:1.0 1333:1.0 1500:1.0 1683:1.0
20 47:0.5 56:1.0 70:0.08333333333333333 80:0.3333333333333333 83:0.5 90:1.0 131:1.0 160:0.5 161:0.07142857142857142 254:1.0 282:1.0 319:1.0 334:1.0 339:0.5 594:1.0 726:1.0 809:1.0 831:0.5 1441:1.0 1486:1.0 1536:1.0
20 7:0.125 74:1.0 90:1.0 178:1.0 213:0.16666666666666666 227:0.3333333333333333 239:0.3333333333333333 254:1.0 300:1.0 616:1.0 670:1.0 831:0.5 920:1.0 1159:1.0 1925:1.0
20 12:0.3333333333333333 21:0.16666666666666666 78:0.16666666666666666 216:1.0 412:0.5 1188:1.0 1262:3.0 1479:1.0
20 133:0.16666666666666666 134:1.0 151:1.0 160:0.5 161:0.07142857142857142 186:1.0 1197:1.0 1467:1.0 1919:1.0
20 12:0.3333333333333333 21:0.16666666666666666 78:0.16666666666666666 213:0.16666666666666666 1094:1.0 1217:0.5 1293:1.0
20 45:0.3333333333333333 236:1.0 412:0.5 1197:1.0
20 21:0.16666666666666666 120:1.0 134:1.0 160:0.5 161:0.07142857142857142 442:1.0 1309:1.0 1313:1.0 1314:1.0 1479:1.0
20 21:0.3333333333333333 28:0.16666666666666666 45:0.3333333333333333 70:0.041666666666666664 75:0.5 85:0.3333333333333333 160:1.0 372:1.0 1173:1.0 1188:1.0 1218:1.0 1246:1.0 1293:1.0 1795:1.0
20 39:0.5 83:0.5 120:1.0 147:0.5 160:0.5 590:1.0 1178:1.0 1179:1.0 1213:1.0 1262:1.0 1306:1.0 1515:1.0
20 72:1.0 236:1.0 1317:1.0 1521:1.0 1708:1.0
20 28:0.16666666666666666 45:0.3333333333333333 70:0.041666666666666664 78:0.16666666666666666 236:1.0 412:0.5 976:1.0 1188:1.0 1264:1.0 1624:1.0
20 28:0.16666666666666666 45:0.3333333333333333 47:1.0 70:0.041666666666666664 74:1.0 78:0.16666666666666666 120:2.0 137:1.0 280:1.0 425:1.0 590:1.0 942:1.0 1173:1.0 1188:1.0 1231:1.0 1293:1.0
20 21:0.16666666666666666 45:0.3333333333333333 70:0.041666666666666664 154:1.0
20 21:0.16666666666666666 70:0.041666666666666664 80:0.3333333333333333 213:0.16666666666666666 236:1.0 239:0.3333333333333333 412:0.5 1234:3.0 1286:1.0
|
59b40b91aaf8549940cb948dbef1171ac02b9fc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH23/EX23.9/Chapter23_example9.sce | ef8ef0bd2d13b8a81b64aa5f0feb2038d0f7ef06 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,314 | sce | Chapter23_example9.sce | clc
clear
//Input data
d=27//Diameter in cm
l=45//Stroke in cm
db=1.62//Effective diameter of the brake in m
t=(38*60+30)//Test duration in sec
CV=4650//Calorific value in kcal/m^3 at N.T.P
n=8080//Total no. of revolutions
en=3230//Total number of explosions
p=5.75//Mean effective pressure in kg/cm^2
V=7.7//Gas used in m^3
T=15+273//Atmospheric temperature in K
pg=135//pressure of gas in mm of water above atmospheric pressure
hb=750//Height of barometer in mm of Hg
L=92//Net load on brake in kg
w=183//Weigh of jacket cooling water in kg
Tc=47//Cooling water temperature rise in degree C
//Calculations
ihp=(p*(l/100)*(3.14/4)*d^2*en)/(4500*(t/60))//I.H.P in h.p
bhp=(L*3.14*db*n)/(4500*(t/60))//B.H.P in h.p
pa=(hb+(pg/13))//Pressure of gas supplied in mm of Hg
Vg=(V*(273/T)*(pa/760))//Volume of gas used at N.T.P in m^3
q=(Vg*CV)/(t/60)//Heat supplied per minute in kcal
qbhp=(bhp*4500)/427//Heat equivalent of B.H.P in kcal/min
qc=(w/(t/60))*Tc//Heat lost to jacket cooling water in kcal/min
qra=(q-(qbhp+qc))//Heat lost to exhaust, etc in kcal/min
//Output
printf('Heat supplied is %3.1f kcal/min \n Heat equivalent of B.H.P is %3.0f kcal/min \n Heat lost to jacket cooling water is %3.1f kcal/min \n Heat lost to exhaust radiation etc. is %3.1f kcal/min',q,qbhp,qc,qra)
|
a746af46a05111dbd9c427bc41d589403df49586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH1/EX1.28/1_28.sce | 1e40e1087798e366033019089ad8010706c7ea48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | 1_28.sce | //clc();
clear;
//To determine the wavelength of light in Fraulhofer double slit diffraction
D=150; //distance between slit and screen in centimetres
d=0.03; //seperation between slits in centimetres
beeta=0.3; //fringe seperation in centimetres
lambda=(beeta*d*10^8)/D;
printf("wavelength of light if fringe seperation is 0.3 cm is %f Armstrong",lambda);
|
a3a73014005d70dffbea0aed8f9195b12967e83f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH5/EX5.10/Ex5_10.sce | 757ea0ebfee59938d4150978d1b74613e52c395e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,050 | sce | Ex5_10.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 5 Example 10")
p1=3;//initial pressure in Mpa
v1=0.05;//initial volume in m^3
v2=0.3;//final volume in m^3
disp("for reversible adiabatic process governing equation for expansion,")
disp("P*V^1.4=constant")
disp("also,for such process entropy change=0")
disp("using p2/p1=(v1/v2)^1.4 or v=(p1*(v1^1.4)/p)^(1/1.4)")
disp("final pressure(p2)in Mpa")
disp("p2=p1*(v1/v2)^1.4")
p2=p1*(v1/v2)^1.4
disp("from first law,second law and definition of enthalpy;")
disp("dH=T*dS+v*dP")
disp("for adiabatic process of reversible type,dS=0")
dS=0;//for adiabatic process of reversible type
disp("so dH=v*dP")
disp("integrating both side H2-H1=deltaH=v*dP in KJ")
p1=3*1000;//initial pressure in Kpa
p2=244;//final pressure in Kpa
disp("so enthalpy change(deltaH)in KJ")
function y = f(p), y =(p1*(v1^1.4)/p)^(1/1.4), endfunction
deltaH = intg(p2, p1, f)
disp("and entropy change=0")
|
0a11a3f7e0e165f36b4c3171c2a62081a1b1d03d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.29/ex2_29.sce | edc6bff85c8401aa785fc4c2fcedba00d1e7cfc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | ex2_29.sce | // Example 2.29, page no-48
clear
clc
h=1
k=1
l=1
a=3*10^-10
d=a/sqrt(h^2+k^2+l^2)
printf("\nThe interplanar spacing for the plane(101) is %.3f*10^-10 m",d*10^10)
|
029a1bb519b235a8d473f0598ea7996326149d00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH8/EX8.13/Ex8_13.sce | 7f0ae5d6d41b6c7229746ce2d2638b7de42b9e41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,203 | sce | Ex8_13.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 8.13\n\n\n");
// Chapter 8 : Vapor Power Cycles
// Problem 8.13 (page no. 398)
// Solution
//Regenerative cycle
//Assume that 1 lbm of steam leaves the steam generator and that W1 lbm is bled off to the closed heater at 100psia and that W2 lbm is bled off to the open heater at 50 psia.Alos,assume that the feedwater leaving the closed heater at 310F,18F less than the saturation temperature corresponding to 100 psia.For calculation purposes,we will use hf at 310 F for this enthalpy.Using the Mollier diagram and the steam tables,we find the following values of enthalpy:
//h to turbine=1505 Btu/lbm(at 1000 psia and 1000F)
//h at first extraction=1228 Btu/lbm(isentropically to 100 psia)
//h at second extraction=1168 Btu/lbm(isentropically to 100 psia)
//h at turbine exit=922 Btu/lbm (isentropically to 1 psia)
//hf=298.61 Btu/lbm(at 100 psia)
//hf=250.24 Btu/lbm(at 50 psia)
//hf=280.06 Btu/lbm(at 310 F)
//hf=69.74 Btu/lbm (at 1 psia)
//A heat balance around the high pressure heater gives us
//W1*(1228-298.61) = 1*(280.06-250.24)
W1=((1*(280.06-250.24)))/(1228-298.61); //lbm //W1 lbm is extracted at 100 psia
printf("W1=%f lbm\n",W1);
//A heat balance around the open heater gives us
//W2*1168 +(1-W1-W2)*69.74 + W1*268.61 = 1*250.24
W2=((1*250.24)-(W1*268.61)-69.74+(W1*69.74))/(1168-69.74); //lbm //W2 lbm is extracted at 50 psia
printf("W2=%f lbm\n",W2);
//The work output of the cycle consists of the work that 1 lbm does in expanding isentropically to 100 psia,plus the work done by (1-W1)lbm expanding isentropicaly from 100 to 50 psia,plus the work done by (1-W1-W2)lbm expanding isentropically from 50 to 1 psia.
//Numerically,the work is
workoutput=(1*(1505-1228))+((1-W1)*(1228-1168))+((1-W1-W2)*(1168-922)); //Btu/lbm //the work output
printf("The work output is %f Btu/lbm\n",workoutput);
heatinput=1505-280.06; //Btu/lbm //the heat input
printf("The heat input is %f Btu/lbm\n",heatinput);
n=workoutput/heatinput; //Efficiency
printf("The efficiency is %f percentage\n",n*100);
//When compared to 8.11,we conclude that the addition of additional closed heater raises the efficiency.
|
fc80caae41ae0c748102f18596d1848629b359aa | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/pump.tst | 77cfe36097d4c3c20e81ed06b43eaaa4d3ea8b9f | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,121 | tst | pump.tst | # pump test
units SI
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
thermo + WATER
# A theoretical pump: calculate flow from delP -------------
pump = Pump.Pump()
cd pump
In.Fraction = 1.0
In.P = 101.325
In.T = 20
Out.P = 300.0
Efficiency = 0.8
In
Out
InQ = 300
In
Out
InQ
InQ = None
In.T =
Out.T = 20.0247
In.MoleFlow = 205.10982071
In
Out
InQ
Out.T =
In.T = 20.0
cd /
# A real pump with one set of pump curves ------------------
# where head-flow-efficiency-power are restricted
realPump = Pump.PumpWithCurve()
cd realPump
NumberTables = 1
PumpSpeed0 = 100.0
FlowCurve0 = 0.0 1000.0 2000.0 3000.0 4000.0 5000.0 6000.0 7000.0 # mass flow
HeadCurve0 = 0.0 10.0 20.0 30.0 40.0 50.0 60.0 70.0
EfficiencyCurve0 = 0.0 0.5 0.7 0.8 0.8 0.7 0.5 0.0
PumpSpeed = 30.0 # operating pump speed, not used here
In.Fraction = 1.0
In.P = 101.325
In.T = 20
In.VolumeFlow = 3600.0 # calculate delP from flow
In
Out
InQ
# calculate flow from delP
In.VolumeFlow = None
Out
Out.P = 400.0
Out
InQ
copy /pump /realPump
paste /
/pump.Out
/pumpClone.Out
/realPump.Out
/realPumpClone.Out
|
fabf5ada9769bcb62bc2da3b506cfc8b2acd1bbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH8/EX8.2/Ex8_2.sce | 075e874670985e31ce9f6d5a3d5f1b5d3fd8c86c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | Ex8_2.sce | clc
P=500e+3//power of motor in Watts
V=6.6e+3//rated voltage in Volts
f=60//frequency in Hz
n=6//no. of poles
Rs=0//resistnce of motor in ohm
Xm=78//reactance in ohm
Xsr=3//reactance in ohm
p=0//pf=1
k=5
//solution
Xsr1=3*%i
Vph=V/sqrt(3)
Is=P/(3*Vph*cosd(p))
E=Vph-(Is*%i*Xsr)
E1=abs(E)
d=asind((Is*1*Xsr/E1))
Pm=3*Vph*E*sind(d)/Xsr
Pm1=abs(Pm)//Power in watt
Pm2=Pm1*10^(-3)//Power in Kw
Ns=120*f/n
N=Ns/k
wm=N*2*%pi/60
T=Pm1/wm
If1=E/(%i*Xsr)
Im=Is+abs(If1)
printf('\n\n Power Pm=%0.1f Kw\n\n',Pm2)
printf('\n\n Torque T=%0.1f N-m\n\n',T)
printf('\n\n The Field Current=%0.1f Amp\n\n',abs(If1))
printf('\n\n The motor Current=%0.1f Amp\n\n',Im)
//The answers vary due to round off error
|
61e0a64902ab12cab0994568c35e342c23286446 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.7.1/Example1_1.sce | c25d4263ec944da995e1897aa95b1f92254497de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Example1_1.sce | //Chapter-1,Example1_7_1,pg 1-42
wavelength=560 //wavelength of light in air
u=2.0 //refractive index of silicon monoxide material
//The wavelength of 'wavelength_1' in a medium of refractive index 'u' is
wavelength_1=wavelength/u
t=wavelength_1/4 //thickness of the film
printf("\nThe thickness of the film is = %.f nm\n",t)
|
47bdf2112268150bc5adab8a73297132855fea95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.6/10_6.sce | 76b1a766bc2c1432c995b8728bb8849df0236fee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | 10_6.sce | //Example 10.6
//Euler and Modified Euler Method
//Page no. 311
clc;clear;close;
deff('y=f(x,y)','y=y-x^2')
y(1)=1;
h=0.2;
for i=1:4
printf('\ny(%g) = %g\n',(i-1)*h,y(i))
y(i+1)=y(i)+h*f((i-1)*h,y(i))
end
printf('\n\n\n By Modified Euler Method\n')
for i=1:4
printf('\ny(%g) = %g\n',(i-1)*h,y(i))
y(i+1)=y(i)+h*f((i-1)*h+h/2,y(i)+h*f((i-1)*h,y(i))/2)
end |
06e4b2df9e06cf3f5187c3f67d5854ec06e54887 | 80f6640a2c71231b0785c80664e4e4a94a25f3e8 | /vcast/manager_diner/environment/DATABASE/DATABASE.tst | a0715787288da6e3958e92540e28a6e87654b1c9 | [] | no_license | jasonmasters/vcdemo | 53baeff69b371f0862fbc7e56b674ad7e73fdda7 | 37a18159f1428ffd6e7e42ee7c5e1999cf2d4a89 | refs/heads/master | 2020-04-08T08:53:10.807613 | 2018-11-26T16:20:28 | 2018-11-26T16:20:28 | 159,197,801 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 696 | tst | DATABASE.tst | -- VectorCAST 18.sp2 (07/02/18)
-- Test Case Script
--
-- Environment : DATABASE
-- Unit(s) Under Test: database
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
--
-- Unit: database
-- Subprogram: Get_Table_Record
-- Test Case: BASIS-PATH-001
TEST.UNIT:database
TEST.SUBPROGRAM:Get_Table_Record
TEST.NEW
TEST.NAME:BASIS-PATH-001
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:database.Get_Table_Record.Table:<<MIN>>
TEST.END
|
4c9329ee5758660e2f59edb88f4aa06739438d39 | e9854f13c702aad5562ed1644c47b99122268448 | /BioChem_Scilab_Old/Agitacao_Mistura_ago_28_2017.sce | cc77cbfb42ea72978c7efc907405cf96803fba6a | [] | no_license | ucfilho/Biochemical_Engineering | dd5edfdd2d0a531a9c59d21f44938e0993375824 | 683a02465783ab91c3e7bb06c591b914e7c17350 | refs/heads/master | 2023-05-28T02:50:42.486495 | 2023-05-25T20:53:48 | 2023-05-25T20:53:48 | 228,916,024 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | Agitacao_Mistura_ago_28_2017.sce | clc
clear
Ro=1000;MI=1e-3;// m3/s kg/m.s
Vol=300;// m3
Np=0.28;//hidrofoil 3 pas
D=(4*Vol/%pi)^(1/3);disp(D,"D=");
Di=D/3;disp(Di,"Di=");
X=[300 30];//rpm
fs=1.25;
for j=1:2
Nrpm=X(j);
disp("----------------------------")
disp(Nrpm,"Nrpm")
Nrps=Nrpm/60;
Re=Ro*Di^2*Nrps/MI;disp(Re,"Re=");
Pot=Np*Ro*Di^5*Nrps^3;disp(Pot,"Pot=");
i=1750/Nrpm;disp(i,"i=");
Pmotor=fs*Pot/745.7;disp(Pmotor,"Pmotor");
Torque=Pot/(2*%pi*Nrps);disp(Torque,"Torque");
Tmotor=Torque/(i*fs);disp(Tmotor,"Tmotor");
end
|
871720dfd617daa9c41410dbf4c931d22150d0ac | c149949fe37a399c0fcc7567c2bb5949c246f0d8 | /Exp/Stimulus/Exp3.sce | 5e07c80fabf0334ae31949ec415bc1dbaef1947c | [] | no_license | Jinboasltw/3D_Ball_Exp3 | c3db062317bd4e4aa417970a9af8eea4e01652cc | 4d0b65206e5cb5ea1ec60a30648f911c424c6621 | refs/heads/master | 2020-04-04T18:19:38.636518 | 2018-11-05T13:48:50 | 2018-11-05T13:48:50 | 156,159,134 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20,295 | sce | Exp3.sce | ################################################################################################
#
# Exp 2: Indirect Task
# Jinbo Zhang @ Sun Yat-sen University
# 2018.11.05
#
################################################################################################
#------------------------- 导入主控文件 --------------------------
pcl_file = "../Control/main.pcl";
no_logfile = false;
#------------------------- 摄像机参数设定 --------------------
field_of_view = 37.167467;
front_clip_distance = 90;
back_clip_distance = 350;
#------------------------- 反应模式及按键 --------------------
response_matching = simple_matching;
active_buttons = 3;
# 1 = LT
# 2 = RT
# 3 = START
# 4 = BACK (废弃)
begin;
#--------------- 按键别称 -----------
$start = 3;
# $back = 4;
#------------------------- 显示器刷新率 --------------------------
$refresh_rate = EXPARAM( "RefreshRate");
#------------------------- 各刺激呈现时间 --------------------------
$duration_fixation = EXPARAM( "fixation_duration");
$duration_stimulus = EXPARAM( "av_duration");
$duration_present = EXPARAM( "exist_av_duration");
#------------------------- 三维小球位置信息 ------------------------
$position_camera_z = -100;
$position_ball_z = 0;
$position_ball_near_z = -80;
$position_ball_far_z = 400;
#------------------------- 注视点位置信息 ------------------------
$position_fixation_z = -475;
#------------------------- 注视点构建 --------------------------
texture {
filename = "../Media/fixation.jpg";
} txr_fix;
plane {
width = 6; height = 6;
mesh_texture = txr_fix;
color = 255.0, 255.0, 255.0;
emissive = 1.0, 1.0, 1.0;
} fix_plane;
#------------------------- 构建小球动画 --------------------------
$frame = 35; # 500 ms = 36 frames at 144 Hz and 3D Version Model
# -1 是为了去除第一格 Frame
$interval = '1000/$refresh_rate';
$count = 1;
# count = 1 等同于说:这是第一格
#------------------------- 设定运动速度 --------------------------
$ball_abs_speed = '($position_ball_far_z-$position_ball_near_z)/($frame + 1)';
#------------------------- 小球尺寸 --------------------------
$sphere_r = 5;
#------------------------- 环境光照设定 --------------------------
light {
light_type = light_directional;
direction = 0, 0, 1;
diffuse = 1.0, 1.0, 1.0;
ambient = 0.1, 0.1, 0.1;
specular = 1.0, 0.3, 0.3;
} light_main;
#------------------------- 小球设定 --------------------------
#------------------------- 贴图文件:用于构建间接任务 ------------
texture { filename = "../Media/hor.bmp";} txr_ball;
sphere {
radius = $sphere_r;
slices = 512;
stacks = 512;
alpha = 1;
# 1 = 不透明
mesh_texture = txr_ball;
} ball;
#------------------------- 声音刺激设定 --------------------------
array {
sound {
wavefile {
filename = "../Media/ramp_sin_increase_gap1.wav";
preload = true;
};
description = "increase_gap";
} sound_increase_gap;
sound {
wavefile {
filename = "../Media/ramp_sin_decrease_gap1.wav";
preload = true;
};
description = "decrease_gap";
} sound_decrease_gap;
sound {
wavefile {
filename = "../Media/ramp_sin_increase.wav";
preload = true;
};
description = "increase";
} sound_increase;
sound {
wavefile {
filename = "../Media/ramp_sin_decrease.wav";
preload = true;
};
description = "decrease";
} sound_decrease;
} sounds;
#------------------------- 衔接信息汇总(指导语,休息,Block间隔,任务提示,反应反馈) --------------
#------------------------- No.1 欢迎屏 --------------------------
picture {
text{
caption = "欢迎";
font_size = 96;
font_color = 255,255,0;
}txt_welcome;
x = 0; y = 350;
text {
caption = "请始终注视白色十字";
font_size = 24;
font_color = 0,255,0;
} text_start_instruct;
x = 0; y = 100;
bitmap {filename = "../Media/fixation.jpg";};
x = 0; y = 0;
text {
caption = "首先是练习环节。请按 \" START \" 键进入练习指导";
font_size = 24;
font_color = 255,255,255;
}start_term_button;
x = 0; y = -100;
} pic_start_instruct;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
stimulus_event {
picture pic_start_instruct;
code = "!Start EXP";
};
} trial_start_instruct;
#------------------------- No.2 练习说明屏 --------------------------
picture {
text{
caption = "练习:熟悉任务";
font_size = 96;
font_color = 255,255,0;
};
x = 0; y = 350;
text {
caption = "请始终注视白色十字;\n 练习阶段需要达到 80% 的正确率才可以继续;\n 否则需要重新练习,直到达标为止。";
font_size = 24;
font_color = 0,255,0;
};
x = 0; y = 100;
bitmap {filename = "../Media/fixation.jpg";};
x = 0; y = 0;
text {
caption = "请按 \" START \" 键开始练习";
font_size = 24;
font_color = 255,255,255;
};
x = 0; y = -100;
} practice_instruct_pic;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
stimulus_event {
picture practice_instruct_pic;
#code = "!Start EXP";
};
} practice_instruct;
#---------------------- No.3 正误反馈屏 --------------------------
text { caption = "对的!"; font_size = 48;} good;
text { caption = "错了!"; font_size = 48;} oops;
text { caption = "漏掉了!"; font_size = 48;} missed;
trial {
trial_duration = EXPARAM("feedback_duration");
picture { text good; x = 0; y = 0; } feedback_pic;
time = 0;
duration = 1000;
} feedback_trial;
#---------------------- No.4 练习效果评估屏 --------------------------
text { caption = "重新练习!"; font_size = 48;} redo_txt;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
picture {
text redo_txt;
x = 0; y = 0;
text {
caption = "请按 \" START \" 键进重新开始练习";
font_size = 24;
font_color = 255,255,255;
};
x = 0; y = -100;
};
time = 0;
} redo_trial;
text { caption = "练习通过!"; font_size = 48;} pass_txt;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
picture {
text pass_txt;
x = 0; y = 0;
text {
caption = "请按 \" START \" 键进离开练习阶段";
font_size = 24;
font_color = 255,255,255;
};
x = 0; y = -100;
};
time = 0;
} pass_trial;
#---------------------- No.5 正式实验欢迎屏 --------------------------
picture {
text{
caption = "欢迎";
font_size = 96;
font_color = 255,255,0;
};
x = 0; y = 350;
text {
caption = "请始终注视白色十字";
font_size = 24;
font_color = 0,255,0;
};
x = 0; y = 100;
bitmap {filename = "../Media/fixation.jpg";};
x = 0; y = 0;
text {
caption = "接下来是正式测试,请认真对待,又准又快作答。\n 请按 \" START \" 键进入练习指导";
font_size = 24;
font_color = 255,255,255;
};
x = 0; y = -100;
} pic_start_instruct_formal;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
stimulus_event {
picture pic_start_instruct_formal;
code = "!Start EXP";
};
} trial_start_instruct_formal;
#------------------------- No.6 再见屏 --------------------------
picture {
text{
caption = "感谢&再会";
font_size = 96;
font_color = 255,255,0;
}txt_goodbye;
x = 0; y = 200;
text {
caption = "测试结束,请通知主试。";
font_size = 48;
font_color = 0,255,0;
} text_entire_end_instruct;
x = 0; y = -50;
} pic_entire_end_instruct;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
stimulus_event {
picture pic_entire_end_instruct;
code = "!End EXP";
};
} trial_entire_end_instruct;
#------------------------- 注视屏 --------------------------
trial {
trial_duration = $duration_fixation;
stimulus_event {
/*
picture {
text{
caption = "+";
font_size = 24;
font_color = 255,255,255;
};
x = 0; y = 0;
};
*/
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
plane fix_plane;
x = 0; y = 0; z = 1;
light light_main;
};
time = 0;
code = "---fixation---";
}trial_fixation_event;
} trial_fixation;
#------------------------- Block 间隔屏 --------------------------
picture {
text {
caption = "当前任务";
font_size = 96;
font_color = 255,255,0;
} text_task_remind_title;
x = 0; y = 350;
text {
caption = " ";
font_size = 24;
font_color = 255,255,255;
}text_remind_type;
x = 0; y = 100;
text {
caption = " ";
font_size = 24;
font_color = 255,255,255;
}text_remind_task;
x = 0; y = -50;
text {
caption = "按 \" START \" 键开始测试";
font_size = 24;
font_color = 255,255,255;
}text_term_button;
x = 0; y = -350;
} pic_block_instruct;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
stimulus_event {
picture pic_block_instruct;
code = "===Block Change===";
};
} block_instruct_trial;
#------------------------- 休息屏 --------------------------
picture {
text {
caption = "休息";
font_size = 96;
font_color = 255,255,0;
} text_relax_remind;
x = 0; y = 350;
text {
caption = "当前任务";
font_size = 24;
font_color = 255,0,0;
} text_task_remind;
x = 0; y = 100;
text text_remind_type;
x = 0; y = 50;
text text_remind_task;
x = 0; y = -50;
text {
caption = "按 \" START \" 键返回测试";
font_size = 24;
font_color = 255,255,255;
}relax_term_button;
x = 0; y = -350;
} pic_relax_instruct;
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
stimulus_event {
picture pic_relax_instruct;
code = "+++relax+++";
};
} trial_relax_instruct;
#------------------------- 三维小球间接任务专门展示屏 --------------------------
trial {
trial_duration = forever;
trial_type = specific_response;
terminator_button = $start;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere {
radius = $sphere_r;
slices = 512;
stacks = 512;
alpha = 1;
# 1 = 不透明
mesh_texture = txr_ball;
} ;
x = -10; y = 0; z = 0;
rotation = 0.0, 0.0, 90.0;
sphere {
radius = $sphere_r;
slices = 512;
stacks = 512;
alpha = 1;
# 1 = 不透明
mesh_texture = txr_ball;
};
x = 10; y = 0; z = 0;
light light_main;
};
time = 0;
picture {
text {
caption = "请按 \" START \" 键结束示例开始练习。请做好准备!";
font_size = 24;
font_color = 0,255,0;
};
x = 0; y = 0;
};
time = 10000;
} block_instruct_show_trial;
#------------------------- 分条件三维运动刺激 --------------------------
#------------------------- M-Far & S-Increase --------------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
# all_responses = false;
$position_ball_z = $position_ball_near_z;
stimulus_event {
sound sound_increase;
time = 'int(($count - .5) * $interval)';
} event_mfsi_s;
stimulus_event {
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = $position_ball_z;
light light_main;
};
target_button = 1,2;
code = "mfsi";
time = 'int(.5 * $interval)';
} event_mfsi_m;
LOOP $i $frame;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z + $i * $ball_abs_speed';
light light_main;
};
time = 'int((($i + 1) - .5) * $interval)';
ENDLOOP;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z + 35 * $ball_abs_speed';
light light_main;
};
time = 'int(((35 + 1) - .5) * $interval)';
stimulus_event{
picture {
background_color = 0,0,0;
};
time = $duration_stimulus;
};
} mfsi_trial;
#------------------------- M-Far & S-Decrease --------------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
# all_responses = false;
$position_ball_z = $position_ball_near_z;
stimulus_event {
sound sound_decrease;
time = 'int(($count - .5) * $interval)';
} event_mfsd_s;
stimulus_event {
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = $position_ball_z;
light light_main;
};
target_button = 1,2;
code = "mfsd";
time = 'int(.5 * $interval)';
} event_mfsd_m;
LOOP $i $frame;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z + $i * $ball_abs_speed';
light light_main;
};
time = 'int((($i + 1) - .5) * $interval)';
ENDLOOP;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z + 35 * $ball_abs_speed';
light light_main;
};
time = 'int(((35 + 1) - .5) * $interval)';
stimulus_event{
picture {
background_color = 0,0,0;
};
time = $duration_stimulus;
};
} mfsd_trial;
#------------------------- M-Far & S-No --------------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
all_responses = false;
$position_ball_z = $position_ball_near_z;
stimulus_event {
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = $position_ball_z;
light light_main;
};
code = "mf";
time = 'int(.5 * $interval)';
} event_mf_m;
LOOP $i $frame;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z + $i * $ball_abs_speed';
light light_main;
};
time = 'int((($i + 1) - .5) * $interval)';
ENDLOOP;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z + 35 * $ball_abs_speed';
light light_main;
};
time = 'int(((35 + 1) - .5) * $interval)';
stimulus_event{
picture {
background_color = 0,0,0;
};
time = $duration_stimulus;
};
} mf_trial;
#----------------------------------------- M-Near & S-Increase -------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
$position_ball_z = $position_ball_far_z;
stimulus_event {
sound sound_increase;
time = 'int(($count - .5) * $interval)';
} event_mnsi_s;
stimulus_event {
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = $position_ball_z;
light light_main;
};
target_button = 1,2;
code = "mnsi";
time = 'int(.5 * $interval)';
} event_mnsi_m;
LOOP $i $frame;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z - $i * $ball_abs_speed';
light light_main;
};
time = 'int((($i + 1) - .5) * $interval)';
ENDLOOP;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z - 35 * $ball_abs_speed';
light light_main;
};
time = 'int(((35 + 1) - .5) * $interval)';
stimulus_event {
picture {
background_color = 0,0,0;
};
time = $duration_stimulus;
} ;
} mnsi_trial;
#----------------------------------------- M-Near & S-Decrease -------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
# all_responses = false;
$position_ball_z = $position_ball_far_z;
stimulus_event {
sound sound_decrease;
time = 'int(($count - .5) * $interval)';
} event_mnsd_s;
stimulus_event {
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = $position_ball_z;
light light_main;
};
target_button = 1,2;
code = "mnsd";
time = 'int(.5 * $interval)';
} event_mnsd_m;
LOOP $i $frame;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z - $i * $ball_abs_speed';
light light_main;
};
time = 'int((($i + 1) - .5) * $interval)';
ENDLOOP;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z - 36 * $ball_abs_speed';
light light_main;
};
time = 'int(((36 + 1) - .5) * $interval)';
stimulus_event {
picture {
background_color = 0,0,0;
};
time = $duration_stimulus;
} ;
} mnsd_trial;
#----------------------------------------- M-Near & S-No -------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
all_responses = false;
$position_ball_z = $position_ball_far_z;
stimulus_event {
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = $position_ball_z;
light light_main;
};
code = "mn";
time = 'int(.5 * $interval)';
} event_mn_m;
LOOP $i $frame;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z - $i * $ball_abs_speed';
light light_main;
};
time = 'int((($i + 1) - .5) * $interval)';
ENDLOOP;
picture {
camera_position = 0.0, 0.0, $position_camera_z;
camera_lookat = 0.0, 0.0, 0.0;
camera_up = 0.0, 1.0, 0.0;
background_color = 0,0,0;
sphere ball;
x = 0; y = 0; z = '$position_ball_z - 35 * $ball_abs_speed';
light light_main;
};
time = 'int(((35 + 1) - .5) * $interval)';
stimulus_event {
picture {
background_color = 0,0,0;
};
time = $duration_stimulus;
} ;
} mn_trial;
#------------------------- M-No & S-Increase --------------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
all_responses = false;
stimulus_event {
sound sound_increase;
code = "si";
time = 0;
} event_si_s;
stimulus_event{
picture {
background_color = 0,0,0;
};
time = 0;
};
} si_trial;
#------------------------- M-No & S-Decrease --------------------------
trial {
trial_duration = $duration_present;
trial_type = fixed;
all_responses = false;
$position_ball_z = $position_ball_far_z;
stimulus_event {
sound sound_decrease;
code = "sd";
time = 0;
} event_sd_s;
stimulus_event{
picture {
background_color = 0,0,0;
};
time = 0;
};
} sd_trial; |
062818c84534196ead5915136ee591ae0c7d2a52 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_5_n.tst | 6f0efd18cfce8fdb21dd33800a08cd78d3fa5165 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 1,490 | tst | test_ods_5_n.tst | ** File Info
Version: 1.0
Num Logs = 2
Num Trans = 0
Num Writers = 0
Total Entries = 3
Tranlog Offset = 214
Transaction Id = 3
Index Free List = n/a
Total Size of Data = 126
Data Transformation Id = 2
Index Transformation Id = 6
** Entry Info for: all
num: 0000000000000000 pos: 000000000000001c len: 000000000000002c
txn: 0000000000000002 txo: 0000000000000000 flags: lk=0 tx=0
000000000000001c 04 00 00 00 00 00 00 00 72 6f 6f 74 ff ff ff ff ........root....
000000000000002c ff ff ff ff 02 00 00 00 00 00 00 00 01 00 00 00 ................
000000000000003c 00 00 00 00 02 00 00 00 00 00 00 00 ............
num: 0000000000000001 pos: 0000000000000063 len: 000000000000001b
txn: 0000000000000002 txo: 0000000000000000 flags: lk=0 tx=0
0000000000000063 03 00 00 00 00 00 00 00 78 78 78 ff ff ff ff ff ........xxx.....
0000000000000073 ff ff ff 00 00 00 00 00 00 00 00 ...........
num: 0000000000000002 pos: 0000000000000048 len: 000000000000001b
txn: 0000000000000002 txo: 0000000000000000 flags: lk=0 tx=0
0000000000000048 03 00 00 00 00 00 00 00 79 79 79 ff ff ff ff ff ........yyy.....
0000000000000058 ff ff ff 00 00 00 00 00 00 00 00 ...........
** Freelist Info
No freelist entries.
** Transaction Log Info
version = 1.0
sequence = 2
entry_offs = 0
append_offs = 56
** Transaction Log Info for: all
|
798652f3a1051fcbff8731a33cdbde360faa9ada | 637fcd60a4e2a98ebbeaaa9551554a13e1ebfdba | /quad/ctrl/paparazzi/sw/airborne/booz/test/plot_test_vg_ref.sce | b3a5215839c09afd95dea7d96003547c85b2938b | [] | no_license | zoomx/lxyppc-tetrix | b7079c07aee9b85a34207245f526e1613fdb0498 | 884027f37594f9f006f88d634c4392a60c482491 | refs/heads/master | 2021-01-10T21:04:54.219013 | 2015-05-10T08:45:33 | 2015-05-10T08:45:33 | 35,362,463 | 12 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,628 | sce | plot_test_vg_ref.sce | ///
// $Id$
//
// Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
//
// This file is part of paparazzi.
//
// paparazzi is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.
//
// paparazzi is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with paparazzi; see the file COPYING. If not, write to
// the Free Software Foundation, 59 Temple Place - Suite 330,
// Boston, MA 02111-1307, USA.
///
clear();
M=fscanfMat('traj.out');
time = M(:,1);
fzsp = M(:,2);
fzdsp = M(:,3);
fz = M(:,4);
fzd = M(:,5);
fzdd = M(:,6);
iz = M(:,7);
izd = M(:,8);
izdd = M(:,9);
clf();
drawlater();
subplot(3,1,1);
xtitle('z', 'time (s)','');
plot2d(time, fzsp, 1);
plot2d(time, fz, 2);
plot2d(time, iz, 3);
legends(["sp", "float", "int"],[1 2 3], with_box=%f, opt="ur");
subplot(3,1,2);
xtitle('zd', 'time (s)','');
plot2d(time, fzdsp, 1);
plot2d(time, fzd, 2);
plot2d(time, izd, 3);
legends(["float", "int"],[2 3], with_box=%f, opt="lr");
subplot(3,1,3);
xtitle('zdd', 'time (s)','');
plot2d(time, fzdd, 2);
plot2d(time, izdd, 3);
legends(["float", "int"],[2 3], with_box=%f, opt="lr");
drawnow();
|
e2d4730bb4d73a74a2777a3c83cf0c7c9b9baea9 | 1859918f2cad83879760844b4597fba71be22214 | /Computer Organization/testC.tst | 7b8a1f7744799051ab42cddef1bf9525e2edbf17 | [] | no_license | christianplusplus/coursework | 0c5d5f3954050c13a8041fee7b2c47a6bf29587a | 8c5b801087f165b9a0df7cc4bf23235d09e6c756 | refs/heads/master | 2020-04-25T17:37:22.276887 | 2019-05-20T22:20:32 | 2019-05-20T22:20:32 | 172,955,245 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | tst | testC.tst | load Larc.hdl,
set RAM16K[0] %X8105, // 5 in $1
set RAM16K[1] %X8207, // 7 in $2
set RAM16K[2] %XD021,
set RAM16K[3] %XD012,
set RAM16K[4] %XC105, // 7 in $1
set RAM16K[5] %XC207, // 5 in $2
set RAM16K[6] %X1321, // -2 in $3
set RAM16K[7] %XF000
;
repeat 30 { tick, tock; }
|
2360306ff9f7e7827da5e5e7ee855b940760eb64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH2/EX2.10/ex2_10.sce | 196cc017cf6e05f363be132e9370d2245e3782b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | ex2_10.sce | // Example 2.10, page no-121
clear
clc
c=0.57
//(a)
d=0.1
di1=100
di2=1000
c1=c*di1*10/d
c1=ceil(c1)
printf("(a)\nC1=%d pf",c1)
//(b)
c2=c*di2*10/d
printf("\n(b)\nC2=%d pf",c2)
//(c)
ds=0.09
c11=c*di1*10/ds
c12=c*di2*10/ds
printf("\n(c)\nC1 = %.1f pf\nC2 = %d pf",c11,c12)
|
410d7a29df77107c3e29e935acfb1c0db93b2d06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH4/EX4.10/exmple_4_10.sce | 68697dc2c9e846cdd7fc7f61efdb6b399f8c2dee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | exmple_4_10.sce | //example 4.10
clc;
clear;
//sel= input('Enter which is pressed(1 - 9) : ');
sel=6;
aa=sel;
for i=4:-1:1 //converting the sel input to binary notation
a(1,i)=modulo(aa,2);
b(1,i)=bitcmp(a(1,i),1);
aa=aa/2;
aa=floor(aa);
end
printf('When switch %d is pressed the ABCD output is :',sel);
disp(b); //displaying the result
printf(' Which is equivalent to %d when the output is complimented.In the output above a ''0'' represents a LOW and a ''1'' represents a HIGH. ',sel );
|
f9a88156e067f00129e66e9d3d4395522a91eb6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH10/EX10.12/Ex10_12.sce | 732e816dd2cbd1579fd263a379edc333909fb497 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | Ex10_12.sce | clc
//initialization of variables
clear
T=30 //degree celcius
alpha=0.0000117 // per degree celcius
//AB
L=6 //m
dl=T*alpha*L
df=0.375 //kg
tot=dl*df
//BC
dl=T*alpha*L
df=0.375 //kg
tot=tot+dl*df
//CD
dl=T*alpha*L
df=0.75 //kg
tot=tot+dl*df
tot=tot*100*2
// results
printf('The deflection is %.4f cm',tot)
|
23eac4e1cdc68c8eb18832ce70d891c6dff11041 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/Thermal/foster4.sci | 7da0c72880913668d523b6c23d80df79ca807ae9 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sci | foster4.sci | //Function of 4 order Foster Network
//The coefficient vector will be of the form [R1 C1 R2 C2 R3 C3 R4 C4]
function [y]=foster4(x,c)
//we extract the coefficients
R1=c(1);
C1=c(2);
R2=c(3);
C2=c(4);
R3=c(5);
C3=c(6);
R4=c(7);
C4=c(8);
tau1=R1*C1;
tau2=R2*C2;
tau3=R3*C3;
tau4=R4*C4;
//calculate the function
y=R1*(1-exp(-x/tau1))+R2*(1-exp(-x/tau2))+...
R3*(1-exp(-x/tau3))+R4*(1-exp(-x/tau4));
end
|
9956c558c032aa022ece1c99c6407819f0f0e786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH11/EX11.3/11_3.sce | 517303dd76e7a4580c3d9033d532fc29bf10ea31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | 11_3.sce | clc
//initialisation of variables
Ti= 300 //F
T0= 100 //F
l= 0.25 //in
li= 3 //in
A= 12 //in/ft
ks= 31.4 //Btu/hr ft F
ki= 0.04 //Btu/hr ft F
//CALCULATIONS
q= (Ti-T0)/((l/(A*ks))+(li/(A*ki)))
t= Ti-((q*l/12)/ks)
//RESULTS
printf ('Heat loss= %.f Btu/hr',q)
printf (' \n Temperature at the interface of the steel and the insulation= %.2f F',t)
|
501d303c4aab72dbd4b9a6bbd57b682316d19cc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH12/EX12.6/12_6.sce | 85b7c1c9befb33c2b845c0b5faee2c7a90ac1305 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | 12_6.sce | clear
clc
disp('Exa-12.6');
t1=4.55*10^9;t2=7.04*10^8; //given values of time at 2 different instants
age=t1/t2;
r=2^age;
printf('The original rock hence contained %.1f*Na atoms of 235U where Na is the Avagadro''s Number=6.023*10^23',r); |
3ffab567ea27e36d503ba231d4701880313d0299 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fminunc/Freudenstein and Roth.sci | a720c9796e6098a4eefa5fe56e866a7e3777a2c0 | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,901 | sci | Freudenstein and Roth.sci | // This is an example of unconstrained optimization problem using fminunc function. The problem has global optima at x* = [5 4] and f* = 0;
//An alternate optima to the problem is x = [11.41.. -0.8968..] and f = 48.9842..
//Ref:F. Freudenstein and B. Roth, Numerical solution of systems of nonlinear equations, Journal of ACM , Vol. 10, No. 4, pp. 550–556, 1963.
//Ref:S.S. Rao, “Engineering optimization: Theory and Practice”, John Wiley & Sons Inc., New York (NY), 3rd edition edition, 1996. Chapter 6
//======================================================================
// Copyright (C) 2018 - IIT Bombay - FOSSEE
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
// Author:Debasis Maharana
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
//======================================================================
clc;
function y = Freud_Roth(x)
y = (-13 + x(1) + ( (5-x(2)) *x(2) -2 )*x(2) )^2 + ( -29 + x(1) + (( x(2)+1 )*x(2) -14 )*x(2) )^2;
endfunction
mprintf('Freudenstein and Roth function: This function has 2 variables')
//Initial point
x0 = input('Enter initial point in vector form ' )
if length(x0)~=2
mprintf('Incorrect initial point. Taking initial point as [0.5 -2]');
x0 = [0.5 -2];
end
//Gradient of objective function using numderivative function
function y=Grad(x)
y = numderivative(Freud_Roth,x);
endfunction
//Hessian of Objective Function using numderivative function
function y=Hess(x)
[G,H] = numderivative(Freud_Roth,x);
Nvar = length(x);
for i = 1:Nvar
y(i,:) = H((i-1)*Nvar+1:i*Nvar);
end
endfunction
//Options structure
options=list("MaxIter", [1500], "CpuTime", [500], "gradobj", Grad, "hessian", Hess);
//Calling Ipopt
[xopt,fopt,exitflag,output,gradient,hessian]=fminunc(Freud_Roth,x0,options)
clc
select exitflag
case 0
disp("Optimal Solution Found")
disp(xopt', "The optimum solution obtained is")
disp(fopt, "The optimum objective function value is")
case 1
disp("Maximum Number of Iterations Exceeded. Output may not be optimal.")
disp(xopt', "The solution obtained is")
disp(fopt, "The objective function value is")
case 2
disp("Maximum CPU Time exceeded. Output may not be optimal.")
disp(xopt', "The solution obtained is")
disp(fopt, "The objective function value is")
case 3
disp("Stop at Tiny Step.")
disp(xopt', "The solution obtained is")
disp(fopt, "The objective function value is")
case 4
disp("Solved To Acceptable Level.")
disp(xopt', "The solution obtained is")
disp(fopt, "The objective function value is")
case 5
disp("Converged to a point of local infeasibility.")
end
disp(output)
|
d3435194f4a397ec4cc80b6f35f241b6243c1c40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.32/ex_6_32.sce | 012b1cc02452eb9617cae3f5423c10e63da6902a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | ex_6_32.sce | clear;
clc;
close;
disp("y[n]-1/2*y[n-1]=x[n]+1/2*x[n-1]");
disp("taking fourier transform on both sides");
disp("H(w)=Y(w)/X(w)=(1+1/2*e^-j*w)/(1-1/2*e^-j*w)");
w=-10:0.1:10;
Hw=(1+(1/2)*%e^(-%i*w))./(1-(1/2)*%e^(-%i*w));
figure
subplot(2,1,1)
plot(w,Hw);
xtitle('H(w)','w')
n=-10:10;
h=(1/(2*%pi))*Hw*exp(%i*w'*n);
subplot(2,1,2)
plot2d3(n,h)
xtitle('h[n]','n')
plot(n,h,'r.')
x=cos(%pi*n/2);
figure
subplot(2,1,1)
plot2d3(n,x);
xtitle('x[n]','n')
plot(n,x,'r.')
y=convol(x,h);
subplot(2,1,2)
plot2d3(n,y(11:31))
xtitle('y[n]','n')
plot(n,y(11:31),'r.') |
0c416536a912e1357c75e35599ba390b4d5d40de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH1/EX1.5/1_5.sce | eed4bb7549fb139eefc7af540d8cc1417272043e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | 1_5.sce | clc
clear
//Initialization of variables
ge=32.174 //ft/s^2
gm=5.47 //ft/s^2
we=50 //lbm
//calculations
wm=we*gm/ge
//results
printf("In case a, it will weigh the same, weight = %d lbm",we)
printf("\n In case b, weight = %.1f lbf",wm)
|
cde1cd4c89d2baff4b89979442ed3e37f3aa1c0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.53/example5_53.sce | 6de823af8af389192afed1da75a4cedd882f8059 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | example5_53.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.53
// Page 308
printf("Example 5.53, Page 308 \n \n");
// solution
F = 1135
Benzenef = 400*.993
HNO3con = Benzenef*63/78
H1 = -186.5
C11 = 1.88
H11 = H1+C11*(298.15-273.15)
H2 = -288.9
C12 = 1.96
H22 = H2+C12*(298.15-273.15)
H3 = 0
C13 = 1.98
H33 = C13*(298.15-273.15)
Hr = -285.83+12.5-(-174.1+49.08)
Benzener = Benzenef/78.1118
fi = 903.84*H22+HNO3con*H33-F*H11+Benzener*Hr*1000 // kJ/h
printf(" Total heat exchanged = "+string(fi)+" kJ/h.")
|
baf67a9daeb8c84b6b4075b8255e0d3f8209902f | 1d7090b67f2b120cca234e03858597c484f228fd | /Exercise2.sce | 6d52e44f22c6ebe8def758e5d4c5324244d5f8fa | [] | no_license | DASnoeken/BoundStates | 8cbd383864b93dd08adf6988410d98c09c159b70 | 039be2c53cd1ede0cad10d2a9ec4416d5a8c59e2 | refs/heads/master | 2022-05-30T19:12:08.978946 | 2020-05-01T11:53:53 | 2020-05-01T11:53:53 | 260,447,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,907 | sce | Exercise2.sce | //Morse oscillator. Molecule: HF
clear
hbar = 1; //Dirac's constant
omegae = 0.513086529995; //vibrational constant unit in ev
mu = 0.95; //reduced mass for HF
De=5.8; //Dissociation energy in ev
alfa = (mu*omegae^2/(2*De))^(1/2);
re = 0.91680; //equilibrium distance
//create grid
maxX = 10; //bounds of the problem
n = 600; //define number of points
x = linspace(-maxX,maxX,n);
x = x';
delta = x(2)-x(1);
//Kinetic energy
for i=1:n
T(i,i)= -2; //T matrix has -2 on diagonals
if i~=1 & i ~= n
T(i,i-1)=1; //of diagonal elements, followed by a few special cases
T(i,i+1)=1;
end //if
if i==1 //Far topleft corner
T(i,i+1)=1;
end //if
if i==n //Far bottomright corner
T(i,i-1)=1;
end //if
end //for
T = T*(-hbar^2*0.5/(mu*delta^2)); //need to multiply by this constant to get correct T
//potential
for i=1:n
V(i,i) = De*(1-exp(-alfa*(x(i)-re)))^2;
end //for
H = T+V; //Hamiltonian
[u,E]=spec(H); //u = eigenvectors, E = eigenvalues
e = diag(E); //vector of eigenvalues
plot(x,-u(:,1:4)) //plot eigenvectors 1 to 4
title('Morse potential for HF')
xlabel('displacement')
ylabel('amplitude')
transit = e(2)-e(1); //transition energy between level 1 and 2, unit: eV
transcm = transit*8065.510204; //transition energy in cm-1, 1eV = 8065.51cm-1
|
552cb00d7bf2aa129d38374e627c9eec7089931a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH10/EX10.4/imc_stable1.sci | 6b8dec788e2c045c73f7e2e01115132e2da1c543 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sci | imc_stable1.sci | // Design of internal model controller
// 10.4
// Designs Discrete Internal Model Controller
// for transfer function z^{-k}B(z^{-1})/A(z^{-1})
// Numerator and Denominator of IMC HQ are outputs
// Controller is also given in R,S form
function [k,HiN,HiD] = imc_stable1(B,A,k,alpha)
[Kp,d,Bg,Bnmp,Bm] = imcsplit(B,mtlb_logical(1));
Bg = Kp * Bg;
Bnmpr = flip(Bnmp);
Bms = sum(Bm);
HiN = A;
HiD = Bms * convol(Bg,Bnmpr);
k = k+d;
endfunction;
|
d434fa76be65ea2f79429f4b71967b066dcf9c27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH6/EX6.5/Ex6_5.sce | f50d9fe4f7a847c12fb19b551b2290d43a3dd7ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Ex6_5.sce | //Example 6.5:
clc;
clear;
close;
//given data :
format('v',4)
ID=3;// in mA
I_DSS=9;// in mA
Vp=-4.5;// in V
Vgs=-Vp*(sqrt(ID/I_DSS)-1);
disp(Vgs,"Vgs(V) = ")
|
5a7efec99ed8526274ec101037a0f150879caa7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/6_6.sci | a0ce5ddbb8b0981fe58e9c1f157d672a384a6a08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | sci | 6_6.sci | k1= 55.2;
k2=30.2;
t0=0; |
4f8eb80e4e9b822cd942082564f97fac492b75d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH9/EX9.5/ch9_5.sce | b2e0b47e3c2ee19d5f386a723142faedb10c17c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | ch9_5.sce | clear;
clc;
R=3;
X_L=4;
phi=atand(X_L/R); printf("min firing angle=%.2f deg",phi);
printf("\nmax firing angle=%.0f deg",180);
V_s=230;
Z=sqrt(R^2+X_L^2);
I_or=V_s/Z; printf("\nmax value of rms load current=%.0f A",I_or);
P=I_or^2*R; printf("\nmax power=%.0f W",P);
I_s=I_or;
pf=P/(V_s*I_s); printf("\ni/p pf=%.1f",pf);
I_TAM=sqrt(2)*V_s/(%pi*Z); printf("\nmax value of avg thyristor current=%.3f A",I_TAM);
I_Tm=sqrt(2)*V_s/(2*Z); printf("\nmax value of rms thyristor current=%.3f A",I_Tm);
f=50;
w=2*%pi*f;
di=sqrt(2)*V_s*w/Z; printf("\ndi/dt=%.0f A/s",di); |
d70bba2db886a0c4122819fd1235cfc6f6c04f61 | 98292921e8ce25fd18b4384ee133b7cbbfdf1024 | /code/Octave/ott.sce | d4e1cf814385f9e004c0d6a2dffd29040b3017f0 | [] | no_license | nilqed/qmtrans | 933c25bae83543e1bc3a683dfbec3c00c77d3704 | 8ed33640c608d322be54fac1fe3eb73762957a4c | refs/heads/master | 2020-03-22T00:42:32.780858 | 2018-08-22T16:54:58 | 2018-08-22T16:55:09 | 139,260,651 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,646 | sce | ott.sce | getd('C:/numerical-tours-master/matlab/toolbox_signal/');
getd('C:/numerical-tours-master/matlab/toolbox_general/');
flat = @(x)x(:);
Cols = @(n0,n1)sparse( flat(repmat(1:n1, [n0 1])), ...
flat(reshape(1:n0*n1,n0,n1) ), ...
ones(n0*n1,1) );
Rows = @(n0,n1)sparse( flat(repmat(1:n0, [n1 1])), ...
flat(reshape(1:n0*n1,n0,n1)' ), ...
ones(n0*n1,1) );
Sigma = @(n0,n1)[Rows(n0,n1);Cols(n0,n1)];
maxit = 1e4; tol = 1e-9;
otransp = @(C,p0,p1)reshape( perform_linprog( ...
Sigma(length(p0),length(p1)), ...
[p0(:);p1(:)], C(:), 0, maxit, tol), [length(p0) length(p1)] );
n0 = 60;
n1 = 80;
gauss = @(q,a,c)a*randn(2,q)+repmat(c(:), [1 q]);
X0 = randn(2,n0)*.3;
X1 = [gauss(n1/2,.5, [0 1.6]) gauss(n1/4,.3, [-1 -1]) gauss(n1/4,.3, [1 -1])];
normalize = @(a)a/sum(a(:));
p0 = normalize(rand(n0,1));
p1 = normalize(rand(n1,1));
myplot = @(x,y,ms,col)plot(x,y, 'o', 'MarkerSize', ms, 'MarkerEdgeColor', 'k', 'MarkerFaceColor', col, 'LineWidth', 2);
clf; hold on;
for i=1:length(p0)
myplot(X0(1,i), X0(2,i), p0(i)*length(p0)*10, 'b');
end
for i=1:length(p1)
myplot(X1(1,i), X1(2,i), p1(i)*length(p1)*10, 'r');
end
axis([min(X1(1,:)) max(X1(1,:)) min(X1(2,:)) max(X1(2,:))]); axis off;
C = repmat( sum(X0.^2)', [1 n1] ) + ...
repmat( sum(X1.^2), [n0 1] ) - 2*X0'*X1;
gamma = otransp(C,p0,p1);
fprintf('Number of non-zero: %d (n0+n1-1=%d)\n', full(sum(gamma(:)~=0)), n0+n1-1);
fprintf('Constraints deviation (should be 0): %.2e, %.2e.\n', norm(sum(gamma,2)-p0(:)), norm(sum(gamma,1)'-p1(:)));
|
89f3cef170dd2a492adb3000092ccca98d6bde26 | 598546b56588670efcd591e67deb3578f52ddddc | /btests/3.3.tst | a87652d4f6812d16b659fed78c9d0c38f9aad2e2 | [] | no_license | natindo/techpark-HM1 | 6ae5da7cca55a5306f33fedd9ab4021a0d897cc2 | e9a4f25d32b0e802d1749ec2f5d1a250b6e1b2f4 | refs/heads/master | 2023-08-25T14:35:18.304147 | 2021-10-13T18:51:42 | 2021-10-13T18:51:42 | 416,403,554 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 26 | tst | 3.3.tst | KEYS="3 27644437"
OUT="1"
|
aece87845f142558450539906f1188c280c6f5bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH11/EX11.9/ex11_9.sce | 44c318004252ad5acdc22f33a5a6a52d83603fa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | ex11_9.sce | clc;
warning("off");
printf("\n\n example11.9 - pg538");
// given
Ai=4.869;
wc=6000;
cp=1;
Rf=0.002;
Uclean=69.685;
Udirty=1/(Rf+(1/Uclean));
deltaT1=300-50;
deltaT2=deltaT1/(exp((Udirty*Ai)/(wc*cp)));
Th2=300;
Tc2=Th2-deltaT2;
printf("\n\n the outlet temperature is \n Tc2 = %f degF",Tc2);
|
2e2b6afe6f9f15bcb194ff97cee9c8675a3a0a3b | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/struct_initialization_runme.sci | 230f0f9078ff3423bfe4016719f79d1407ddc720 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | struct_initialization_runme.sci | exec("alaqiltest.start", -1);
if StructC_x_get(instanceC1_get()) <> 10 then alaqiltesterror(); end
if StructD_x_get(instanceD1_get()) <> 10 then alaqiltesterror(); end
if StructD_x_get(instanceD2_get()) <> 20 then alaqiltesterror(); end
if StructD_x_get(instanceD3_get()) <> 30 then alaqiltesterror(); end
if StructE_x_get(instanceE1_get()) <> 1 then alaqiltesterror(); end
if StructF_x_get(instanceF1_get()) <> 1 then alaqiltesterror(); end
exec("alaqiltest.quit", -1); |
cfca696178ef30ad54fc92e1586165e51d4bba19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH4/EX4.13/ex_4_13.sce | ee6fa514881ea1157001069e9a7dfdde485a5ee2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | ex_4_13.sce | //Example 4.13:resistance and reactance
clc;
clear;
close;
r1=2;//ohm
r2=9;//
imp=r1+%i*r2;//ohm
mg=sqrt(r1^2+r2^2);//
th=atand(r2/r1);//
vm=85;//V
va=40;//degree
vm1=90;//V
va1=45;//degree
ccm=vm/mg;//A
cca=va-th;//degree
impm=vm1/ccm;//ohm
impa=va1-cca;//degree
reac=impm*sind(impa);//ohm
rc=sqrt(impm^2-reac^2);//ohm
f=50;//Hz
ind=reac/(2*%pi*f);//
disp(rc,"reactance is,(ohm)=")
disp(fix(ind*10^3),"inductance of the coil is,(mH)=")
|
9e63d4875c0b3f555a7c2ad0bb2c4865fd138fab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.5/10Ex5.sce | b9426305561b691845e2a1ec2fb67569e322bc10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 10Ex5.sce | //chapter 10 Ex 5
clc;
clear;
close;
n1=2/50*100;
n2=((1/2)/(1/3))*100;
n3=(84/7)*100;
n4=(40/20)*100;
n5=(130/(6.5*1000))*100;
mprintf("(i)2 is %.0f percent of 50\n (ii)1/2 is %.0f percent of 1/3\n (iii)%.0f percent of 7 is 84\n (iv)%.0f percent of 2 metric tonnes is 40 quintals\n (v) %.0f percent of 6.5 litres is 130 ml",n1,n2,n3,n4,n5);
|
fbd1253115c3a303f27a58dff18e205c5ce0114d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.38/EX2_38.sce | 5a45160c6d424ac4c2178ff690275013cf86d27d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | EX2_38.sce | //EXAMPLE 2-38 PG N0-88-89
Z=12-%i*5;
V=100; //VOLTAGE
I=V/Z; //CURRENT
disp('i) CURRENT (I) is in polar form = '+string (I) +' A ');
Z1=4+%i*3;
Z2=6-%i*8; //impedance
V1=I*Z1;
disp('i) voltage (V1) is in polar form = '+string (V1) +' V ');
V2=I*Z2; //voltage
disp('i) voltage (V2) is in polar form = '+string (V2) +' V ');
V3=2*I; //voltage
disp('i) voltage (V3) is in polar form = '+string (V3) +' V ');
P=V*I*0.9230; //ACTIVE POWER
disp('i) Active Power (P) is in polar form = '+string (P) +' W ');
|
fab5324439cf462718ac19884e0c06f4055af5a0 | 06c050d87b5b6b7e42f2d24889ec60b0f5fdd998 | /modelo_funcao_bisce.sci | fa4bed345871833566c90586176996fba9636a89 | [] | no_license | jaimedantas/Numerical-Computation-Scilab | 06958d436ee9724daa7c03f2ea14f195e5fbb596 | 66bf163bdbc0d9453cafff0369bbd5cd2fce78f3 | refs/heads/master | 2021-01-11T15:18:52.809391 | 2017-01-29T03:47:50 | 2017-01-29T03:47:50 | 80,327,110 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sci | modelo_funcao_bisce.sci | clc
function y = modelo_funcao(x)
y=-0.04+(x)/(1-x)*sqrt(2*3.5/(2+x));
endfunction
function x = bisc(a,b,prec,cont_max)
x=a;
cont=0;
Er=1;//valor aleatorio para o while
while (Er>=10^(-prec)) & (cont<=cont_max)
x_old=x;
x=(a+b)/2;
cont=cont+1;
Er=abs((x-x_old)/x);
//funcao do problema
if modelo_funcao(a) * modelo_funcao(x) < 0//Pode chamar a função assim
b=x;
else
a=x;
end
end
endfunction
x=-100:1:100;
y=modelo_funcao(x);
plot(x,y)
xgrid();//grade
x = bisc(-5,0,5,1000) |
27c9523acfae77b9cb126a1c6ccd9895ec74f999 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH11/EX11.3/Ch11Ex3.sce | 3b9154cf2f155122a8ecc41ab2a73bf1dfc80580 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 978 | sce | Ch11Ex3.sce | // Scilab Code Ex11.3: Page-560 (2011)
clc;clear;
sigma = 5;....// Conductivity of the conducting medium, mho/m
eps_r = 8.85e-12;....// Relative electrical permittivity of medium, F/m
eps_0 = 1; // Electrical permittivity of free space, F/m
E0 = 250; // Amplitude of applied electric field, V/m
J = sigma*E0; // Amplitude of conduction current density, A/metre-square
J_D = eps_r*eps_0*E0*1e+010; // Amplitude of displacement current density, A/metre-square
omega = sigma/(eps_0*eps_r); // Frequency at which J = J_D
printf("\nThe conduction current density = %3dsin(10^10t) A/metre-quare", J);
printf("\nThe displacement current density = %5.3fcos(10^10t) A/metre-quare", J_D);
printf("\nThe frequency at which J = J_D is %3.1e Hz", omega);
// Result
// The conduction current density = 1250sin(10^10t) A/metre-quare
// The displacement current density = 22.125cos(10^10t) A/metre-quare
// The frequency at which J = J_D is 5.6e+11 Hz
|
d9b1c59d8671625ea233470564cb3339e3205115 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH4/EX4.11/Ex4_11.sce | 45b6a0f19be910e68524a8cf9244dfdb5c7a4979 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | Ex4_11.sce | clear;
clc;
//page no. 126
D = 6;//in
v = 100;//fps
p = 0;//psi
gam = 0.08;//specific weight in lb/cuft
R = 6;//in
theta = 60;//degrees
v_r = v*(1-(0.5*D/R)^2)*cos(theta*%pi/180);
v_t = -v*(1+(0.5*D/R)^2)*sin(theta*%pi/180);
V = sqrt(v_r^2 + v_t^2);
p = ((v^2 /(2*32.2)) - (V^2 /(2*32.2)) - (cos(theta*%pi/180)*sin(theta*%pi/180)))*gam;
printf('Velocity = %.1f fps\n Pressure = %.2f psf',V,p);
//there is an error in the answer given in textbook
|
6d97a59553333067fadffc655f4ae3baf7514579 | 17dd6e9c9459b72f85b0a71f73e670abf1ca9f4e | /Wiskunde1/cursus/oefeningen/oppervlakte.sci | ef8fbe2d7ad771a9962dc48f5e4c85a29fb55d2a | [] | no_license | Woumpousse/KHL | e80c9a00bf71321539b218d8ec047883a9c2fc91 | 066a06c131c617e8be9ec6ac2f4c76b637aba34e | refs/heads/master | 2020-12-24T13:18:20.656259 | 2014-09-29T16:14:00 | 2014-09-29T16:14:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | sci | oppervlakte.sci | function r = opp(z)
r = z * z
end
opp(2.5)
opp(3.125)
|
f95ab1e80f8a1d4bfab5d024d91364d18eacb2b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH14/EX14.2/Example14_2.sce | dea73eede3ca1abf22f740b26ce7d349e24d92f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | Example14_2.sce | ////Chapter No 14 Air Standard Cycles
////Example 2 Page No:302
///Find Engin work on carnot cycle
//Input data
clc;
clear;
QR=1.5; //tau=QS-QR
//T=Tmax-Tmin
T=300; //temperature limit of the cycle in degree celsius
//Calculation
//QR=1.5*(QS-QR)
QR=(1.5/2.5); //Engin work on carnot cycle
eta=(1-QR); //Thermal effeciency
Tmax=round((T/eta)-273.15); //Maximum temperataure
Tmin=(Tmax-T); //Minimum temperataure
//Output
printf('Engin work on carnot cycle= %f QS \n',QR);
printf('Thermal effeciency= %f percent \n',100*eta);
printf('Maximum temperataure= %f degree celsius \n ',Tmax);
printf('Minimum temperataure= %f degree celsius \n ',Tmin);
|
f16d528d6bed7bc7523774fe366b3aff069717fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH10/EX10.13/example_10_13.sce | bd2b116736b539f18cbaebf1a69e7b3d3b4e18b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 7,743 | sce | example_10_13.sce | clear;
clc;
disp("--------------Example 10.13---------------")
function[codeword]=generate_codeword (dataword) // functionto generate the codeword at the sender
r0=bitxor(bitxor(matrix(dataword(4),1,1),matrix(dataword(3),1,1)),matrix(dataword(2),1,1)); // r0=a0+a1+a2
s1=bitxor(bitxor(matrix(dataword(3),1,1),matrix(dataword(2),1,1)),matrix(dataword(1),1,1)); // s1=a1+a2+a3
r2=bitxor(bitxor(matrix(dataword(3),1,1),matrix(dataword(4),1,1)),matrix(dataword(1),1,1)); // r2=a0+a1+a3
codeword=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4))+string(r2)+string(s1)+string(r0); // form the codeword
endfunction
function[syndrome] = generate_syndrome(codeword_recieved) // function to generate syndrome at the reciever
s0=bitxor(bitxor(matrix(codeword_recieved(7),1,1),matrix(codeword_recieved(2),1,1)),bitxor(matrix(codeword_recieved(3),1,1),matrix(codeword_recieved(4),1,1))); // s0=b2+b1+b0+q0
s1=bitxor(bitxor(matrix(codeword_recieved(6),1,1),matrix(codeword_recieved(1),1,1)),bitxor(matrix(codeword_recieved(2),1,1),matrix(codeword_recieved(3),1,1))); // s0=b3+b2+b1+q1
s2=bitxor(bitxor(matrix(codeword_recieved(5),1,1),matrix(codeword_recieved(4),1,1)),bitxor(matrix(codeword_recieved(3),1,1),matrix(codeword_recieved(1),1,1))); // s0=b3+b1+b0+q2
syndrome=string(s2)+string(s1)+string(s0); // the syndrome formed
endfunction
function[]=find_error (syndrome,dataword,codeword,codeword_recieved) // functin to find the error bit and display the final corrected data word
select syndrome
case "000"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
printf("The dataword %s becomes the codeword %s. The codeword %s is received.The syndrome is %s (no error), the final dataword is %s.",dw,codeword,cw,syndrome,dw);
case "001"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
error_bit="q0";
printf("The dataword %s becomes the codeword %s. The codeword %s is received. The syndrome is %s.\n%s is the error. After flipping %s, the final dataword is %s.",dw,codeword,cw,syndrome,error_bit,error_bit,dw);
case "010"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
error_bit="q1";
printf("The dataword %s becomes the codeword %s. The codeword %s is received. The syndrome is %s.\n%s is the error. After flipping %s, the final dataword is %s.",dw,codeword,cw,syndrome,error_bit,error_bit,dw);
case "011"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
error_bit="b2";
fdw=string(codeword_recieved(1))+string(bitcmp(codeword_recieved(2),1))+string(codeword_recieved(3))+string(codeword_recieved(4)); // corrected dataword
printf("The dataword %s becomes the codeword %s. The codeword %s is received. The syndrome is %s.\n%s is the error. After flipping %s, the final dataword is %s.",dw,codeword,cw,syndrome,error_bit,error_bit,fdw);
case "100"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
error_bit="q2";
printf("The dataword %s becomes the codeword %s. The codeword %s is received. The syndrome is %s.\n%s is the error. After flipping %s, the final dataword is %s.",dw,codeword,cw,syndrome,error_bit,error_bit,dw);
case "101"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
error_bit="b0";
fdw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(bitcmp(codeword_recieved(4),1)); // corrected dataword
printf("The dataword %s becomes the codeword %s. The codeword %s is received. The syndrome is %s.\n%s is the error. After flipping %s, the final dataword is %s.",dw,codeword,cw,syndrome,error_bit,error_bit,fdw);
case "110"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
error_bit="b3";
fdw=string(bitcmp(codeword_recieved(1),1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4)); // corrected dataword
printf("The dataword %s becomes the codeword %s. The codeword %s is received. The syndrome is %s.\n%s is the error. After flipping %s, the final dataword is %s.",dw,codeword,cw,syndrome,error_bit,error_bit,fdw);
case "111"
dw=string(dataword(1))+string(dataword(2))+string(dataword(3))+string(dataword(4));
cw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(codeword_recieved(3))+string(codeword_recieved(4))+string(codeword_recieved(5))+string(codeword_recieved(6))+string(codeword_recieved(7));
error_bit="b1";
fdw=string(codeword_recieved(1))+string(codeword_recieved(2))+string(bitcmp(codeword_recieved(3),1))+string(codeword_recieved(4)); // corrected dataword
printf("The dataword %s becomes the codeword %s. The codeword %s is received. The syndrome is %s.\n%s is the error. After flipping %s, the final dataword is %s.",dw,codeword,cw,syndrome,error_bit,error_bit,fdw);
end
endfunction
// 1)
dataword=[0 1 0 0];
codeword=generate_codeword(dataword); // calling the function
codeword_recieved=[0 1 0 0 0 1 1];
syndrome=generate_syndrome(codeword_recieved) // calling the function
printf("\n1)");
find_error(syndrome,dataword,codeword,codeword_recieved); // calling the function
// 2)
dataword=[0 1 1 1];
codeword=generate_codeword(dataword); // calling the function
codeword_recieved=[0 0 1 1 0 0 1];
syndrome=generate_syndrome(codeword_recieved) // calling the function
printf("\n\n2)");
find_error(syndrome,dataword,codeword,codeword_recieved); // calling the function
// 3)
dataword=[1 1 0 1];
codeword=generate_codeword(dataword); // calling the function
codeword_recieved=[0 0 0 1 0 0 0];
syndrome=generate_syndrome(codeword_recieved) // calling the function
printf("\n\n3)");
find_error(syndrome,dataword,codeword,codeword_recieved); // calling the function
printf("\nThis is the wrong dataword. This shows that Hamming code cannot correct two errors.");
|
f77025117caa1805d7a4863dfbca0507f1a9a87e | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH7/EX7.16/7ex16.sci | cb786a77b055bb3fc8806f206502426b3c9015b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 955 | sci | 7ex16.sci | u=3; //mean of distribution of random variable X
x=[0,1,2,3,4,5,6]; //values of X in the distribution as x where it is the number of times heads occurs when a coin is tossed six times
p=[1/64,6/64,15/64,20/64,15/64,6/64,1/64]; //probabilities of occurrence of each value of X (x) in the distribution such that 1/64 gives the probability of occurrence of no heads at all,6/64 gives that of occurrence of heads for only one time and so on
k=0;
for i=1:7;
k=k+((x(i)-u)^2)*p(i);
end
disp(k,'Variance of X is')
s=sqrt(k);
disp(s,'Standard deviation of X is')
u=0.75; //mean
x=[0,1,2,3]; //values of random variable X as x in the probability distribution of X
p=[84/220,108/220,27/220,1/220]; //probability of values in x which appear in distribution table of X
g=0;
for i=1:4;
g=g+((x(i))^2)*p(i);
end
h=g-(u*u);
disp(h,'variance of X is')
sd=sqrt(h);
disp(sd,'Standard deviation for X') |
9254691d5a1fbe276c2e83e1f1b8a0a503b87321 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.8_13.tst | f6ae17fd38d572ac418b30e6c1e7d825b126d418 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 25,440 | tst | bow.8_13.tst | 8 13:0.25 24:0.5 25:0.5714285714285714 40:0.3333333333333333 49:2.0 65:1.0 76:1.0 77:1.0 88:0.5 90:0.6666666666666666 106:0.16666666666666666 123:0.018867924528301886 156:0.5 162:1.0 187:1.0 303:1.0 331:1.0 420:0.5 639:1.0 700:1.0 798:1.0 991:1.0 1167:1.0 1216:1.0 1217:1.0 1315:1.0 1318:1.0 1398:2.0 2135:1.0 2418:1.0 2581:1.0 3196:1.0 3447:1.0 4383:1.0 5019:1.0
8 6:1.0 24:1.0 34:0.125 47:1.0 49:0.5 88:0.75 98:0.3333333333333333 106:0.16666666666666666 123:0.018867924528301886 286:1.0 297:1.0 376:1.0 402:1.0 404:1.0 472:0.5 944:1.0 991:1.0 1051:1.0 1066:1.0 1081:1.0 1229:1.0 1256:1.0 1261:1.0 2296:1.0 3599:1.0 3885:1.0 5580:1.0
8 7:0.14285714285714285 20:0.16666666666666666 40:0.3333333333333333 49:0.5 90:0.6666666666666666 123:0.018867924528301886 142:0.5 143:1.0 176:1.0 210:1.0 303:1.0 373:0.25 388:0.3333333333333333 452:0.5 533:1.0 639:1.0 989:0.3333333333333333 1498:1.0 1706:1.0 2054:1.0 2384:1.0 3114:0.5 4421:1.0
8 13:0.25 23:0.4 24:0.5 25:0.2857142857142857 31:0.16666666666666666 32:0.5 34:0.125 79:1.0 88:0.25 107:1.0 123:0.018867924528301886 133:0.14285714285714285 135:0.5 186:1.0 220:0.3333333333333333 226:1.0 227:1.0 303:1.0 330:1.0 373:0.5 492:0.07692307692307693 585:0.5 737:1.0 893:1.0 1014:1.0 1371:0.1111111111111111 1480:1.0 1766:1.0 1867:1.0 2476:1.0 5903:1.0
8 6:1.0 7:0.14285714285714285 20:0.16666666666666666 23:0.2 25:0.2857142857142857 32:1.0 49:0.5 76:1.0 90:0.3333333333333333 123:0.018867924528301886 135:0.5 156:0.5 179:0.3333333333333333 203:0.3333333333333333 229:1.0 264:0.5 388:0.3333333333333333 776:1.0 996:1.0 1151:1.0 1167:1.0 1326:1.0 1489:0.5 1863:0.5 2360:1.0 2544:1.0
8 7:0.14285714285714285 20:0.16666666666666666 24:0.5 31:0.16666666666666666 32:0.5 40:0.3333333333333333 49:0.5 88:0.5 103:0.5 107:1.0 124:1.0 175:0.5 203:0.3333333333333333 210:1.0 282:1.0 302:1.0 453:1.0 459:0.06666666666666667 607:1.0 634:1.0 639:1.0 759:1.0 798:1.0 921:1.0 1249:1.0 2418:1.0 2730:1.0 3237:1.0 3488:1.0 4303:1.0
8 7:0.5714285714285714 25:0.14285714285714285 38:0.5 40:0.6666666666666666 43:1.0 45:1.0 76:3.0 80:1.0 88:0.25 137:0.5 171:0.3333333333333333 176:1.0 229:1.0 298:1.0 324:0.5 329:0.5 460:0.25 593:1.0 663:1.0 700:1.0 787:1.0 847:1.0 1286:1.0 1324:1.0 4255:1.0
8 11:0.16666666666666666 25:0.14285714285714285 31:0.16666666666666666 32:0.5 49:1.0 79:1.0 80:1.0 88:0.5 90:0.3333333333333333 130:1.0 190:1.0 265:1.0 272:1.0 282:1.0 317:1.0 351:1.0 373:0.25 597:0.5 690:1.0 720:1.0 1495:1.0 1620:1.0 2581:1.0 3599:1.0 3837:1.0 5941:1.0
8 7:0.2857142857142857 25:0.14285714285714285 32:0.5 49:1.0 174:1.0 245:0.3333333333333333 388:0.3333333333333333 492:0.07692307692307693 590:1.0 825:1.0 932:1.0 1127:1.0 1186:1.0 1411:0.5 1551:1.0 2080:1.0 4500:1.0
8 7:0.14285714285714285 23:0.2 24:1.0 25:0.14285714285714285 31:0.16666666666666666 32:0.5 34:0.125 40:0.3333333333333333 49:1.0 88:0.25 90:0.3333333333333333 123:0.018867924528301886 142:0.5 159:0.16666666666666666 177:0.5 186:1.0 239:0.25 303:1.0 373:0.25 459:0.06666666666666667 507:0.5 639:1.0 720:1.0 882:1.0 960:1.0 1465:1.0 2065:1.0 3331:1.0 3465:1.0 5031:1.0
8 20:0.16666666666666666 25:0.14285714285714285 49:0.5 88:0.5 90:0.3333333333333333 130:1.0 138:0.5 167:0.1111111111111111 181:0.5 359:1.0 373:0.25 388:0.6666666666666666 393:1.0 398:0.09090909090909091 462:1.0 492:0.07692307692307693 1303:1.0 1408:1.0 1964:1.0 2571:1.0 5130:1.0
8 20:0.16666666666666666 25:0.2857142857142857 34:0.125 49:0.5 76:1.0 117:1.0 121:1.0 297:1.0 335:1.0 388:0.6666666666666666 398:0.09090909090909091 420:0.5 1415:0.5 1470:1.0 2811:1.0 3196:1.0 3988:1.0
8 25:0.14285714285714285 31:0.16666666666666666 34:0.125 49:0.5 88:0.25 90:0.3333333333333333 103:0.5 123:0.05660377358490566 210:1.0 224:1.0 259:0.5 329:0.5 385:1.0 420:0.5 459:0.06666666666666667 486:0.5 639:1.0 700:1.0 741:1.0 1406:1.0 2427:1.0 2888:1.0 3074:1.0 3657:1.0 5019:1.0 5495:1.0
8 25:0.14285714285714285 40:0.3333333333333333 49:0.5 88:0.25 123:0.018867924528301886 171:0.3333333333333333 179:0.3333333333333333 229:1.0 259:0.5 388:0.3333333333333333 389:1.0 393:1.0 398:0.09090909090909091 447:0.25 478:1.0 492:0.07692307692307693 872:1.0 996:1.0 1982:1.0 2319:1.0 3336:1.0 4146:1.0 5778:1.0
8 20:0.16666666666666666 25:0.42857142857142855 49:0.5 76:2.0 98:0.3333333333333333 106:0.16666666666666666 121:1.0 123:0.018867924528301886 190:1.0 203:0.3333333333333333 239:0.25 297:1.0 303:2.0 304:1.0 388:0.3333333333333333 447:0.25 486:0.5 492:0.07692307692307693 567:0.5 677:1.0 697:1.0 704:0.25 718:0.5 1150:0.16666666666666666 1271:1.0 1460:1.0 2356:1.0 2405:1.0 4205:1.0
8 7:0.14285714285714285 14:0.3333333333333333 24:0.5 34:0.125 88:0.5 90:0.6666666666666666 234:0.16666666666666666 245:0.3333333333333333 331:1.0 373:0.25 460:0.25 514:1.0 573:0.5 1344:1.0 1407:1.0 2707:1.0 2882:1.0 3968:1.0 5581:2.0
8 24:0.5 46:1.0 133:0.14285714285714285 175:0.5 181:0.5 1201:1.0 2098:0.5 4059:1.0 4244:1.0 4996:1.0 5279:1.0
8 31:0.16666666666666666 76:1.0 90:0.3333333333333333 126:1.0 139:1.0 163:0.25 282:1.0 328:1.0 345:1.0 745:0.5 787:1.0 882:1.0 1303:1.0 1973:1.0 2108:1.0 2625:1.0 3810:1.0 4410:1.0
8 7:0.14285714285714285 13:0.25 32:0.5 88:0.25 90:0.3333333333333333 123:0.03773584905660377 133:0.2857142857142857 144:1.0 162:1.0 175:0.5 215:1.0 473:1.0 531:0.3333333333333333 690:1.0 697:1.0 1371:0.1111111111111111 2238:1.0 2625:1.0 2835:1.0 3061:1.0
8 25:0.14285714285714285 31:0.16666666666666666 49:0.5 88:0.25 123:0.018867924528301886 131:1.0 210:1.0 398:0.09090909090909091 659:0.5 1208:0.3333333333333333 2213:0.5 3100:1.0 3649:1.0 5194:1.0
8 6:1.0 7:0.14285714285714285 24:0.5 40:0.6666666666666666 68:0.3333333333333333 123:0.018867924528301886 124:1.0 210:1.0 459:0.06666666666666667 530:0.5 769:1.0 978:1.0 1014:1.0 1167:1.0 1451:1.0 1713:1.0 2095:1.0 2576:1.0 2582:1.0 2583:1.0
8 40:0.3333333333333333 48:1.0 88:0.25 159:0.16666666666666666 220:0.3333333333333333 259:0.5 357:1.0 359:1.0 492:0.07692307692307693 709:0.1 791:1.0 1547:1.0 1871:1.0 2643:1.0 3042:1.0 4537:1.0
8 20:0.3333333333333333 24:0.5 25:0.42857142857142855 32:0.5 49:2.0 80:1.0 106:0.16666666666666666 123:0.018867924528301886 124:1.0 181:0.5 203:0.3333333333333333 218:1.0 357:1.0 388:0.3333333333333333 492:0.07692307692307693 576:1.0 731:1.0 809:1.0 1766:1.0 2880:1.0
8 5:1.0 7:0.14285714285714285 20:0.16666666666666666 25:0.14285714285714285 32:0.5 49:0.5 137:0.5 169:1.0 185:1.0 373:0.25 492:0.07692307692307693 518:1.0 535:0.5 536:1.0 597:0.5 791:1.0 823:1.0 2631:1.0
8 7:0.14285714285714285 11:0.16666666666666666 13:0.25 25:0.14285714285714285 32:0.5 49:0.5 88:0.25 117:1.0 126:1.0 133:0.14285714285714285 137:0.5 222:1.0 287:0.5 398:0.09090909090909091 518:1.0 533:1.0 574:1.0 586:1.0 1106:1.0 3403:1.0 3665:2.0 3968:2.0
8 31:0.16666666666666666 32:0.5 40:0.3333333333333333 76:1.0 88:0.25 91:0.5 106:0.16666666666666666 123:0.03773584905660377 133:0.14285714285714285 135:0.5 245:0.3333333333333333 259:1.0 303:1.0 337:1.0 393:1.0 832:1.0 3539:1.0 3854:1.0 3968:1.0 4211:1.0 4329:1.0
8 7:0.14285714285714285 14:0.3333333333333333 18:0.5 25:0.14285714285714285 31:0.3333333333333333 32:0.5 40:0.3333333333333333 47:1.0 49:0.5 123:0.018867924528301886 133:0.14285714285714285 144:1.0 167:0.1111111111111111 178:1.0 220:0.3333333333333333 234:0.16666666666666666 310:1.0 377:1.0 492:0.07692307692307693 498:1.0 690:1.0 702:1.0 894:1.0 1014:1.0 1525:1.0 2625:1.0
8 25:0.14285714285714285 48:1.0 49:0.5 76:1.0 90:0.3333333333333333 123:0.05660377358490566 176:1.0 220:0.3333333333333333 224:1.0 272:1.0 457:0.3333333333333333 459:0.06666666666666667 492:0.15384615384615385 616:1.0 690:1.0 909:0.5 1525:1.0 3927:1.0
8 16:0.14285714285714285 20:0.16666666666666666 24:0.5 25:0.2857142857142857 32:0.5 40:0.3333333333333333 49:1.0 62:1.0 72:1.0 88:0.25 123:0.03773584905660377 179:0.3333333333333333 181:0.5 208:1.0 220:0.3333333333333333 224:1.0 308:0.5 373:0.25 443:0.2 472:0.5 535:0.5 536:1.0 611:0.3333333333333333 850:1.0 1106:1.0 1768:1.0 2712:1.0 2986:1.0
8 7:0.14285714285714285 13:0.25 14:0.3333333333333333 25:0.2857142857142857 34:0.125 123:0.018867924528301886 133:0.14285714285714285 181:0.5 210:1.0 310:1.0 332:1.0 335:1.0 797:1.0 825:1.0 1828:1.0 1896:1.0 4225:1.0
8 7:0.14285714285714285 14:0.3333333333333333 20:0.3333333333333333 25:0.2857142857142857 32:1.0 40:0.3333333333333333 49:1.0 88:0.25 107:1.0 123:0.018867924528301886 133:0.14285714285714285 139:1.0 228:1.0 234:0.16666666666666666 245:0.3333333333333333 282:1.0 287:0.5 303:1.0 329:0.5 459:0.06666666666666667 533:1.0 573:0.5 692:1.0 700:1.0 797:1.0 1106:1.0 1298:0.5 1855:1.0 2243:1.0 2687:1.0 4104:1.0 4112:1.0
8 7:0.14285714285714285 13:0.25 25:0.42857142857142855 31:0.16666666666666666 32:1.0 34:0.125 49:0.5 80:1.0 90:0.3333333333333333 123:0.018867924528301886 186:1.0 1102:1.0 1106:1.0 1348:1.0 1371:0.1111111111111111 1653:1.0 2110:1.0 3278:1.0
8 32:0.5 62:1.0 88:0.25 90:0.3333333333333333 123:0.03773584905660377 127:0.5 139:1.0 210:1.0 218:1.0 224:1.0 312:1.0 372:1.0 402:1.0 506:0.5 649:0.5 756:1.0 891:1.0 1421:1.0 1449:1.0 1656:1.0 1761:1.0 1948:1.0 2296:1.0 2884:1.0 3769:1.0 4056:1.0
8 14:0.3333333333333333 25:0.2857142857142857 31:0.16666666666666666 38:0.5 43:1.0 49:1.5 88:0.5 90:0.3333333333333333 161:1.0 186:1.0 220:0.3333333333333333 228:1.0 239:0.25 282:1.0 388:0.3333333333333333 425:1.0 619:0.5 769:1.0 798:1.0 858:1.0 1604:0.3333333333333333 1668:1.0 2082:1.0 2196:1.0 2719:1.0 2891:2.0 3655:1.0 3994:1.0 4315:1.0
8 11:0.5 12:0.5 20:0.16666666666666666 23:0.2 24:0.5 32:1.0 47:1.0 49:1.0 88:0.5 90:0.3333333333333333 139:1.0 159:0.16666666666666666 160:1.0 163:0.25 306:0.3333333333333333 486:0.5 700:1.0 1194:1.0 2054:1.0 3114:0.5 3410:1.0 3995:1.0
8 20:0.3333333333333333 49:1.0 88:0.25 139:1.0 180:1.0 486:0.5 1676:1.0 2132:1.0 4401:1.0
8 31:0.16666666666666666 68:0.3333333333333333 124:1.0 447:0.25 2098:0.5 3896:1.0
8 7:0.14285714285714285 20:0.3333333333333333 25:0.14285714285714285 40:0.3333333333333333 88:0.25 171:0.3333333333333333 179:0.3333333333333333 322:1.0 335:1.0 780:1.0 1867:1.0 2071:1.0 3070:1.0 3668:1.0 4350:1.0
8 20:0.16666666666666666 24:0.5 25:0.42857142857142855 31:0.16666666666666666 40:0.3333333333333333 49:1.5 106:0.16666666666666666 124:1.0 159:0.16666666666666666 167:0.1111111111111111 203:0.3333333333333333 302:1.0 373:0.25 447:0.25 459:0.06666666666666667 535:0.5 536:1.0 587:1.0 727:1.0 1082:2.0 1609:1.0 1713:1.0 2726:1.0 2889:1.0 2947:1.0 2967:1.0 3325:1.0 5836:1.0
8 20:0.16666666666666666 24:0.5 25:0.14285714285714285 31:0.16666666666666666 34:0.25 88:0.75 107:1.0 124:2.0 127:0.5 220:0.3333333333333333 259:1.0 282:1.0 310:1.0 329:0.5 388:0.3333333333333333 573:0.5 750:1.0 1216:1.0 1251:1.0 1696:1.0 1736:1.0 1797:1.0 2082:1.0 3317:1.0 3646:1.0 4105:1.0 4255:1.0
8 20:0.16666666666666666 25:0.42857142857142855 40:0.3333333333333333 88:0.5 90:0.3333333333333333 587:1.0 791:1.0 914:1.0 986:1.0 1736:1.0
8 20:0.16666666666666666 49:0.5 76:1.0 123:0.03773584905660377 126:1.0 159:0.16666666666666666 163:0.25 203:0.3333333333333333 220:0.3333333333333333 552:0.3333333333333333 645:0.5 659:0.5 1899:1.0 2055:1.0 4054:1.0 5334:1.0
8 7:0.14285714285714285 14:0.3333333333333333 23:0.2 25:0.14285714285714285 49:1.0 73:1.0 167:0.1111111111111111 187:1.0 328:1.0 329:0.5 492:0.07692307692307693 639:1.0 702:1.0 722:0.5 843:1.0 1489:0.5 1565:1.0 2730:1.0 2907:0.5 3087:1.0 3424:1.0 3690:1.0
8 25:0.14285714285714285 34:0.125 73:1.0 123:0.018867924528301886 124:1.0 133:0.14285714285714285 255:1.0 274:0.5 334:1.0 475:1.0 980:1.0 1723:1.0 1786:0.5 2369:1.0 2719:1.0 3287:1.0 3336:1.0 4732:1.0
8 31:0.16666666666666666 49:0.5 90:0.3333333333333333 159:0.16666666666666666 163:0.25 220:0.3333333333333333 306:0.3333333333333333 388:0.3333333333333333 898:1.0 1014:1.0 1121:1.0 1186:1.0 2907:0.5
8 7:0.14285714285714285 31:0.16666666666666666 32:1.5 49:1.0 62:1.0 103:0.5 123:0.03773584905660377 133:0.14285714285714285 308:0.5 388:0.3333333333333333 398:0.09090909090909091 447:0.25 608:0.08333333333333333 645:0.5 659:0.5 661:1.0 681:1.0 966:1.0 1406:1.0 1476:1.0 1525:1.0 1586:1.0 2439:1.0 2687:1.0 3149:1.0 3771:1.0
8 20:0.16666666666666666 24:0.5 31:0.16666666666666666 32:0.5 40:0.3333333333333333 49:0.5 88:0.25 90:0.3333333333333333 103:0.5 159:0.3333333333333333 220:0.3333333333333333 241:1.0 243:0.2 388:0.6666666666666666 390:1.0 492:0.07692307692307693 556:0.3333333333333333 891:1.0 1167:1.0 1863:0.5 2182:1.0 2551:1.0 2643:1.0 3783:1.0 4502:1.0
8 49:0.5 80:1.0 199:1.0 213:1.0 1668:1.0 2228:1.0 3840:1.0
8 25:0.14285714285714285 32:0.5 49:0.5 88:0.25 133:0.14285714285714285 238:0.16666666666666666 373:0.25 604:1.0 794:0.6 1134:1.0 1238:2.0 1307:1.0 1759:1.0 1863:0.5 1865:0.5 2296:1.0 2300:1.0 2992:1.0 5154:1.0 5621:1.0
8 6:1.0 13:0.25 25:0.14285714285714285 88:0.25 123:0.05660377358490566 133:0.14285714285714285 209:1.0 245:0.3333333333333333 351:1.0 643:1.0 688:0.3333333333333333 799:1.0 1848:1.0 3611:1.0 4119:1.0
8 7:0.14285714285714285 11:0.16666666666666666 20:0.3333333333333333 23:0.2 40:0.3333333333333333 49:0.5 80:1.0 88:0.25 108:1.0 123:0.018867924528301886 163:0.25 199:1.0 259:1.0 263:1.0 303:1.0 716:1.0 825:1.0 1348:1.0 1842:0.5 1898:0.14285714285714285 2054:1.0 2810:1.0 3619:1.0 5056:1.0 5621:1.0
8 11:0.16666666666666666 24:0.5 25:0.2857142857142857 32:1.0 186:1.0 374:1.0 653:1.0 823:1.0 909:0.5 980:2.0 1104:1.0 1119:1.0 1291:1.0 1761:1.0 2315:1.0 2564:1.0 3378:1.0 4001:2.0
8 20:0.3333333333333333 49:0.5 80:3.0 88:0.75 139:2.0 220:0.3333333333333333 245:0.3333333333333333 282:1.0 430:1.0 587:1.0 597:0.5 629:1.0 983:1.0 1249:1.0 1353:1.0 1398:1.0 2405:1.0 2638:1.0 2907:0.5 2950:1.0 3055:1.0 3675:1.0 3700:1.0 4425:1.0 5189:1.0
8 32:1.0 40:0.6666666666666666 49:1.5 68:0.3333333333333333 103:0.5 135:0.5 167:0.1111111111111111 177:0.5 234:0.16666666666666666 238:0.16666666666666666 388:0.6666666666666666 393:1.0 586:1.0 798:1.0 813:1.0 909:0.5 1134:1.0 1650:1.0 1788:1.0 1988:1.0
8 24:0.5 25:0.14285714285714285 32:0.5 123:0.018867924528301886 135:0.5 186:1.0 303:1.0 586:1.0 796:1.0 5620:1.0
8 7:0.14285714285714285 24:1.0 25:0.14285714285714285 32:1.0 34:0.125 68:0.3333333333333333 88:0.5 90:0.3333333333333333 103:0.5 107:1.0 123:0.018867924528301886 133:0.14285714285714285 186:1.0 459:0.06666666666666667 555:1.0 638:1.0 769:1.0 798:1.0 833:0.5 955:1.0 980:1.0 1082:1.0 1397:1.0 1495:1.0 1934:1.0
8 25:0.2857142857142857 49:1.5 90:0.3333333333333333 133:0.14285714285714285 177:0.5 312:1.0 486:0.5 618:1.0 667:1.0 1043:1.0 1386:1.0 1616:1.0 1706:1.0 1863:0.5 3567:1.0 4174:1.0 4756:0.3333333333333333 5676:1.0 5889:1.0
8 11:0.16666666666666666 20:0.3333333333333333 32:1.0 49:0.5 88:0.25 123:0.018867924528301886 138:0.5 142:0.5 167:0.1111111111111111 179:0.3333333333333333 218:1.0 240:1.0 259:0.5 332:1.0 531:0.3333333333333333 689:1.0 770:1.0 806:0.5 833:0.5 945:1.0 1033:1.0 1233:1.0 1412:1.0 1868:1.0 2746:1.0 3805:1.0 4782:1.0
8 40:0.3333333333333333 49:1.0 88:0.5 123:0.03773584905660377 199:1.0 220:0.3333333333333333 224:1.0 373:0.25 1033:1.0 1215:1.0 2281:1.0 4469:1.0
8 20:0.16666666666666666 23:0.2 24:0.5 25:0.2857142857142857 32:0.5 49:0.5 68:0.3333333333333333 90:0.3333333333333333 98:0.3333333333333333 177:0.5 181:0.5 229:1.0 282:1.0 373:0.25 486:0.5 535:0.5 536:1.0 573:0.5 905:1.0 1943:1.0 2458:1.0 2745:1.0
8 25:0.14285714285714285 32:0.5 40:0.3333333333333333 113:1.0 133:0.14285714285714285 157:1.0 177:0.5 181:0.5 229:1.0 282:1.0 905:1.0 1957:1.0 2578:1.0 3933:1.0
8 27:1.0 32:0.5 49:0.5 88:0.5 90:0.3333333333333333 123:0.018867924528301886 167:0.1111111111111111 318:1.0 1676:1.0 1913:1.0 2292:1.0 2569:1.0
8 7:0.14285714285714285 25:0.2857142857142857 32:0.5 34:0.125 42:1.0 80:1.0 88:0.25 103:0.5 199:1.0 234:0.16666666666666666 247:1.0 492:0.15384615384615385 567:0.5 798:1.0 1371:0.2222222222222222 2199:0.5
8 25:0.14285714285714285 32:0.5 123:0.018867924528301886 133:0.14285714285714285 218:1.0 256:1.0 259:0.5 282:1.0 303:1.0 373:0.25 492:0.07692307692307693 1171:1.0 1677:1.0 3835:1.0 5555:1.0
8 7:0.14285714285714285 25:0.14285714285714285 72:1.0 76:1.0 90:0.6666666666666666 123:0.018867924528301886 133:0.14285714285714285 160:1.0 177:0.5 328:1.0 1384:1.0 2021:0.5 3114:0.5
8 7:0.14285714285714285 40:0.3333333333333333 49:1.0 76:1.0 103:0.5 121:1.0 138:0.5 163:0.25 175:0.5 228:1.0 310:1.0 328:1.0 373:0.25 443:0.2 963:0.5 2466:1.0 3888:1.0 4118:1.0 5194:1.0
8 23:0.2 24:0.5 25:0.14285714285714285 49:0.5 90:0.6666666666666666 98:0.3333333333333333 103:0.5 123:0.018867924528301886 181:0.5 199:1.0 215:1.0 220:0.3333333333333333 293:1.0 328:1.0 329:0.5 373:0.25 447:0.25 861:1.0 908:0.5 1066:1.0 1315:1.0 1408:1.0 1525:1.0 1714:1.0 1983:1.0
8 14:0.3333333333333333 25:0.14285714285714285 32:0.5 106:0.16666666666666666 124:1.0 388:0.3333333333333333 491:1.0 715:1.0 1975:1.0 2036:1.0 2213:0.5 3108:1.0 3318:1.0
8 7:0.42857142857142855 15:0.3333333333333333 18:0.5 24:1.0 32:1.0 40:0.6666666666666666 61:1.0 73:1.0 88:0.5 98:0.3333333333333333 103:0.5 123:0.03773584905660377 303:1.0 393:1.0 443:0.2 460:0.25 537:1.0 608:0.08333333333333333 662:1.0 960:1.0 1406:1.0 1475:1.0 1606:1.0 1842:0.5 3062:1.0 3805:1.0 3890:1.0 4153:1.0 4782:1.0
8 12:0.5 32:0.5 40:0.3333333333333333 68:0.3333333333333333 73:1.0 76:2.0 88:0.25 144:1.0 159:0.16666666666666666 160:1.0 282:1.0 420:1.0 639:1.0 1019:0.25 1221:1.0 1303:2.0 1727:1.0 2100:1.0 2347:1.0 3576:1.0 3799:1.0 3800:1.0 5620:1.0 5781:1.0
8 20:0.16666666666666666 62:1.0 88:0.25 123:0.018867924528301886 144:1.0 224:1.0 393:1.0 459:0.13333333333333333 486:0.5 494:0.3333333333333333 851:1.0 891:1.0 1104:1.0 1367:1.0 2375:1.0 2677:1.0 5271:1.0 5865:1.0
8 7:0.2857142857142857 14:0.3333333333333333 25:0.14285714285714285 40:0.3333333333333333 49:0.5 103:0.5 123:0.018867924528301886 234:0.3333333333333333 382:1.0 459:0.06666666666666667 472:0.5 506:0.5 523:1.0 1167:1.0 2141:1.0 2701:1.0 2719:1.0
8 20:0.16666666666666666 25:0.42857142857142855 32:0.5 33:1.0 68:0.3333333333333333 90:0.3333333333333333 123:0.018867924528301886 126:1.0 245:0.3333333333333333 259:0.5 402:1.0 404:1.0 463:0.5 472:0.5 662:1.0 718:0.5 727:1.0 730:0.5 1256:1.0 1269:1.0 1861:1.0 2357:1.0 2394:1.0 2986:1.0
8 25:0.2857142857142857 34:0.125 40:0.3333333333333333 43:1.0 49:0.5 76:2.0 88:0.25 105:1.0 171:0.3333333333333333 186:1.0 259:0.5 420:0.5 478:1.0 663:1.0 693:1.0 833:0.5 1186:1.0 1809:1.0 2431:1.0 2516:1.0 2907:0.5 5000:1.0 5581:1.0 5729:1.0
8 23:0.2 25:0.14285714285714285 31:0.16666666666666666 32:0.5 73:1.0 459:0.06666666666666667 460:0.25 685:1.0 715:1.0 1070:1.0 1073:1.0 1525:1.0 1803:1.0 2810:1.0 2911:1.0 3071:1.0 3158:1.0
8 20:0.16666666666666666 24:0.5 25:0.5714285714285714 31:0.16666666666666666 32:0.5 40:0.3333333333333333 59:1.0 73:1.0 76:1.0 88:0.75 90:0.3333333333333333 113:1.0 137:0.5 282:1.0 401:1.0 406:1.0 472:0.5 478:1.0 537:1.0 672:1.0 689:1.0 709:0.1 735:1.0 798:1.0 891:1.0 901:1.0 1080:1.0 1134:1.0 1135:1.0 1186:1.0 1473:1.0 1669:1.0 1828:1.0 3071:1.0 3314:1.0 4315:1.0
8 24:0.5 25:0.14285714285714285 40:0.3333333333333333 44:1.0 45:1.0 47:1.0 49:0.5 59:1.0 68:0.3333333333333333 88:0.25 90:1.0 98:0.3333333333333333 159:0.16666666666666666 203:0.3333333333333333 220:0.6666666666666666 227:1.0 331:1.0 388:0.3333333333333333 459:0.06666666666666667 512:2.0 670:1.0 909:0.5 931:1.0 963:0.5 980:1.0 1083:1.0 2091:1.0 2163:1.0 3173:1.0 3487:1.0
8 7:0.14285714285714285 24:1.0 32:0.5 34:0.125 40:0.6666666666666666 49:0.5 68:0.3333333333333333 88:1.0 103:0.5 139:1.0 171:0.3333333333333333 175:0.5 203:0.3333333333333333 297:1.0 395:1.0 420:0.5 447:0.5 452:0.5 492:0.07692307692307693 618:1.0 674:1.0 837:1.0 901:1.0 914:1.0 931:1.0 1167:1.0 1376:1.0 1570:1.0 1956:1.0 1960:1.0 2668:1.0 2874:1.0 5502:1.0 5564:1.0
8 6:1.0 11:0.16666666666666666 32:0.5 49:0.5 88:0.25 90:0.3333333333333333 106:0.16666666666666666 144:1.0 177:0.5 235:1.0 608:0.08333333333333333 639:1.0 833:0.5 1515:1.0 1898:0.14285714285714285 2868:1.0 2907:0.5 3780:1.0
8 32:0.5 40:0.3333333333333333 98:0.3333333333333333 167:0.1111111111111111 220:0.3333333333333333 234:0.16666666666666666 298:1.0 328:1.0 373:0.25 388:0.3333333333333333 459:0.06666666666666667 492:0.07692307692307693 535:0.5 686:1.0 861:1.0 2449:1.0 2581:1.0 3388:1.0 3771:1.0 4514:1.0
8 7:0.42857142857142855 40:0.3333333333333333 49:0.5 76:1.0 90:0.3333333333333333 103:1.0 123:0.018867924528301886 133:0.14285714285714285 181:0.5 199:1.0 305:1.0 373:0.25 414:0.5 420:0.5 486:0.5 799:1.0 958:1.0 1303:1.0 1982:1.0 2606:1.0 2796:1.0 4586:1.0
8 14:0.3333333333333333 31:0.16666666666666666 32:0.5 34:0.125 51:1.0 90:0.3333333333333333 98:0.3333333333333333 220:0.3333333333333333 239:0.25 241:1.0 322:1.0 388:0.3333333333333333 473:1.0 813:1.0 1172:1.0 1401:1.0 1511:1.0 1623:1.0 1869:1.0 1938:1.0 2352:1.0 2476:1.0 3432:1.0 5054:1.0
8 15:0.3333333333333333 20:0.16666666666666666 25:0.2857142857142857 32:1.0 40:0.3333333333333333 90:0.3333333333333333 282:1.0 300:1.0 337:1.0 425:1.0 486:0.5 492:0.07692307692307693 506:0.5 520:1.0 787:1.0 797:1.0 825:1.0 931:1.0 1186:1.0 1421:1.0 1505:1.0 1681:1.0 1714:1.0 2485:1.0 2499:1.0 2500:1.0 2866:1.0 3968:1.0 5421:1.0
8 20:0.16666666666666666 25:0.14285714285714285 49:0.5 81:1.0 82:1.0 88:0.5 123:0.018867924528301886 127:0.5 176:1.0 218:1.0 220:0.3333333333333333 259:0.5 412:0.5 443:0.2 447:0.25 958:1.0 1498:1.0 1532:0.5 1888:1.0 2328:1.0 4566:1.0
8 7:0.14285714285714285 40:0.6666666666666666 88:0.25 123:0.018867924528301886 171:0.3333333333333333 175:0.5 208:1.0 282:1.0 303:1.0 328:1.0 329:0.5 388:0.3333333333333333 459:0.06666666666666667 492:0.07692307692307693 576:2.0 894:1.0 1336:1.0 1348:1.0 1713:1.0 3209:1.0
8 31:0.16666666666666666 49:0.5 123:0.018867924528301886 220:0.3333333333333333 238:0.16666666666666666 280:1.0 282:1.0 308:0.5 447:0.25 459:0.06666666666666667 473:1.0 492:0.07692307692307693 504:1.0 683:1.0 848:1.0 1013:1.0 1327:1.0 1331:1.0 1615:1.0 1882:1.0 3228:1.0 3432:1.0 3462:1.0
8 10:1.0 20:0.16666666666666666 25:0.14285714285714285 49:0.5 90:0.3333333333333333 92:1.0 167:0.1111111111111111 506:0.5 901:1.0 918:1.0 989:0.3333333333333333 1022:1.0 1553:1.0 2065:1.0 2623:1.0 2714:1.0 2993:1.0 3148:1.0
8 24:0.5 31:0.5 32:0.5 49:0.5 103:0.5 123:0.018867924528301886 187:1.0 190:1.0 259:0.5 329:0.5 486:0.5 492:0.07692307692307693 585:0.5 697:1.0 1406:1.0 1867:1.0 2853:1.0 3071:1.0 3403:1.0 3690:1.0 5580:1.0
8 6:1.0 7:0.14285714285714285 23:0.2 25:0.14285714285714285 43:1.0 44:1.0 49:0.5 88:0.25 90:0.3333333333333333 123:0.018867924528301886 171:0.3333333333333333 176:1.0 181:0.5 259:0.5 303:1.0 388:0.3333333333333333 393:1.0 423:1.0 424:1.0 606:0.3333333333333333 674:1.0 1407:1.0 2270:1.0 2325:1.0 4425:1.0 4564:1.0 5048:1.0
8 25:0.5714285714285714 32:0.5 49:0.5 73:1.0 76:1.0 123:0.018867924528301886 133:0.14285714285714285 186:2.0 229:1.0 259:0.5 304:1.0 398:0.09090909090909091 472:0.5 576:1.0 1025:1.0 1186:1.0 2108:1.0
8 13:0.5 25:0.14285714285714285 32:0.5 34:0.125 40:0.3333333333333333 88:0.25 90:0.6666666666666666 123:0.05660377358490566 124:1.0 195:0.5 281:1.0 303:1.0 308:0.5 372:2.0 396:0.3333333333333333 398:0.09090909090909091 486:0.5 731:1.0 771:1.0 1254:0.5 3278:1.0 4340:1.0 5241:1.0
8 7:0.14285714285714285 14:0.3333333333333333 20:0.16666666666666666 31:0.16666666666666666 32:1.0 49:1.0 123:0.018867924528301886 179:0.3333333333333333 259:0.5 265:1.0 282:1.0 328:1.0 360:1.0 377:1.0 388:0.3333333333333333 398:0.09090909090909091 426:0.5 544:1.0 662:1.0 690:1.0 1134:1.0 1135:1.0 1167:1.0
8 127:0.5 245:0.3333333333333333 329:0.5 1656:1.0
8 7:0.14285714285714285 24:1.0 25:0.14285714285714285 103:0.5 159:0.16666666666666666 167:0.1111111111111111 213:1.0 263:1.0 282:1.0 337:1.0 473:1.0 799:1.0 875:1.0 1249:1.0 2687:1.0 3112:1.0 4474:1.0
8 24:1.0 25:0.42857142857142855 31:0.16666666666666666 32:0.5 73:1.0 90:0.6666666666666666 103:0.5 373:0.25 437:1.0 447:0.25 700:1.0 823:1.0 1406:1.0 2073:1.0 2111:1.0 2241:1.0 2840:1.0 3888:1.0 4146:1.0 4920:1.0
8 25:0.7142857142857143 32:0.5 40:0.3333333333333333 49:1.5 68:0.3333333333333333 80:1.0 107:1.0 135:1.0 163:0.25 235:1.0 293:1.0 328:1.0 388:0.3333333333333333 391:0.3333333333333333 398:0.09090909090909091 473:1.0 639:1.0 662:2.0 731:1.0 980:1.0 1104:1.0 1277:1.0 1903:0.3333333333333333 2062:1.0 3199:1.0 3237:1.0 4001:1.0 5865:1.0
8 32:1.0 40:0.3333333333333333 68:0.3333333333333333 76:1.0 80:1.0 123:0.018867924528301886 167:0.2222222222222222 257:1.0 287:0.5 337:1.0 351:1.0 447:0.25 552:0.3333333333333333 654:1.0 683:1.0 958:1.0 1043:2.0 1167:1.0 1221:1.0 1298:0.5 1401:1.0 1435:1.0 1687:1.0 1863:0.5 3176:1.0 4163:2.0 4698:1.0
8 7:0.14285714285714285 11:0.16666666666666666 20:0.16666666666666666 24:0.5 25:0.14285714285714285 31:0.3333333333333333 32:1.5 34:0.125 47:1.0 49:0.5 88:0.5 171:0.3333333333333333 179:0.3333333333333333 190:1.0 195:0.5 243:0.2 245:0.3333333333333333 254:1.0 325:1.0 363:1.0 388:0.3333333333333333 391:0.3333333333333333 685:1.0 797:1.0 894:1.0 1249:1.0 1406:1.0 1511:1.0 1903:0.3333333333333333 1957:1.0 2347:1.0 2357:1.0 3112:1.0 3339:1.0
8 11:0.16666666666666666 20:0.16666666666666666 25:0.2857142857142857 49:1.0 62:1.0 73:1.0 90:0.3333333333333333 106:0.16666666666666666 117:1.0 133:0.2857142857142857 190:1.0 235:1.0 324:0.5 388:0.6666666666666666 434:0.5 512:1.0 611:0.3333333333333333 619:0.5 715:1.0 909:0.5 1298:0.5 1303:1.0 1348:1.0 1666:1.0 1957:1.0 2189:1.0 2806:1.0 3180:1.0 3181:1.0 3410:1.0 3791:1.0
8 7:0.2857142857142857 9:1.0 23:0.4 25:0.5714285714285714 40:0.3333333333333333 179:0.3333333333333333 220:0.3333333333333333 264:0.5 282:1.0 297:1.0 388:0.3333333333333333 662:1.0 794:0.2 1821:1.0 2903:1.0 3267:1.0 3295:1.0 3599:1.0
|
c1978a916ef5717b503ae2b18b14359030352f95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH19/EX19.6/Ex19_6.sce | 2f1d174f066f84b8ef68a33d454e67dd0ff10c0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | Ex19_6.sce | clc
clear
//Initalization of variables
pr1=1.0590
pr2=4.396
p1=14 //psia
//calculations
prr=pr2/pr1
p2=p1*prr
//results
printf("Final pressure = %.1f psia",p2)
|
c5b32391bafdb25428c70f941d8b706fe375ba34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.32/EX5_32.sce | 50c5d064f9cb1022a821057a3174fbe8f9d0278c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 887 | sce | EX5_32.sce | // Exa 5.32
format('v',6)
clc;
clear;
close;
// Given data
I_DSS = 12;// in mA
I_DSS= I_DSS*10^-3;// in A
V_P = -3;// in V
r_d = 45;// in k ohm
r_d= r_d*10^3;// in ohm
g_m = I_DSS/abs(V_P);// in S
// Part (i)
R1 = 91;// in M ohm
R1=R1*10^6;//in ohm
R2 = 10;// in M ohm
R2= R2*10^6;// in ohm
// Calculation to find the value of Ri
Ri= R1*R2/(R1+R2);// in ohm
Ri=Ri*10^-6;// in M ohm
disp(Ri,"The value of Ri in Mohm is : ")
// Part (ii)
R_S = 1.1;// in k ohm
R_S = R_S * 10^3;// in ohm
// The value of R_o,
R_o= (R_S*1/g_m)/(R_S+1/g_m);// in ohm
disp(R_o,"The value of R_C in ohm is : ")
// Part (iii)
// The value of R_desh_o
R_desh_o= R_o*r_d/(R_o+r_d);// in ohm
disp(R_desh_o,"The value of R''o in ohm is : ");
// Part (iv)
// The voltage gain can be find as,
Av= g_m*(R_S*r_d/(R_S+r_d))/(1+g_m*(R_S*r_d/(R_S+r_d)));
disp(Av,"The value of Av is : ")
|
b3c0be1fb67dae97f3eed9f0a591a558ae0f2b9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH12/EX4.5/Ex12_5.sce | a3f7718b06c6b8d2d788464c8d2b49c72516f21d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex12_5.sce | //Part B Chapter 4 Example 5
clc;
clear;
close;
D=25;//mm
L=250;//mm
d=0.120;//mm(stretch)
F=60;//kN
theta=0.030;//radian
T=0.5;//kNm
epsilon=d/L;
sigma=F*1000*4/(%pi*(D/1000)^2);//GN/m^2
E=sigma/epsilon/10^9;//GN/m^2
disp("Value of E is "+string(E)+" GN/m^2");
G=T*1000*32*L/1000/(theta*%pi*(D/1000)^4)/10^9;//GN/m^2
disp("Value of G is "+string(G)+" GN/m^2");
m=2*G/E/(1-2*G/E);
disp("Poisson ratio is "+string(1/m));
K=m*E/3/(m-1);//GN/m^2
disp("Bulk Modulus, K is "+string(K)+" GN/m^2");
|
978351d1874144b5af0e2c8a19a6ca8e93d4f8d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.26/10Ex26.sce | 46ddb1be0a304ff1d9a93da3fdba4fbda5cb9596 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 10Ex26.sce | //chapter 10 Ex 26
clc;
clear;
close;
decRate=10/100;
presentValue=162000; years=2;
valueAfter=presentValue*(1-decRate)^years;
valueBefore=presentValue/(1-decRate)^years;
mprintf("The value after 2 years will be Rs.%d \n and before 2 years was Rs.%d",valueAfter,valueBefore);
|
8818e09d49b7e8657b32102da93b7d904e8b842f | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH9/EX9.1/Ex9_1.sce | 594d0f3e0af2775beeb6e1f49a4233faa2cd8a62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sce | Ex9_1.sce | //Ex:9.1
clc;
clear;
close;
C=10*10^-9;
R=10000;
f=(1/(2*%pi*sqrt (6)*C*R));
printf("The freq of oscillation = %f Hz",f);
|
0eebd91c46abd1634b4743df64f9eb66c3554981 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH6/EX6.21/Ex6_21.sce | 7e49c4d8ab4a0c747313c387a0f02fb8d806ca0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Ex6_21.sce |
clc; funcprot(0);
// Initialization of Variable
f=152.4;//focal length in mm
L=120;//length in m
x1=40.0;//distance in mm
x2=-90.0;//distance in mm
//calculation
X=f*L/(x1-x2);
disp(X,"the coordinates of D in m is X=")
Y=L*x1/(x1-x2);
disp(Y,"the coordinates of D in m is Y=")
h=X*(30-20)/f;
disp(h,"elevation of D in m")
clear()
|
416a4e9afd7f82143e4c3796ba00adcd4a97a545 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.8/Ch02Ex8.sce | e9197dc4de36cbe7dd22a6802b33ccd0b1e18efe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | Ch02Ex8.sce | // Scilab Code Ex2.8:: Page-2.11 (2009)
clc; clear;
mu = 1.5; // Refractive index of biprism
lambda = 5500e-008; // Wavelength of light used, cm
y1 = 5; // Distance of biprism from the source, cm
y2 = 95; // Distance of biprism from the screen, cm
D = y1 + y2; // Distance between slits and the screen, cm
b = 0.025; // Fringe width of the interfernce pattern due to biprism, cm
// As d = 2*(mu-1)*alpha*y1, solving for alpha
alpha = lambda*D/(b*2*(mu-1)*y1) // Angle of vertex of the biprism, radian
printf("\nThe angle of vertex of the biprism = %3.1e rad", alpha);
// Result
// The angle of vertex of the biprism = 4.4e-02 rad
|
bc78c288716071addc5831a548bd40ba8edff3a6 | b4be5ed282b4c531c0d140038804106b52e5e9be | /oeTestCase.sce | 0e2cb0390a86ec0357fde13075b3559c2d56afdc | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 40,326 | sce | oeTestCase.sce | y = [
0.3684
-0.0239
-1.5199
-3.0373
-3.0890
0.4346
4.3674
7.7271
8.3278
7.0777
4.1804
1.9761
1.6629
2.0375
3.5250
4.6135
5.1026
4.4021
3.2321
1.6182
-1.8271
-5.2375
-6.9271
-6.0663
-4.2044
-2.0403
-0.7898
-0.6548
-1.5576
-3.2465
-3.9501
-3.7040
-2.9932
-3.0449
-2.5606
-2.4982
-2.6241
-3.2131
-3.5739
-3.1997
-2.8466
-2.5444
-2.6262
-2.5391
-2.5346
-2.8608
-1.9861
1.0304
4.7111
5.8391
5.5312
4.4401
2.6901
1.2327
1.1073
1.5282
2.3791
3.4464
4.2586
4.1603
3.3108
2.9699
2.5945
2.4719
2.7043
2.9076
3.0733
3.2440
2.7125
2.6082
2.8286
2.8584
3.1793
3.2910
4.0221
4.2877
3.5956
3.4902
1.6795
-0.9899
-4.0493
-5.6798
-5.3166
-3.2373
-1.4634
-0.2634
0.0482
-0.5052
-2.1117
-2.1063
0.5828
3.3241
6.2488
5.3051
1.4001
-4.1667
-7.5528
-7.8275
-5.7827
-2.4509
-0.0559
0.8156
-0.5566
-2.6533
-3.8425
-4.7406
-3.1411
0.3652
4.4996
6.6892
6.4617
4.6891
2.3998
1.0239
0.8293
2.0393
3.2466
4.2975
5.0320
3.6460
-0.1527
-4.5898
-6.6929
-6.3171
-3.2692
2.2507
7.8283
9.6161
7.9114
3.9961
0.7094
-1.0785
-1.0938
1.2783
3.5311
4.9478
5.1298
3.3416
2.7463
1.9177
1.4553
1.2511
2.0321
3.3171
3.6440
3.7289
3.2592
3.2041
2.5211
2.8968
3.2707
3.4253
3.6032
4.0733
3.9136
4.0000
3.4298
3.7581
4.3394
4.1574
2.6990
-0.6062
-3.6342
-5.8252
-5.8513
-4.7840
-2.4776
-1.3620
-0.8455
-1.3797
-2.6339
-3.4922
-2.7750
0.4145
4.6448
7.1059
6.9258
5.7315
3.0211
1.4104
0.7049
1.4138
2.9238
4.4128
4.7106
3.3134
-0.5450
-4.5060
-7.1263
-6.9730
-4.5074
-2.3553
-1.1545
-0.4406
-1.0922
-2.3413
-3.9640
-3.7902
-3.5429
-3.0935
-2.5743
-2.1557
-2.1448
-2.5757
-3.1537
-2.8342
-3.0182
-1.6043
1.4178
4.9151
6.1495
6.1663
4.0907
1.9961
0.3270
-0.1553
0.2012
1.2523
2.3751
2.8734
3.0224
2.5341
1.2563
0.7613
0.9845
0.6948
1.1348
0.1393
-2.6573
-5.7911
-7.5294
-7.6015
-6.0508
-3.4360
-1.3177
-1.1181
-1.8164
-3.3476
-3.1838
-0.2931
3.0571
5.6922
6.3117
4.8854
2.6592
1.5539
0.6056
1.0048
0.6106
-1.2125
-3.6951
-5.8739
-6.3127
-5.6732
-3.6775
-2.3051
-1.4779
-1.1197
-1.8936
-2.3905
-2.8304
-2.8998
-1.6323
1.7330
5.6049
7.7053
6.9984
5.0192
2.3803
1.0876
1.3016
2.0143
2.4533
3.6877
4.9477
4.6059
3.8661
3.2529
3.2718
4.0748
4.9102
4.0158
1.1361
-2.1582
-4.6482
-4.5660
-3.2222
-0.8578
0.4320
1.2182
-0.1820
-0.8536
-1.3011
0.8822
4.3159
6.3249
7.0178
5.9251
4.2521
2.3598
1.8317
2.3932
3.7366
4.9793
5.1121
5.4288
4.5698
3.5070
2.7402
3.1181
3.3700
4.6176
4.7551
4.6673
4.5455
3.8337
3.4945
2.8956
3.3011
3.5207
3.2335
3.3019
3.1338
3.4856
3.8041
3.9169
4.0217
3.1193
-0.1207
-3.2237
-5.2733
-5.0060
-3.6120
-1.1415
0.1555
0.6887
-0.1867
-0.7803
1.3335
4.1163
5.8292
6.4760
5.5852
3.7331
2.6690
1.7807
1.8435
2.7974
3.8626
4.1639
3.9517
1.9385
-0.9786
-3.9401
-6.3436
-5.4058
-3.8359
-1.7563
-0.2278
-0.3034
-0.9075
-1.9239
-3.4772
-4.0666
-3.8374
-2.9072
-2.3957
-1.9423
-2.0991
-2.8984
-3.2819
-3.7184
-3.8263
-1.9668
0.7567
3.4960
5.5669
4.9203
3.2382
1.3219
-0.0454
-0.2932
0.6024
2.3091
3.0917
3.5806
3.0041
2.5001
1.6797
1.8636
2.1229
3.0647
3.5597
4.0159
4.3329
4.1819
3.7416
3.5031
3.1553
2.6030
2.8240
3.1167
3.2169
3.0549
2.8313
3.1265
3.2151
3.7321
4.0000
4.4534
3.9534
2.6695
-0.0664
-2.7726
-5.2878
-4.1061
0.9970
6.1314
9.0589
8.6731
6.2818
3.2241
0.9933
0.4145
1.5313
3.5655
5.3445
5.3265
3.8687
-0.4081
-4.4457
-6.9950
-6.3714
-3.9510
-1.6677
-0.1982
0.4862
-0.3674
-1.4777
0.4519
3.4270
5.4854
5.9113
5.2643
3.2284
1.9012
1.1539
0.8790
2.0931
2.8127
3.2518
3.8573
3.2911
2.6366
2.5512
2.8993
1.8141
-1.0307
-4.2181
-5.8220
-5.9403
-4.4829
-2.3278
-0.7451
-0.8053
-1.7729
-2.6107
-3.3325
-2.2551
1.0751
4.3292
6.4496
6.4459
4.7018
2.4520
0.7635
0.1845
1.0900
2.5094
3.5969
3.9155
2.0252
-1.3325
-4.8352
-6.8955
-7.0165
-4.8826
-2.8490
-1.1326
-0.7858
-1.4525
-2.5409
-3.4381
-4.1590
-3.3855
-2.8899
-1.3609
2.8263
5.6874
6.8667
6.4207
4.3608
2.6247
1.4819
1.5031
2.2497
3.4481
3.8630
4.2685
3.5895
2.7267
1.8928
1.6417
2.4310
3.0189
2.7009
2.6087
2.4272
1.9197
1.6482
1.3917
1.8160
1.8211
1.6278
1.8903
1.5386
0.4589
-2.0761
-4.0892
-2.6854
0.7075
4.0638
6.4133
5.6700
4.8745
2.7708
1.5551
0.0996
-2.3541
-4.8434
-5.2478
-5.3807
-3.3475
0.8105
4.3799
6.3197
5.7229
3.2680
1.0268
-0.6603
-0.7077
0.8521
2.4692
3.6628
4.2449
3.7821
2.8395
2.2434
1.1153
-2.1394
-4.8393
-6.6020
-6.1146
-4.3578
-2.3304
-1.5890
-1.6900
-2.0403
-2.9887
-2.7037
0.0534
3.6651
6.3759
6.6362
4.9991
2.9128
1.2997
0.7588
1.6053
3.6359
5.0601
5.0531
4.6329
3.3204
2.3280
2.3366
2.9013
3.9753
4.0830
4.5769
4.3452
4.5270
4.5446
4.1337
3.2535
3.2905
3.0342
2.8208
2.7474
2.2500
2.7370
2.5873
2.3124
2.3376
1.9183
2.4050
2.2651
2.4327
2.3836
1.8830
1.6231
1.7419
0.9746
-1.8169
-4.7113
-6.8339
-6.2583
-4.0332
-1.7594
-0.9319
-0.6088
-1.2944
-2.6555
-3.6169
-4.1213
-2.5640
1.1133
5.1298
7.2540
7.0193
5.1499
2.6395
0.5095
0.5290
1.4140
2.8905
3.0901
0.1986
-3.8332
-7.1561
-8.0412
-6.3270
-4.1038
-2.0331
-0.8312
-1.5446
-1.4121
0.9281
3.1195
4.8051
5.3368
4.6106
2.7922
1.2272
-0.0479
-1.3214
-3.2903
-4.9813
-6.5240
-5.8149
-4.8134
-3.6830
-2.3779
-2.5601
-2.3570
-2.2962
-0.0482
2.9472
4.6252
5.3455
4.1940
3.1544
1.3570
0.8968
1.0474
1.8678
2.7914
3.1773
2.7386
2.3635
2.6711
2.2213
2.2500
2.0205
2.8384
2.9111
2.6325
2.0771
2.1882
2.1468
1.4896
2.1714
2.1593
2.0724
1.9887
2.1477
1.8820
0.8626
-1.8245
-4.8200
-6.4217
-6.1415
-4.3673
-2.9781
-1.7496
-1.6130
-0.8200
0.4604
2.7654
4.2579
4.6885
4.0694
2.9922
1.6813
1.1288
1.2331
2.3920
3.1146
3.1964
3.7058
3.2224
2.7701
2.3063
1.0484
-1.4404
-4.7417
-5.9786
-5.7202
-4.5289
-2.7690
-1.7946
-1.2688
-1.7833
-3.0739
-3.9553
-3.8428
-3.6467
-3.0977
-2.6300
-2.7983
-3.0109
-1.6468
0.4671
3.8234
6.1123
5.7277
4.6862
2.6159
1.5632
1.0479
1.9186
3.1852
4.2619
4.1118
3.4615
3.2962
2.6729
1.6469
1.5403
1.9193
1.9754
2.7234
2.8303
2.6326
2.4024
1.8227
2.0100
1.9630
2.2509
2.7237
2.3646
2.5079
2.3363
2.1102
2.5111
2.8694
2.9154
2.7014
2.3707
2.1639
1.0946
-1.4706
-4.3249
-6.7437
-6.8038
-5.2803
-2.8542
-1.9289
-1.5746
-1.9153
-3.4750
-4.1790
-4.2469
-3.9709
-3.5696
-3.0184
-1.0338
1.7974
4.6964
6.3332
5.5701
4.1549
2.9696
1.2874
1.7521
1.7603
2.5658
2.0090
-0.4809
-4.4409
-6.5057
-7.4691
-6.2350
-3.3485
-1.8952
-0.6975
-0.9169
0.5454
2.7064
4.5620
5.6844
5.3852
4.1060
2.6545
1.9262
1.9592
2.8443
3.4630
3.3067
3.1925
2.1596
1.9910
2.1966
2.6651
2.9869
2.9487
3.5174
3.3934
3.2913
2.5696
2.0637
2.3394
2.7821
2.7119
2.5129
2.6733
2.8666
2.2795
2.6670
2.8426
2.8891
2.7983
2.3187
2.0305
1.7395
1.5237
1.8041
2.1594
2.7019
2.4879
2.0008
2.0609
2.2588
2.5530
2.2652
1.8138
2.0762
2.1941
1.9003
2.2792
2.1896
2.0771
2.2070
2.1229
1.8510
1.1591
-1.8867
-5.1039
-7.1785
-6.8551
-5.0258
-2.8673
-2.0650
-1.9050
-2.7486
-3.1532
-0.9610
2.0364
4.4447
5.5748
4.3801
2.3175
0.8118
0.0492
0.5967
1.9371
3.3534
3.5570
3.8337
2.8456
-0.7593
-4.7580
-7.1243
-6.7724
-4.6523
-2.7216
-1.2984
-0.7081
-2.1961
-3.6029
-4.3428
-4.9318
-4.5908
-2.8270
0.9400
4.4515
6.6601
6.0627
3.8723
1.5522
0.9132
1.6195
2.5560
3.7637
4.6322
4.4782
3.6173
2.5329
0.5291
-2.8430
-6.2681
-7.4696
-7.1291
-5.6524
-2.9075
-1.9920
-1.7516
-1.4220
-0.0324
2.5460
4.8490
5.5672
3.5841
-0.1943
-4.8160
-7.2104
-6.2695
-3.4646
-1.0565
0.2937
0.6836
-0.7664
-2.5825
-3.7984
-4.4043
-4.1313
-2.7921
-2.3630
-2.2257
-2.3734
-3.0111
-3.6703
-3.6590
-4.2768
-4.2550
-3.8281
-3.3478
-3.6273
-3.4631
-3.8345
-3.6610
-4.2684
-4.3645
-3.7772
-3.4526
-3.1857
-0.5151
2.2176
3.6891
3.7807
2.7383
0.4936
-0.0201
0.3430
1.1474
2.5779
3.2649
3.3575
3.0896
2.4126
1.5021
1.7528
1.7315
2.7746
2.1581
-0.6363
-3.9635
-6.4211
-6.1988
-5.2011
-3.2821
-2.4430
-2.3538
-2.7761
-3.7923
-4.9078
-5.2014
-4.8515
-4.1169
-3.7564
-3.4594
-3.3152
-2.9993
-3.3490
-2.4533
-2.8173
-2.2985
-1.8668
-1.6722
0.1336
2.5585
5.9244
7.6814
7.9532
6.1207
4.1202
2.6222
2.2875
3.0057
4.0608
4.9796
5.5950
4.9250
3.1940
-0.3721
-3.4810
-5.7315
-5.8925
-4.3866
-2.0784
-0.9990
-1.2651
-2.9457
-4.4483
-4.4455
-1.8953
2.2069
5.1537
5.3007
3.9772
1.7806
0.0025
-1.1012
-3.4777
-6.0766
-6.9019
-5.9812
-4.3342
-2.8692
-2.1143
-3.0199
-3.7708
-4.7918
-5.0623
-4.6870
-3.3967
-0.1049
3.5988
5.7679
5.5733
3.7910
1.5932
0.2572
-0.1053
1.6249
2.8231
4.2943
4.7019
4.0769
3.2657
2.7097
2.3611
2.8526
3.6864
3.6498
3.7110
3.9718
3.2483
1.3375
-1.9323
-5.3237
-6.8853
-6.4865
-5.1540
-3.6036
-2.2682
-2.0993
-2.9125
-4.3734
-4.8707
-5.1591
-3.8004
-0.3730
3.5778
5.8839
5.6289
4.4270
1.5602
-0.0626
0.1891
0.9595
2.5484
3.3437
3.9545
3.3558
1.2322
-2.6784
-6.1044
-7.0745
-6.8752
-4.5582
-2.8491
-1.7221
-2.0266
-2.8360
-4.4671
-5.5446
-5.4806
-4.2534
-3.9549
-3.8045
-3.5893
-2.4274
0.3998
3.3893
4.9992
5.4228
4.3154
2.6028
1.3886
1.2306
2.0098
3.4907
4.0890
4.2172
3.8163
2.9994
2.2541
1.9142
2.5508
3.3836
3.3721
3.5833
2.7734
3.0856
2.8704
2.5992
2.7842
2.7802
3.5509
3.3114
3.0712
3.4154
3.3180
3.7210
2.4766
-0.3712
-3.7138
-5.0916
-5.8815
-4.6575
-2.6257
-1.0675
-0.9654
-1.5981
-2.9479
-3.7453
-4.2231
-3.1913
-2.5570
-1.9400
-1.6733
-1.2824
-1.7773
-2.1423
-2.9877
-3.5767
-2.3128
1.6009
4.7265
6.7523
6.6397
4.8163
2.9237
1.0290
1.2821
2.1585
3.4615
3.7905
4.4155
3.8471
3.2265
0.9748
-2.2628
-5.3246
-6.7933
-7.1122
-5.5290
-3.3749
-2.3399
-2.4260
-3.8461
-4.6069
-4.3238
-1.5593
2.1148
5.0715
5.8246
4.5838
2.2359
0.0616
-1.4081
-3.9634
-6.2240
-6.8467
-6.7775
-4.9247
-3.4842
-2.8393
-2.9303
-2.0628
0.4216
3.2574
5.0758
5.4122
4.4539
2.7519
1.9402
1.5251
1.7805
3.2738
4.1677
4.3893
2.8178
-0.8007
-4.9531
-7.2263
-7.5020
-5.6681
-2.9352
-1.6485
-1.7662
-2.5216
-3.1191
-4.7288
-5.0388
-4.7306
-2.4694
1.2705
4.1148
6.2351
5.9191
4.3164
2.5379
0.7550
0.7969
1.6772
1.8988
-0.2605
-3.2207
-5.0506
-5.7039
-4.4870
-2.8690
-1.2027
-0.3727
-0.1219
-0.9225
-1.6814
-1.6975
1.8338
5.3372
7.4187
8.2614
6.5779
4.1893
2.0548
0.9253
1.5996
1.6306
-0.8660
-3.4300
-5.8687
-6.6022
-6.0405
-5.1015
-3.5654
-3.0403
-3.4532
-3.0479
-1.3093
1.3226
3.4659
4.0678
2.8494
1.1358
0.1192
-0.0886
0.7414
2.1348
2.8061
2.4011
2.1943
0.6063
-2.7328
-5.9904
-7.6178
-7.1651
-5.4836
-3.3832
-1.9369
-1.7417
-1.4182
0.3654
2.8278
4.6234
5.1170
4.3070
2.5737
1.9121
1.8526
2.4436
3.1750
4.1094
4.8220
4.7964
3.9662
3.7289
3.1009
2.8521
3.0222
3.1503
3.4265
3.2283
3.3668
3.4416
3.0605
3.1280
3.4537
2.7138
0.5081
-2.5025
-3.5887
-3.6532
-2.1526
-1.0970
0.8133
0.8744
0.0488
-1.1516
-1.9720
-2.0427
1.5080
5.1253
7.6626
7.6358
5.5503
2.7484
0.6508
-1.2484
-3.9793
-6.1392
-6.3904
-5.8477
-4.8153
-3.8764
-2.0451
0.6164
3.4017
5.1958
4.7208
3.1130
1.6626
0.9828
0.8473
1.8768
2.8633
3.7813
3.4910
3.6497
3.1429
3.2267
3.0640
2.9372
3.3709
3.5055
3.1323
2.9493
2.6238
1.5151
-1.6876
-5.1077
-6.6274
-6.5100
-4.6444
-2.5199
-1.2303
-1.2379
-1.7460
-3.1204
-3.9018
-4.2231
-3.5528
-2.8845
-2.7194
-2.3411
-2.2230
-3.4515
-3.7094
-3.4428
-3.4225
-3.0555
-3.0625
-1.7298
1.4083
4.5603
6.1502
6.1919
5.0146
3.1525
1.8712
1.4700
2.4890
3.3513
4.4374
5.3562
4.5506
3.3156
2.3656
1.7992
2.3943
2.9259
3.5855
3.8185
3.6535
3.3263
3.0709
3.2043
3.0634
3.3301
1.9301
-0.7580
-3.9284
-6.0282
-6.0363
-4.7535
-3.3962
-1.4574
-1.0553
-1.3195
-2.4817
-2.8445
-1.7822
1.3494
5.2702
7.1713
7.5229
5.5802
2.8451
1.3556
0.8650
2.2225
3.2997
4.3309
4.9286
4.2118
0.6575
-3.6383
-5.5930
-5.1633
-3.0184
-0.3821
0.7090
0.3611
-0.7656
-1.4694
0.2409
3.2271
5.9029
6.4702
5.1100
4.1245
2.4756
2.1230
2.1635
3.4726
4.2851
3.3049
0.4269
-3.6166
-6.0189
-6.6436
-5.3552
-2.9723
-0.6801
0.2727
-0.2857
-1.7475
-2.9956
-3.5359
-3.3394
-2.9640
-2.0902
-1.5663
-1.6473
-1.9131
-2.1391
-1.7188
-1.6718
-1.2608
-1.1233
-1.3331
-1.7492
-2.1200
-2.7574
-3.4723
-4.1746
-4.3348
-4.1969
-4.5191
-4.5233
-4.0533
-3.7005
-3.2338
-3.5555
-2.3244
0.1818
3.6345
5.2610
5.4081
3.8786
2.4348
1.3104
0.7438
1.3793
2.1657
2.9220
3.4421
3.2708
3.1383
2.2989
2.2151
2.8175
3.2375
3.8044
4.4682
4.3625
3.3585
2.6132
2.3584
2.9307
3.4173
3.4336
3.4254
1.7671
-0.7370
-3.5627
-5.3696
-5.6203
-4.3505
-2.0338
-0.7287
-0.9108
-1.7950
-3.3545
-4.2863
-4.5201
-4.3437
-2.6394
0.7999
4.4332
5.9875
6.0152
4.2925
1.7327
0.2741
0.0053
0.6333
1.5019
2.2552
2.5357
1.9179
1.9224
1.4792
1.6113
1.9839
2.2795
2.9035
3.6917
3.5279
2.9135
3.0390
3.0213
3.2056
3.5904
4.3654
4.2854
4.2158
4.2998
4.5919
4.2273
3.5715
3.5941
3.4243
3.8014
3.4256
2.9973
3.0894
2.6506
2.7294
2.8208
4.0104
4.3873
4.6053
4.1852
3.4675
3.7194
4.5230
3.9095
3.7906
3.6047
3.8504
4.1484
4.2990
4.3690
4.1868
4.2935
4.0508
4.1518
3.6700
3.5673
3.5291
3.5282
3.6129
3.6461
3.5380
3.8839
2.5595
-0.3604
-4.2659
-5.5345
-5.4373
-3.7995
-1.5778
-0.3604
-0.3362
-0.9526
-1.9992
-1.7038
0.9100
4.1281
6.7857
6.9537
5.6839
3.4163
1.4705
0.9145
1.3282
2.2248
3.6221
3.8009
3.6087
2.4427
1.5138
-0.1642
-3.0416
-5.5892
-7.2049
-6.3288
-4.6148
-2.8817
-1.8982
-1.3045
-2.4050
-2.9733
-3.4909
-3.6809
-3.2165
-3.1439
-2.8381
-1.6574
1.5239
4.7680
6.4785
5.9462
4.0722
2.3318
1.1237
1.3387
2.2522
3.2693
3.1192
0.1681
-3.9980
-6.3295
-6.3812
-4.4601
-2.4052
0.4566
0.2634
-0.4914
-2.0106
-3.0568
-3.9307
-3.6157
-3.1665
-2.7044
-2.4533
-2.4575
-2.9429
-3.6035
-3.7569
-3.9714
-4.3453
-3.7310
-3.9831
-3.9798
-3.9062
-3.7874
-4.5571
-3.5471
-0.7726
3.1635
5.1475
5.5262
2.7254
-2.3514
-6.7880
-8.5276
-7.6407
-4.7279
-1.4668
0.1307
-0.4700
-1.8960
-4.1409
-4.0306
-0.7900
3.3090
6.3240
7.4842
5.9139
3.7663
1.4670
-0.4511
-3.0192
-5.2534
-6.2096
-5.1713
-3.5457
-2.7550
-2.1530
-2.5246
-2.9440
-3.8731
-4.4232
-3.0804
0.2925
3.9275
5.7575
5.2344
3.9218
1.5868
-0.4610
-0.5366
1.1051
2.5672
3.8882
4.2945
4.0209
3.3424
2.6292
1.9778
2.4957
2.6677
3.4198
3.8924
3.7582
3.8505
3.6878
3.6166
3.2204
3.3466
3.1845
2.4727
-0.7454
-3.9143
-5.8443
-5.7684
-4.4563
-2.0785
-0.8814
-0.6826
0.1403
1.4132
3.2091
4.9178
5.6784
4.4089
3.0881
2.1498
1.7178
1.4883
2.3520
2.7063
3.2104
3.5643
2.8365
2.7329
2.1805
1.5280
2.0146
1.8839
2.9593
3.0637
2.7124
2.4286
1.7299
1.8444
1.8650
1.6801
0.3579
-2.2631
-5.1466
-7.4494
-7.0943
-5.5996
-3.4133
-1.7181
-1.4819
-2.1166
-3.3038
-4.1847
-4.2327
-4.3532
-4.1043
-3.8209
-3.4157
-3.4101
-2.3695
0.0505
3.1442
5.2162
5.5828
4.7681
2.9737
1.4781
1.1499
2.1143
3.7444
4.5929
4.8496
4.6777
4.0809
3.4896
3.7784
3.8652
4.0716
4.2495
3.9719
3.7128
3.1568
2.9110
2.7349
2.8818
3.8233
3.9200
2.5952
-0.6224
-4.0423
-5.5777
-5.6443
-2.8504
2.1053
7.1739
9.0058
7.5596
5.1484
2.6900
1.6888
1.7416
3.3327
4.9871
6.1430
6.5484
5.5700
4.7752
4.3858
3.0684
0.7952
-2.3394
-3.9012
-3.6652
-2.5688
-0.7131
0.3299
0.4513
-0.6693
-1.8028
-2.3960
-2.6813
-2.5103
-2.4064
-0.7180
2.7062
5.5937
7.2094
5.6720
0.9154
-3.9503
-6.7977
-6.7694
-4.6306
-1.7431
0.3129
0.8036
0.2505
-1.6791
-3.6708
-4.2361
-4.1946
-3.4710
-0.8975
2.0698
4.9708
6.9727
6.1362
4.1973
2.2882
1.9061
2.3291
3.4617
4.7870
5.3587
5.1074
4.5116
3.6599
3.0611
3.0275
2.6421
3.1578
3.7429
3.6181
3.7015
3.9435
2.9735
2.8228
3.3347
3.3441
3.0096
3.2252
3.3492
3.4847
3.5835
3.5030
3.3299
3.1122
2.9326
2.6538
2.9746
3.1988
2.9792
2.9016
2.2689
2.0288
1.7029
1.0005
0.6927
0.8280
1.1953
0.7229
0.5729
0.6340
0.9347
0.0730
-2.8641
-6.3456
-7.6431
-7.3933
-5.3644
-3.4382
-2.2946
-2.0926
-2.6269
-2.5941
-0.8878
2.1846
4.1867
4.7604
3.7945
]
u = [
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
]
A = [1]
B = [0 0 0 2.9300 -1.7335]
C = [1]
D = [1]
F = [1 -1.1388 0.6258]
Ts = 1
oeModel = idpoly(A,B,C,D,F,'Ts',Ts)
zd = [y u];
compareOE(oeModel,zd)
A = 1;
B = [0 0.5069 0.8619];
C = [1 0.3730 0.0208];
D = [1 -0.5478 -0.3368];
F = [1 -1.3086 0.7816];
bjModel = idpoly(A,B,C,D,F,'Ts',Ts)
|
b5dd6ebe4911f932b8eea6d7380e1c77d3591bf9 | 6878ed5a682e8bf7c53e8b1c1b486c0fc47207d6 | /sql/method_sources.tst | 5ea6182ef84d02b82e1d6e3da5649d63a7eb332d | [] | no_license | brizjin/cft_sl2 | 12a618bd3ea2d7750a50cb7995a72ca379cd97f6 | c665ed9d8abffc086d88aa9f264630f52800d358 | refs/heads/master | 2020-05-27T08:18:43.559215 | 2014-04-15T13:39:52 | 2014-04-15T13:39:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,022 | tst | method_sources.tst | PL/SQL Developer Test script 3.0
54
declare
c clob;
class_name varchar2(200);
method_name varchar2(200);
function get_part(class_name varchar2,method_name varchar2,oper_type varchar2)return clob
is
out_clob clob;
begin
for r in (select text
from sources
where name = (select m.id from METHODS m where m.class_id = class_name and m.short_name = method_name)
and type = oper_type order by line)
loop
out_clob := out_clob || r.text || chr(10);
end loop;
return ltrim(out_clob,chr(10));
end;
/*function cpad(text varchar2,n integer,c char)return varchar2
is
begin
return LPAD(RPAD(text,LENGTH(text) + (n - LENGTH(text)) / 2,c),n,c);
end;*/
/*function get_with_header(class_name varchar2,method_name varchar2,oper_type varchar2)return clob
is
--out_clob clob;
d varchar2(2000);
begin
d := '';
--d := d || chr(10) || cpad('-',50,'-');
--d := d || chr(10) || '--' || cpad(oper_type,46,' ') || '--';
--d := d || chr(10) || cpad('-',50,'-') || chr(10);
d := d || chr(10) || '';
d := d || chr(10) || '' || cpad(oper_type,48,' ') || '';
d := d || chr(10) || '';
d := d || chr(10) || rtrim(get_part(class_name,method_name,oper_type),chr(10));
d := d || chr(10) || '';
return d;
--return rtrim(d || get_part(class_name,method_name,oper_type),chr(10));
end;*/
begin
class_name := :class_name;
method_name := :method_name;
:e := get_part(class_name,method_name,'EXECUTE');
:v := get_part(class_name,method_name,'VALIDATE');
:g := get_part(class_name,method_name,'PUBLIC');
:l := get_part(class_name,method_name,'PRIVATE');
:s := get_part(class_name,method_name,'VBSCRIPT');
end;
9
class_name
1
EXT_DOCS_SVOD
5
method_name
1
NEW_AUTO
5
oper_type
1
EXECUTE
-5
out
1
<CLOB>
-112
e
1
<CLOB>
112
v
1
<CLOB>
112
g
1
<CLOB>
112
l
1
<CLOB>
112
s
1
<CLOB>
112
0
|
840a5fa08cc7cb3cca92c2ba5ee1babad4d40c41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH9/EX9.2/ex_9_2.sce | 6c3d940baeb7490187626abea4e0e765af49bdfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | ex_9_2.sce | clc;
clear;
white_ball=3;
red_ball=2;
total=white_ball+red_ball;
P_W=white_ball/total;
P_SRFW=1/2; //Prob. of second red given first white
P_FWSR=P_W *P_SRFW// prob. of first white and second red
disp(P_FWSR," P(First Ball is White and second is red)=");
|
82e33f4c1d77f40b29b444bc2ffb672010151363 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/m2sci_syntax.sci | e0ae32ac3d6abe8b32202e9dfb52159eef9651be | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,182 | sci | m2sci_syntax.sci | function [helppart,txt]=m2sci_syntax(txt)
// Make minor changes on syntax to have it readable by scilab
// if m-file contains only returned txt is []
// batch boolean variable indicates if it is a batch file
quote=''''
dquote=""""
ctm='.'+'.'+'.'
//
k=0
first_ncl=1
n=size(txt,'r')
while k<size(txt,'r')
k=k+1
kc=strindex(txt(k),ctm)
isacontline=%f
for kck=kc,isacontline=isacontline|~isinstring(txt(k),kck),end
if isacontline then
kc1=isacomment(txt(k))
if kc1<>0 then // line has a comment
if kc1<kc(1) then // ... in a comment
else // comment follow continuation mark
com=part(txt(k),kc1(1):length(txt(k)))
txt(k)=part(txt(k),1:kc(1)-1)+txt(k+1)+com
txt(k+1)=[]
k=k-1
end
else
txt(k)=part(txt(k),1:kc(1)-1)+txt(k+1)
txt(k+1)=[]
k=k-1
end
end
end
// change comments
n=size(txt,'r')
first=%t
helppart=[],endofhelp=%f
for k=1:n
tk=txt(k)
// insert blank when a digit is followed by a dotted operator
kdot=strindex(tk,['.*','./','.\','.^','.'''])
if kdot<>[] then
kdgt=kdot(find(abs(str2code(part(tk,kdot-1)))<9))
for kk=size(kdgt,'*'):-1:1
tk=part(tk,1:kdgt(kk)-1)+' '+part(tk,kdgt(kk):length(tk));
end
end
// looking at comments
kc=isacomment(tk)
if kc<>0 then
// a comment, replace it by a function call
com=part(tk,kc+1:length(tk))
if ~endofhelp then helppart=[helppart;com];end
if length(com)==0 then com=' ',end
com=strsubst(com,quote,quote+quote)
com=strsubst(com,dquote,dquote+dquote)
com=';comment('+quote+com+quote+')'
txt(k)=part(tk,1:kc-1)+com
else
if first then
if tk<>part(' ',1:length(tk)) then
first_ncl=k,first=%f,endofhelp=%t
else
// looking if thereis some instruction
for kk=k:n
tk=txt(kk)
if tk<>part(' ',1:length(tk)) then
endofhelp=%t
break
end
end
if ~endofhelp then break,end
end
end
end
end
if ~endofhelp then
txt=[]
return
end
// replace ' by ''
txt=strsubst(txt,dquote,dquote+dquote)
// replace switch by select
txt=strsubst(txt,'switch ','select ')
// replace otherwise by else
txt=strsubst(txt,'otherwise','else')
// 1i ,...
// replace {..} by (..) or [..]
//txt=replace_brackets(txt)
txt=i_notation(txt)
// place function definition line at first line
kc=strindex(txt(first_ncl),'function')
if kc==[] then
//batch file
txt=['function []='+fnam+'()';txt]
batch=%t
else
kc=kc(1)
batch=%f
if first_ncl<>1 then
while strindex(txt(first_ncl($)+1),ctm)<>[] then
first_ncl=[first_ncl,first_ncl($)+1]
end
txt=[txt(first_ncl);txt(1:first_ncl(1)-1);txt(first_ncl($)+1:$)]
end
end
function txt=i_notation(txt)
// Change 1i ,... by 1*i,...
n=size(txt,1)
I='i';J='j'
matches=[string(0:9)+I(ones(1,10)),'.i',string(0:9)+J(ones(1,10)),'.j']
symbs=['+','-','*','/','\','(','[',' ','^',' ',',',';','=']
s1=['+','-','*','/','\',',',';',' ','^','.','&','|','''']
s2=[string(0:9),'d','e','D','E','.']
for k=1:n
tk=txt(k)+' '
kc=strindex(tk,matches)
for kk=size(kc,'*'):-1:1
km=kc(kk)+2
if find(part(tk,km)==s1)==[] then kc(kk)=[],end
end
// if kc<>[] then txt='!'+txt,end
kc=[0 kc]
for kk=size(kc,'*'):-1:2
km=kc(kk)
num=%t
while or(part(tk,km)==s2)
km=km-1
if km<=kc(kk-1)+1 then km=kc(kk-1);num=%f;break,end
end
tokill=%f
num=part(tk,km+1:kc(kk)-1)
ke=strindex(convstr(num),['e','d'])
kd=strindex(convstr(num),'.')
if size(ke,2)>1|size(kd,2)>1 then
tokill=%t
elseif size(ke,2)==1&size(kd,2)==1 then
if ke<kd then tokill=%t,end
end
if ~tokill then
if km<>kc(kk-1) then
if and(part(tk,km)<>symbs) then tokill=%t,end
end
end
if ~tokill then
km=kc(kk)
if ~isinstring(tk,km ) then
tk=part(tk,1:km)+'*%'+part(tk,km+1:length(tk))
end
end
end
//if size(kc,2)>1 then txt='!'+txt,end
txt(k)=tk
end
function i_n_test()
Txt=[
'x=1+k2i1'
'x=1.i'
'[1,2i,3;4.001i 0i 0.i]'
'1.i'
'x=2+1.d0i'
'x=33.4+a0i1+1.d+01i'
'c=x0i'
'x=2+d.0i'
'x=33.4+a0i1+1.d+01i'''
'x=''33.4+a0i1+1.d+01i'''
]
for k=1:size(Txt,1)
txt=Txt(k)
disp(txt+' --> '+i_notation(txt))
end
|
e92775b0751527b819384c17f3ce021ad27384f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH11/EX11.13/Ex11_13.sce | 4b1887ba4f89a37fdbeac9e33015ef4051668cb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | Ex11_13.sce | //Ex11_13
clc
vc = 9//collector voltage
ic = 3*10^-3//collector current
Pd = vc*ic//power dissipated at collector junction
disp("vc = "+string(vc)+"V")
disp("ic = "+string(ic)+"A")
disp("Pd = vc*ic = "+string(Pd)+"W")
|
728c0bef1d800f612e2313c8a2dec77ef9ec9243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH5/EX5.5/Ex5_5.sce | eba1401629d47fa3037dfff5419382c9ff9268ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Ex5_5.sce | clc;clear;
//Example 5.5
//given data
P1=250;
T1=700;
A1=0.2;
qout=1.2;
m=10;
P2=200;
V2=900;
//from Table A-6E
v1=2.6883;
h1=1371.4;
//calculations
V1=m*v1/A1;
disp(V1,'the inlet velocity in ft/s');
// Ein - Eout = dEsystem / dt
h2=h1-qout-(V2^2 - V1^2)/2/25037;//factor of 25037 to convert to Btu/lbm
//at this value h2, from Tablw A-6E
T2=662;
disp(T2,'exit temperature in F')
|
15aec9938d4b91f12660583596911a12f9ea2386 | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /tests/test_100/test11.tst | e3ba03dac45924021ac5094a373d8fe8a7e3cef9 | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | tst | test11.tst | 8036 5029 219 5038 285 9248 3053 1091 4089 6651 498 6866 4137 1868 9897 43 9540 3672 5588 3117 9315 9586 1850 4900 6022 578 1961 1345 4375 3551 6700 8230 311 2664 5668 5221 76 9119 9122 5993 5495 2854 8027 580 2211 9547 9643 4395 77 4872 2685 9614 5605 212 8237 6166 266 2250 2379 1383 5893 2366 9391 654 4502 8853 3461 3932 5870 6782 5441 6410 3370 3009 141 3690 9110 8679 9953 3056 9963 3437 2549 3212 607 6732 483 4816 482 9910 579 1887 9129 9677 7833 7873 7310 9501 4706 7257 |
9d845bd910015b820124a71dce77a8ee3fe5a6c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.32/2_32.sci | 41bdac006efc049dbb86f881257bb31b897c92e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sci | 2_32.sci | // 2.32
clc;
Rm=50;
Re=12;
E=33.3*10^-3;
i=0.1*10^-3;
Rs=(E/i)-Rm-Re;
printf("Series resistance=%.2f ohm",Rs)
Re=13;
i1=E/(Rs+Re+Rm);
AE=[(i1-i)/i]*800;
printf("\nApproximate error due to rise in resistance of 1 ohm in Re=%.2f degree C",AE)
R_change=50*0.00426*10;
i1=E/(Rs+Re+Rm+R_change);
AE=[(i1-i)/i]*800;
printf("\nApproximate error due to rise in Temp. of 10=%.2f degree C",AE)
|
5d8e1a07af3e7a9ca28821cc1b271ae1ed486e35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH7/EX7.15/ex7_15.sce | caddd920b50ddd54cc26fa049de8c6a75c2d37e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 695 | sce | ex7_15.sce | clc;
p2=276; // Pressure at inlet in kPa
p=6.5; // gauge pressure at outlet in cm Hg
T3=110; // Temperature at outlet in degree celcius
pa=756; // Barometric pressure in mm Hg
mc=760;// Mass of condensed steam in g
ms=25; // Mass of separated water in g
den=13600; // Density of mercury in kg/m^3
g=9.81; // Acceleration due to gravity in m/s^2
z=(pa*10^-3)+(p*10^-2);// absolute pressure in m Hg
p3=den*g*z; // Pressure after throttling
h3=2697.4;// specific enthalpy in kJ/kg
hf2=545.31; hfg2=2175.2; // specific enthalpy in kJ/kg
x2=(h3-hf2)/hfg2; // Quality of steam
x1=(mc/(mc+ms))*x2; // Quality of steam in the main line
disp (x1,"Quality of steam in the main line =");
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.