blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
47acb1f28089ba86980df85afbe2150f82a02bd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH14/EX14.2/ex_14_2.sce | ab344326be721fb73d28d3d84e74076de2d40ced | [] | 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 | 645 | sce | ex_14_2.sce | //example 14.2//
clc
//clears the screen//
clear
//clears all existing variables//
disp('We know that MSB of straight binary number is same as MSB of the Gray code equivalent. This can be passed on as such to the output. In that case, each memory location of the ROM needs to store only a three bit data as the four... |
1cd8ea5d89e4eb855d71b17ca665fad59dac51ae | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH2/EX2.14/Ex2_14.sce | 67a533581b83d9d6319011182129d48bdb0d9000 | [] | 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 | 254 | sce | Ex2_14.sce | clc;
//refer fig 2-22(B)
L_1A=10*1e-3; //in henry
L_1B=10*1e-3; //in henry
c=10*1e-12; //in faraday
k=0.1; //coefficient of coupling
pi=3.14;
L_M=k*sqrt(L_1A*L_1B);
L_eq=L_1A+L_1B+(2*L_M);
f_op=1/(2*pi*sqrt(L_eq*c));
disp(+'Hz',f_op,'f_op =')
|
6656b7f9c93acd5e0990723f2858f191810c6871 | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/gausssidelmethod.sci | 2063e6b3ab5038f3dbd1655b6a950682f8245d22 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,260 | sci | gausssidelmethod.sci | function [x, y, norm3] = gausssidelmethod(A, b)
disp(x);
m = size(A, 1);
n = size(A, 2);
// compute L
for i=1:m
for j=1:n
if j<i
L(i, j) = A(i, j);
else
L(i, j) = 0;
end
end
... |
b852c2399d2c86de472d5d5bd72366784d399a53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH3/EX3.13/Ex3_13.sce | b115ee8e9abebaf925e6de33d3db2479a5e7dd80 | [] | 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 | 487 | sce | Ex3_13.sce | // SAMPLE PROBLEM 3/13
clc;clear;funcprot(0);
// Given data
m=50;// The mass of the block in kg
F=300;// N
x_1=0.233;// m
k=80;// The spring stifness in N/m
x=1.2;// m
y=0.9;// m
// Calculation
x_2=x_1+x;// m
U_12=(1/2)*k*(x_1^2-x_2^2);// The work done by the spring force acting on the block in J
s=sqrt(x... |
0ed2a86d43609ec5336a76175364e937d1ad87fc | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/AT15JVL/ATWM1_Working_Memory_MEG_AT15JVL_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | ee2104ea95504c5f9463c169ee15d5048fdb2f19 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
27b9da301ed0b97b6d7c49863332acec347de985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH5/EX5.1.2/Example_5_1_2.sce | 3d7248efc88f6aa79844c2e506f4e79da510a1c3 | [] | 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 | 5,173 | sce | Example_5_1_2.sce | clear;
clc;
close;
set(gca(),"auto_clear","off") //hold on
a=-1; //Change a to get different figures; Not work for a=0 as z1 is not defined as slope is infinty
i=1;j=1;
for x=-10:1:10
if (x<>0) then //x<>0 because z1 not defined at x=0;
j=1;
for y=-5:2:5
... |
fcc875a9e2fd92325cddb807cd017a627df536db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH3/EX3.7/Example_3_7.sce | 75f69d72c5ddec2dda491fe2fbf7bd183072ddd0 | [] | 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 | 396 | sce | Example_3_7.sce | //Example 3.7
clear;
clc;
//Given
delHfCO2 = -393.5;//heat of formation in kJ of carbondioxide
delHfH2O = -285.8;//heat of formation in kJ of water
delH = -3303;//heat of reaction in kJ
//To determine the heat of formation of benzene
delHfC6H6 = (3*delHfH2O)+(6*delHfCO2)-(delH);//heat of formation of benz... |
f61f7ff0e4fd068946464fc0b350d81338b617b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH2/EX2.1/Ch02Ex1.sci | f7df1fa41f1c7e5911192055f59d9696778e5f11 | [] | 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 | 373 | sci | Ch02Ex1.sci | // Scilab Code Ex2.1 : Page-46 (2010)
function V = f(t)
V = 0.2*sin(120*%pi*t);
endfunction
t = 0; // Time when peak value of current occurs
C = 10e-012; // Capacitance of the capacitor, farad
I = C*derivative(f,t);
printf("\nThe peak value of displacement current = %6.4e A", I);
// Result
// The... |
851632ab4784ca86e455566804b6e11aa095987a | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH3/EX3.5.2/3_5_2.sce | 3f7cc5d832c441c2858c7d65c5760682fcbe8710 | [] | 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 | 708 | sce | 3_5_2.sce |
//Example_no.3-5-2
clc;
disp('1. When the line is shorted ,the first voltage minimum occurs at the place of the load ');
disp('2 .When the line is loaded ,the first voltage minimum shifts .15lambda from the load .the distance between successive minimas is half the wavelength');
disp('3.plot a SWR cirle for p=2');
... |
8959201ad722c784d90ff29fc78ebbfc3b0dce7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH3/EX3.5.2/3_5_2.sce | 962ce65d97547b1724957d04f8b1632a2917ec04 | [] | 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 | 468 | sce | 3_5_2.sce | clc
pathname=get_absolute_file_path('3_5_2.sce')
filename=pathname+filesep()+'352.sci'
exec(filename)
//In this code I used a function to achieve the conversion
function[centigrade]=conversion(fahrenheit)
centigrade=(fahrenheit-32)/1.8
endfunction
difference=conversion(80)-conversion(20)
printf("Equivalent... |
0053a21d8e1b9d9c5188d10295323a55a88ab1eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2372/CH2/EX2.1/ex1.sce | 98bcadee076968ace79120f0c37e9833e578f7d0 | [] | 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,259 | sce | ex1.sce | clc;
clear;
vm=100;thetav=0; //voltage amplitude and phase angle
z=1.25;gama=60; //impedance magnitude and phase angle
thetai=thetav-gama; //curent phase angle in degree
theta=(thetav-thetai)*%pi/180;
im=vm/z;
wt=0:0.05:2*%pi;
v=vm*cos(wt);//instantaneous voltage
i=im*cos(wt+thetai*%pi/180);//instantaneous c... |
ab75f75d92c200be7cc517c79d371f20623f4693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH3/EX3.16/Ex3_16.sce | 54b9a15169ddd8e7c24514ee2a7273f356eaa245 | [] | 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 | 959 | sce | Ex3_16.sce | // Problem 3.16,Page no.64
clc;clear;
close;
E=200 //GN/m**2 //Modulus of elasticity
alpha=11*10**-6 //per degree celsius //coeffecient o flinear expansion of steel bar
L=6 //m //Length of rod
//Calculations
//(Part-1) //IF the walls do not yield
t=58 //degree celsius //Fall in temperature //(t=80-22)
dell=alpha... |
6a7cbf138cc901a47fc333439cc9c6fcfce49d0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH8/EX8.24/8_24.sce | 9b8277e2b527c13ec07b5daec94f25f437755796 | [] | 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 | 258 | sce | 8_24.sce | //calculating required data//
//example 24//
clc
//clears the command window//;
clear
//clears//
n=10;//no. of bits//
q=1/(2^n)*100;//quantization error expressed as percentage//
disp('quantization percentage error:')
disp(q);//displaying result//
|
aa03141f032750b4abe10ed77fdb9d275e4fddcd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/percent/%sap.sci | a39abfb74e8d311e99dc7483f914aa750c774702 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 150 | sci | %sap.sci | function [z]=%sap(x,y)
//z = scalar + polynomial matrix = x + y
[m,n]=size(x);
if m*n==1 then
z=x*ones(y)+y;
else
z=x+y*ones(x);
end
|
bfb71d33fafaec1ef248acaa32f50ff26f0d15ac | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/EA39DWK/ATWM1_Working_Memory_MRI_EA39DWK/ATWM1_Working_Memory_MRI_Salient_Uncued_Run1.sce | b588e6338800ca663c636255529019b2148ef440 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,235 | sce | ATWM1_Working_Memory_MRI_Salient_Uncued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_salient_uncued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = ... |
c9d596beff189937f094c22f6e31c73f56fa2af3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH6/EX6.6/Ex6_6.sce | 6d60c08fb49dd37c29415fdd1316c10612a367e2 | [] | 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,054 | sce | Ex6_6.sce | //exa 6.6
clc;clear;close;
format('v',6);
A=0.98*expm(%i*3*%pi/180);//Constant
B=110*expm(%i*75*%pi/180);//ohm/phase
P=50;//MVA
pf=0.8;//lagging
V=132;//kV
//Formula : Pr=|Vs|*|Vr|/|B|*cosd(Beta-delta)-|A|*|Vr|^2/|B|*cosd(Beta-alfa) :
betaSUBdelta=acosd((P*pf+abs(A)*V^2/abs(B)*cosd(atand(imag(B),real(B))-atand... |
b5aa34addedb02e9e1419aaabfa8b9ce4bbe8cc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH9/EX9.2/Example9_2.sce | 7ebae04392d17f01cc5f0a67568eaf8307c544ba | [] | 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 | 988 | sce | Example9_2.sce | clear;
clc;
// Example: 9.2
// Page: 338
printf("Example: 9.2 - Page: 338\n\n");
// Solution
//*****Data******//
Vol = 2;// [Volume of the mixture, cubic m/mol]
y1 = 0.4;// [mole fraction of alcohol, cubic m/mol]
V1_bar = 38.3*10^(-6);// [partial molar volume of alcohol, cubic m/mol]
V2_bar = 17.2*10^... |
4e6be1f0e739f1d02322f6f2487888380611e988 | d56141249002a5da7c4a2641dbdfc609809046a8 | /Abinit/ab_occ_mat_read.sce | d1ed72db6c4181f15f012d02cb9cf6096d184997 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,279 | sce | ab_occ_mat_read.sce | // This code is to read the occupation matrix of DFT+U calculation
// from the output of abinit
clear; clc; exec(PiLib); xdel(winsid());
// Parameters ==========================================================
work_dir=[];
filename='pnma_comp.dat'
J_num=[5/2,7/2]
// Main ==============================================... |
6a1d58541246ee1a9346b48ad4a78240dc6b7b34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.12.p/problem2_12.sce | 270e006b7f525bd4bb9aa9f63ed9bc4c63ec047f | [] | 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 | 331 | sce | problem2_12.sce | //problem 2.12
clc;
clear;
close;
//given data :
//Isc=4*If;
Isc_by_If=4;
Slip=2.5;//in %
disp("Ts is proportional to Is^2");
disp("and Tf is proportional to If^2/S");
disp("From these eqn we get :")
Ts_by_Tf=(Isc_by_If)^2*(Slip/100);//ratio
disp("Starting torque is "+string(Ts_by_Tf*100)+" % of full load t... |
89c0115dc195f758c67e6dc443ca222ebffff07f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH3/EX3.14/Ex3_14.sce | 0755c00db088b9fffe7a90ec5601046256231f65 | [] | 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,479 | sce | Ex3_14.sce | clc;
s=81; // number of slots
p=6; // number of poles
np=3; // number of phases
cs=13; // coil span in terms of slot pitches
v=60; // phase spread for three phase winding
f3=0.4; // ratio of third harmonic flux to first harmonic flux
f5=0.25; // ratio of fifth harmonic flux to first harmonic flux
spp=s/(p*np);... |
5bff1cc285420c05cb22cd8b47881f0829cf4369 | 22d9f9e36cc02d4358110e7dd63d91180334ff98 | /scripts/randomnumber.sce | 6965a5801f2c2f0276a8f10a5164b8158564a8d3 | [] | no_license | kalexal-kaa/ScilabScripts | ddd6be8dfb4f2820f2e6547be810e8b693781255 | 5b25138895e9a42893e0a88a94f414308203cd69 | refs/heads/main | 2023-06-01T08:55:32.806731 | 2021-07-03T02:24:54 | 2021-07-03T02:24:54 | 379,259,490 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sce | randomnumber.sce | lim = input("Введите число, больше которого нельзя загадывать: ")
disp("Загадано число от 1 до " + string(lim))
x = int(rand() .* lim) + 1
num = 0
while x ~= num
num = input("Введите число: ")
if x < num then
disp("Мое число меньше")
elseif x > num then
disp("Мое число больше")
else
... |
6fd258f831ee29c7a9f640b41388ef424b6104d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH6/EX6.5/6_5.sce | 7aeaf0c44ca6df2da0bc9a70daaa39d7249710ae | [] | 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 | 307 | sce | 6_5.sce | //To calculate the electronic polarizability
epsilon0 = 8.854*10^-12;
epsilon_r = 1.0000684; //dielectric constant
N = 2.7*10^25; //density, atoms/m^3
alpha_e = epsilon0*(epsilon_r-1)/N; //electronic polarizability, Fm^2
printf("electronic polarizability in Fm^2 is");
disp(alpha_e);
|
9d3d5bb2a10ae6c1760b0d0969ddaf52083547ab | cfadc8057fba63a7793bcee7ce8e2e8c3e5dc359 | /solvers/CompressibleFlowSolver/Tests/Couette_FRDG_LDG_GAUSS.tst | 53755fac026e2a151de6a0e30576071ac5e550ce | [
"MIT"
] | permissive | DarkOfTheMoon/nektar | a5132b836f9fb0894ec54c1f373c08df947dd5ca | b36f4214c0907f877fed8dfc08e53bd607eaea24 | refs/heads/master | 2021-01-20T03:59:10.430634 | 2017-04-27T11:50:26 | 2017-04-27T11:50:26 | 89,609,337 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,042 | tst | Couette_FRDG_LDG_GAUSS.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Couette flow, mixed bcs, FRDG advection and LDG diffusion, SEM</description>
<executable>CompressibleFlowSolver</executable>
<parameters>Couette_FRDG_LDG_GAUSS.xml</parameters>
<files>
<file description="Session File">Couette_FRDG_LD... |
7762e3832985aea993a4e40d6dcace230c00f151 | 6e51f2fdd036612dc2b51c405904fed97d2ae8b0 | /src/test_hash_chain_1_a.tst | 0589cca33298c20ace6cf834f57a7109261571a4 | [
"MIT",
"Zlib",
"BSD-3-Clause",
"OML"
] | permissive | joe-nano/ciyam | 92c6ccb58029a1b2a641a7e00417ab524cb9f957 | a92c296b911b29620a7bb3b758eb55339e040219 | refs/heads/master | 2022-04-16T14:39:55.822434 | 2020-03-27T06:39:13 | 2020-03-27T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,164 | tst | test_hash_chain_1_a.tst | 01. create seedless internal hash chain and get the last hash
a36a02ada10a3b0bba60f563307040246bc2b605bdc9b772930975393a1e284f
02. manually verify the last hash in the chain matches expected
a36a02ada10a3b0bba60f563307040246bc2b605bdc9b772930975393a1e284f
03. create external hash chain and verify the next internal ha... |
3f32d2142a55559899c2c70435b701effcf1aaf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH11/EX11.7/Ex11_7.sce | 09b804ace9825d43682ad6b2159772cdbecc3fc4 | [] | 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 | 497 | sce | Ex11_7.sce | clc();
clear;
//Given :
//Fraction F = n/N
Eg = 0.72; // Energy gap in eV
k = 0.026/300;// kT value at 300 K , so k = kT/T
T1 = 30; // Temperature in K
T2 = 300; //Temperature in K
T3 = 1210;//Temperature in K
//Fraction of electrons : n/N = exp(-Eg/2*k*T)
F1 = exp(-Eg/(2*k*T1));
F2 = exp(-Eg/(2*k*T2));
F3 ... |
e7a08e9083f5ca9839efa27599bb08a80b3775ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.45/EX17_45.sce | daebb5226a6b0f6c26e9c7e3f9827030ff8e53f0 | [] | 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,752 | sce | EX17_45.sce | clc;funcprot(0);//EXAMPLE 17.45
// Initialisation of Variables
n=4;........................//No of cylinders
ga=1.4;...................//Degree of freedom
D=0.075;..................//Engine bore in m
L=0.1;...................//Engine stroke in m
mf=6;.......................//Fuel consumption in kg/h
C=83600;....... |
d871a3b80fa017dd2718e2b7985f3c431769eab1 | 56743f362de98f910919780918c86679ec136d3e | /resolucao-provas/2017-2018/2º Teste Prático v1.sce | eb42bcea2fa6d0d2c598f0862aa2effaf8c2f536 | [] | no_license | andre-paulo98/fichas-ei-a1s2-MD | aaf75e6b45cbac7ebbf92949deb783ce6f1201b7 | 99c50eb08cf409ce8e5aa8301728dbe9148e16c5 | refs/heads/master | 2022-02-24T23:13:49.293944 | 2019-10-06T17:50:26 | 2019-10-06T17:50:26 | 171,472,323 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,923 | sce | 2º Teste Prático v1.sce | clc
clear
// 1.a)
Re1R = readxls("Material/dados.xls")(1).value
exec("Material/funcoes.sce", -1)
disp ("Re1R")
disp(Re1R)
// 1. b)
// Equivalência => RST
// 143
isR = verifica1(Re1R)
isS = verifica4(Re1R)
isT = verifica3(Re1R)
if isR == %t & isS == %t & isT == %t
disp("A matrix Re1R é uma rel... |
780d9867f69ee88db18727c9ebe38a16b6a7b54e | 07bf6db3fade722ce6caf9bb9044a8de97fdec55 | /scripts/dag/d.sce | eae9a09095f4b138e87c81460ec6a0c5fc9f8eb2 | [
"BSD-2-Clause"
] | permissive | rfabbri/minus | 8cce65a53e4afe617843aa8a8e31ee5dcee28cb2 | 21a847fd66c0d1ecb40962bce9c9b2c1a6df02fa | refs/heads/master | 2023-07-19T15:49:05.920669 | 2023-06-23T00:13:53 | 2023-06-23T00:13:53 | 172,530,430 | 39 | 8 | NOASSERTION | 2022-04-26T14:13:13 | 2019-02-25T15:19:04 | C++ | UTF-8 | Scilab | false | false | 20 | sce | d.sce | clear
exec dag.sce;
|
dcf7723709e545c9b453715f4ea477a14d155fb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH2/EX2.28/2_28.sce | 4eb4e5a07dcf6b3e468dbfb17061316e24799341 | [] | 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 | 234 | sce | 2_28.sce | clc
clear
//INPUT DATA
f=55 //frequency
a=7*10^-3 //amplitude
//calculation
a=(-2*%pi*f)^2*a
//output
printf("the acceleration of the body when it is at its maximum displacement from its zero position is -%3.1f ms^-2",a) |
7a1f504bc6967816d1a2ec4f25580d04006ba679 | 99e5810ad838c385c38e818ed59ad43b7f93fb67 | /Lab4/trajectory_tracker/Lab4_part1.sce | 07e540a969d3eaac835955464f1e0520ad2e51b9 | [] | no_license | csr-trainees-2019/scilab | c89e15ded8f4cd31321ec3fdfe759e2293625345 | f9c8bbc07da38b98b18961888dcb3dfcbabb8cb2 | refs/heads/master | 2020-04-21T13:30:05.031096 | 2019-02-16T10:40:56 | 2019-02-16T10:40:56 | 169,600,658 | 0 | 1 | null | 2019-02-16T10:39:01 | 2019-02-07T16:13:17 | Scilab | UTF-8 | Scilab | false | false | 3,109 | sce | Lab4_part1.sce | Jm = 0.0024;
Km = 0.5;
Kb = 0.48;
R = 5.2;
Kf=0.2;
Kp = 50.1;
//Kd = 0.97; In matlab error and I don't wanna solve it. Test in scilab
Kd = 0;
Ki = 81;
K = Kf + Km*Kb/R;
legend_font = 3;
axis_fontsize=4;
title_fontsize = 4;
graph_thickness = 2;
//------------------------------------------------
f=figure();
clf();
f.back... |
8da1b048e26bc0091912f74de706c0d742cb5a32 | 6a80aa5f62cfc2c1b93e4bb27545d2b94daa5bdb | /Assignment1/A1_1D_Conduction_Codes/A1_1D_Prob3.sce | 00fc33c730c8b12031eddcb17c2dddc751635bed | [] | no_license | pulkitkatdare/CFD_assignment | ba6094efac2541722c842805c2145ef7d5c8cf70 | c8e599599f7bba38a1b564037df4b6b6fb5ddbdd | refs/heads/master | 2020-07-03T18:27:03.323182 | 2016-10-19T04:57:20 | 2016-10-19T04:57:20 | 67,068,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,993 | sce | A1_1D_Prob3.sce | // *********************************************************************************************
// MATHEMATICAL APPROACH OF CFD DEVELOPMENT: Code developed by Prof.Atul Sharma,CFD Lab ,IIT Bombay.
// Distributed for Assignement # 1 of courese ME415: CFDHT
//**********************************************************... |
61c922efcf4e0005fc501aa4fe847c620fe4e8d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH7/EX7.6/Ex7_6.sce | 915d8510a96f96c09324a262bbead3b2dc5dca4a | [] | 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,493 | sce | Ex7_6.sce | // exa 7.6 Pg 205
clc;clear;close;
// Given Data
P=135;// kW
N=120;// rpm
tau_s=55;// MPa
tau_b=45;// MPa
tau_ci=175;// MPa
sigma_ci=75;// MPa
//sigma_cs=2*tau_s;// MPa
//Tmax=1.5*Tm
mu=0.15;// coefficient of friction
//SHAFT DIAMETER
// P= 2*%pi*N*Tm/60/1000
Tm=P/(2*%pi*N/60/1000);// N.m
// %pi*d**3*tau_s/16= Tm
... |
d2aa2acf7ec29d3525b39c1c6c427d3da0b3912f | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/jnftrght.tst | bbc68252036eac9e720a4de8056fef9cbe14332c | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | tst | jnftrght.tst | (set-strategy depth)
(unwatch all)
; jnftrght.bat test
(clear)
(open "jnftrght.rsl" jnftrght "w")
(dribble-on "jnftrght.out")
(batch "jnftrght.bat")
(dribble-off)
(load "compline.clp")
(printout jnftrght "jnftrght.clp differences are as follows:" crlf)
(compare-files jnftrght.exp jnftrght.out jnftrght)
; close result f... |
d18ef7b8023aa920ec617b9a6dad8ef91104fba6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH4/EX4.8/ex4_8.sce | 2058f3019fcc22dc43df6d465313d3bc874beada | [] | 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 | 202 | sce | ex4_8.sce | clc;
eo=(8.854*10^-12); //constant
E=2; //magnitude of electric field in N/C
r=0.5; //r in m
q=E*4*(%pi)*(eo)*(r^2); //calculating charge
disp(q,"Charge in Coulomb = "); //displaying result |
b80a50a74c2bd4d5e83c249586dfc236e6259f79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.1/1_1.sce | 19c74484270c3e2bd920f093832b62facbd7f337 | [] | 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,513 | sce | 1_1.sce | clc
clear
//Input data
V1=0.5;//Initial Volume before the commencement of compression in m^3
P1=1;//Initial pressure before the commencement of compression in bar
T1=300;//Initial temperature in K
P2=12;//Final pressure at the end of compression stroke in bar
Q=220;//Heat added during the constant volume process... |
9b2aff85300ee3528b00be6cddc32a974f70fd7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH7/EX7.5/5.sce | c3629033b7e61fa388f5e53cef74dda6890ba1a4 | [] | 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 | 810 | sce | 5.sce | clc
d=0.9144; // m
C=100; // m^(1/2)s^(-1)
R=d/2;
H=[0.1 0.15 0.2 0.25 0.201];
theta=acos((R-H)/R);
A=R^2*(theta-sin(2*theta)/2);
P=2*R*theta;
m=A/P;
// An analytical solution for depth H is not possible. It is therefore necessary to use a graphical or trial and error approach.
// The corresponding va... |
8cfa80314cab488f8051772dc9fcaa24dfdafb3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH3/EX3.2/3_2.sce | 413f37730cb793ee06bd7be68098b015a5faafc9 | [] | 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 | 363 | sce | 3_2.sce | clear
clc
//initialisation of variables
w= 62.4 //lb/ft^3
P= 1.7 //lb/in^2
d1= 6 //in
d2= 3 //in
hab= 8 //ft
Q= 0.75 //cuses
sm= 13.6
g= 32.2 //ft/sec^2
//CALCULATIONS
dP= P*144/w
va= Q*(d1/d2)^4/%pi
k= -(((d1/d2)^4-1)-((-dP+hab)*2*g/va^2))
h= (-dP+hab)*12/(sm-1)
//RESULTS
printf ('k = %.f ',k)
pri... |
e4352f0f036dc670004e48a129f405a499825b25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH5/EX5.13/Figure5_13.sce | 61a4c618009a38235afd6b4a04912c3475534f10 | [] | 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 | 712 | sce | Figure5_13.sce | //clear//
//Caption:u-Law companding
//Figure5.13(a)Mulaw companding Nonlinear Quantization
//Plotting mulaw characteristics for different
//Values of mu
clc;
[Cx,Xmax] = mulaw(x,mu)
Xmax = max(abs(x));
if(log(1+mu)~=0)
Cx = (log(1+mu*abs(x/Xmax))./log(1+mu));
else
Cx = x/Xmax;
end
Cx = Cx/Xmax; //n... |
f25754c0befb933027f1840793b682d581f0b4b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.12/Chapter3_example12.sce | 95f760128b2cc9cfa2b592265e990124a6a70b55 | [] | 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 | 549 | sce | Chapter3_example12.sce | clc
clear
//Input data
d=0.2//Diameter of the cylinder in m
L=0.4//Stroke in m
r=13.5//Compression ratio
a=1.42//Explosion ratio
s=5.1//Cut off occurs at 5.1 percent of the stroke
g=1.4//Ratio of specific heats for air
//Calculations
Vs=(3.14/4)*d^2*L*10^-6//Stroke volume in c.c
Vc=Vs/r//Clearance volume i... |
0910e578ee3bc5d6c4fd925caae380f3cbdd9201 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH9/EX9.12/Ex9_12.sce | aaba81941221b263c0f92d0594a58ec406515261 | [] | 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 | 808 | sce | Ex9_12.sce | // Example 9_12
clc;funcprot(0);
// Given data
// From example 9.9
P_1=100;// kPa
P_4=500;// kPa
T_1=25+273;// K
T_6=850+273;// The maximum temperature in K
c_p=1.00// kJ/kg.K
k=1.4;// The specific heat ratio
// Calculation
P_2=sqrt(P_1*P_4);// The intermediate pressure in kPa
T_2=T_1*(P_2/P_1)^((k-1)/k);... |
227ca270226ca0c8d4a3365e0e762ae9ddf47eb9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/util/translatepaths.sci | e18e15675171117c69587472bd7c50de0cec6271 | [
"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 | 814 | sci | translatepaths.sci | function translatepaths(Paths,res_path)
// Copyright INRIA
if exists('m2scilib')==0 then load('SCI/macros/m2sci/lib'),end
logfile=%io(2)
Paths=stripblanks(Paths)
for k=1:size(Paths,'*')
if part(Paths(k),length(Paths(k)))<>'/' then
Paths(k)=Paths(k)+'/',
end
end
for k=1:size(Paths,'*')
path=Paths(k)
if gete... |
de06eecd9841bf4592f6e6b71d995b0ebf6c0f04 | 906f286d018d405ea3ace52a3e8e8a109d68cefe | /sensorimotor_system/visuomotorAdaptationModeling.sce | a713d7d4347fd7ad569ec400d449d20a3a83fdc2 | [] | no_license | andreinakagawa/control | 165398c239178670934328a278113d136e7c5747 | b69f0cb7ee4f4328bdc7d45d7bb9fd82eec6343f | refs/heads/master | 2021-01-21T21:38:24.436418 | 2017-07-13T18:57:30 | 2017-07-13T18:57:30 | 92,322,739 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,833 | sce | visuomotorAdaptationModeling.sce | //------------------------------------------------------------------------------
// FEDERAL UNIVERSITY OF UBERLANDIA
// Faculty of Electrical Engineering
// Biomedical Engineering Lab
// Uberlandia, Brazil
//------------------------------------------------------------------------------
// Author: Andrei Nakagawa, MSc
/... |
5bbe579534815f4ac9b4c2cca6a88f654f784210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH5/EX5.3/Ex5_3.sce | 7b4b5175907ad320e492cf58f8b39b49f6e59b3d | [] | 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 | 869 | sce | Ex5_3.sce | clc;
rp=6; // Pressure ratio
T1=300; // Inlet air temperature to the compressor in kelvin
T3=577+273; // Inlet temperature of air at turbine in kelvin
Vr=240; // Volume rate in m^3/s
Cp=1.005; // Specific heat at constant pressure in kJ/kg K
r=1.4; // Specific heat ratio
R=287; // Characteristic gas constant in ... |
cdda6dff6c654227c7eb3e7b78f8b029c4fb9fa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.18/Ex3_18.sce | 277c82c278d0b3a600372d48d448b1b02dc73895 | [] | 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,193 | sce | Ex3_18.sce |
//Variable declaration
Idss=16 //drain current bias to zero(mA)
Vp=-4 //pinch off voltage(V)
Rg=1 //gate resistance(ohms)
Rs=2.2 //sourse resistance(ohm)
Vdd=9 //drain drain vol... |
03e5dbca64d02fece9bf713a2cf396550c377e9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH7/EX7.12/EX_12.sce | 47243b50682d5f3d193a753f4c9d3f78328d0825 | [] | 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,790 | sce | EX_12.sce | clc;funcprot(0)//EXAMPLE 7.12
//Initializing the variables
Z=0.55;.............//Mach Index
Dcy=0.11;............//Engine Bore in m
L = 0.14;............//stroke length in m
N = 2400;.............//Engine rpm
N1 = 2800;............//Engine rpm after modification
N2=4800;.............//Max rpm for unmodified en... |
0d339cf998bb53f233d564fa994a665a2426019d | 297b29fb450286d0f7fa619e58c9f4a86949544a | /DiscretetimeVCO.sci | 2878d1708d437e60f728a80e0ba3184f93556be9 | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,349 | sci | DiscretetimeVCO.sci | function [y] = DiscretetimeVCO(in,Ac,fc,kc,iniph,T)
y=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//DiscretetimeVCO Implement voltage-controlled oscillator in discrete time
//[y] = DiscretetimeVCO(in,Ac,fc,kc,iniph,T) - The Discr... |
9dfd3ffe34dba351c24e899241b6b06728833267 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/%e2sci.sci | 539e6cfa8ec6178d476df9ee8fde055cb3216fc5 | [
"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 | 983 | sci | %e2sci.sci | function [stk,txt,top]=%e2sci()
// genere le code relatif a l'extraction d'une sous matrice
//!
// Copyright INRIA
txt=[]
rhs=maxi(0,abs(evstr(op(3)))-1)
sn=stk(top);top=top-1
s2=stk(top)
if rhs==1 then
if s2(1)==':' then
stk=list(sn(1)+'('+s2(1)+')','0','?','1',sn(5))
elseif sn(3)=='1' then
stk=list(sn(1)+... |
094790f120b31784859053bd80e43616edbb6be5 | 717ddeb7e700373742c617a95e25a2376565112c | /767/CH1/EX1.4.5/Ch1Exa1_4_5.sci | 7db317d8d23f9073195c8981fa3752d013b12c4c | [] | 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 | 784 | sci | Ch1Exa1_4_5.sci | // Scilab code Exa1.4.5 : To calculate densities of O and Pb whose radii are given: Page 35 (2011)
m_O = 2.7e-026; // Mass of O nucleus, kg
r_O = 3e-015; // Radius of O nucleus, m
V_O = 4/3*(%pi*(r0)^3); // Volume of O nucleus, metre cube
d_O = m_O/V_O; // Density of O nucleus, kg/metre cube
m_Pb = 3.4e-025; // Ma... |
a8f7c77e8303cb22c0fa095831f5377fd7b78bcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH6/EX6.16/ex6_16.sce | 3a5bc67e811912db66426de09c4117af3a8995c3 | [] | 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 | 271 | sce | ex6_16.sce | clc;
disp("The reactance at 640 kHz is 75.4 Ohm."); //displaying result
disp("For 20,000 A, the voltage drop is 1.5*10^6 Volt."); //displaying result
disp("The breakdown voltage for 6 in. is 300,000 V.Lightning will jump through the concrete."); //displaying result |
b68c35f659a1c0827dac792b2f57114fde17628a | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_Hk_solver_dist.sci | cab87b661b635748f221c3c6b2f09bddf87b791e | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 10,237 | sci | PIL_Hk_solver_dist.sci | // **** Purpose ****
// This function can run k-point calculation distributedly. It split
// the k-point into several pieces and preared their input files for
// submission. You will need to assign how many tasks to submit each
// time and the time interval between two batch submission.
// So one can calculate a lar... |
483f8ca5b77b8d32b27d4a43eb510c5688b6aee7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.22/ex3_22.sce | 07c9072e6c97b82a14df41273b5cfab32221b967 | [] | 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 | 696 | sce | ex3_22.sce | // Exa 3.22
format('v',6);clc;clear;close;
// Given data
theta1 = 128;//first maximum deflection in mm
theta3 = 90;//second maximum deflection in mm
theta_f = 70;// in mm
i = 6.2;// in µA
// The current sensitivity
Si = theta_f/i;// in mm/µA
disp(Si,"The current sensitivity in mm/µA is");
// The logarithmic ... |
4e4f4e0696f3e5aa1698076f88a1c45eb608e4fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH12/EX12.2/Ex12_2.sce | cdd152ddcd9a0a36ee1296772da3304306217fd2 | [] | 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 | 268 | sce | Ex12_2.sce | clear
//
//Given
//Variable declaration
L=4*1000 //Length in mm
//Calculation
thetaA=((%pi/180)*(1)) //Slope at the ends in radians
yc=(thetaA*(L/3)) //Deflection at the centre in mm
//Result
printf("\n Deflection at the centre = %0.3f mm",yc)
|
d0664b515f8530cda9edded1aba91d2c232e2ff3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH3/EX3.5/ex_3_5.sce | b9bdda9801cd0cbd81815b58d9653045c9975aa6 | [] | 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 | 289 | sce | ex_3_5.sce | //Example 3.5 // thickness of copper deposited
clc;
clear;
close;
//given data :
A=0.00025;//in m^2
D=8900;//in kg/m^3
Z=32.95*10^-8;//in kg/C
I=1.5;//in A
t=60*60;//in seconds
m=Z*I*t;//in kg
v=m/D;
T=(v/A);
disp("Thickness of copper deposited is "+string(T)+"m or "+string(T*10^3)+"mm")
|
185faf72f3125b91c55f660778ccb43ca9eb80ee | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/armac.man.tst | 2ab6c60bedc4fd3e715f79a1c3b0b5f9a4bd0a99 | [
"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 | 213 | tst | armac.man.tst | clear;lines(0);
a=[1,-2.851,2.717,-0.865].*.eye(2,2)
b=[0,1,1,1].*.[1;1];
d=[1,0.7,0.2].*.eye(2,2);
sig=eye(2,2);
ar=armac(a,b,d,2,1,sig)
// extract polynomial matrices from ar representation
[A,B,D]=arma2p(ar);
|
6df28680ad65565d96e01360c8b6862bc4bcccda | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH7/EX7.4/4.sce | 8f7c12249473c3dd23fa038f7689c1ea5b8010b8 | [] | 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 | 307 | sce | 4.sce |
//variable declaration
h=6.626*10**-34 //Planck constant
C=3*10**8 //Velocity of light
E_g=1.44 //bandgap
//calculations
lamda=(h*C)*10**10/(E_g*1.6*10**-19) //Wavelenght
//Result
printf('Wavelenght = %0.3f Angstrom \n',(lamda)) |
825feffa770ced2cc42d6411a75a323226631389 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH18/EX18.4/RB_4.sce | e91ea0f161ea96dd8f3aa2bf6ec76288a7b94c59 | [] | 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 | 173 | sce | RB_4.sce | // sum 18-4
clc;
clear;
P=20*10^3;
Co=22400;
C=41000;
Ln=(C/P)^3;
Lh=Ln*10^6/(720*60);
// printing data in scilab o/p window
printf("Lh is %0.3f hrs ",Lh); |
8c6cb05b9a4fc7c11ece0be03454ae5473319ac2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH8/EX8.1/ex_8_1.sce | 85b252ec8ccc16efe6124802e3e63b992083c607 | [] | 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 | 386 | sce | ex_8_1.sce | //Example 8.1 // Dielectric
clc;
clear;
//given data :
k=3;// Dielectric constant
E=1D6;// field intensity in V/m2
e=8.85D-12;// permitivity in C2/N.m2
P=e*(k-1)*E;// polarisation in C/m2
disp(P,"polarisation in C/m2")
D=k*e*E;// displacement vector in C/m2
disp(D,"Displacement in C/m2")
ED=.5*k*e*E^2;// Ene... |
eb841adea823ee2923f9532aca3907345735148d | f19d1dec66f19d3a8644043d3033428fc560a6c9 | /sql/tag_join.tst | 595df61bf423070b98143c39e4d56357bcd67aba | [
"Apache-2.0"
] | permissive | kurtericmiller/Zbloggi | f08686b1c3b42e2092ca0a013251661009c2cc55 | 5c4f33157635805eb3c7b4c0a1c1cf389acc5725 | refs/heads/master | 2016-09-03T07:38:59.278337 | 2012-08-01T20:30:08 | 2012-08-01T20:30:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,439 | tst | tag_join.tst |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SE... |
47f4c0f04b783087fec9690c462aec0ab69b4735 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH3/EX3.8/Ex3_8.sce | c43e44e869fc9b5fc655dc8189128cc28df27cd2 | [] | 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,394 | sce | Ex3_8.sce | //Variable declaration
Rb1=36 //base resistance 1(kohms)
Rb2=12 //base resistance 2(kohms)
Rc=4 //emitter resistancce(kohms)
Re=1.8 //emitter resistance(kohms)
Vcc=12 //supply voltage(V)
Vbe=0.7 //base to e... |
0d3b7a23da08e016809b5a2cc582636614acaba4 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/islinphase.sci | 4eeec8851e22d11f81c2f4e87e965e3ee434be5e | [] | 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 | 4,338 | sci | islinphase.sci | //islinphase Determine whether filter has linear phase
<<<<<<< HEAD
// Calling Syntax and Parameter description
//flag = islinphase(b,a)
//takes input as numerator and denumerator coefficint matrices and returns flag =1 if filter is linear phase else return flag = 0
//flag = islinphase(sos)
//takes input as K x 6 se... |
7edd84eceeb35d9a464cf68e880ae6079f19ca09 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/vmmwta.sce | 7bb808dc80d942258e156aae21c80325d96381ea | [] | 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 | 250 | sce | vmmwta.sce | style.fontSize=14;
style.displayedLabel="<table> <tr> <td><b>In<br><br>nbias</b></td> <td></td> <td></td> <td><b>VMM+WTA</b></td> <td></td> <td></td> <td align=left><b>Out</b></td> </tr> </table>";
pal1_1 = xcosPalAddBlock(pal1_1,"vmmwta",[],style);
|
800a85ca46265d4f713479280805d10d7819e9e6 | b6f947f4c837358699eaf470673a9e49d8f269f6 | /projects/03/b/mag3.tst | 88f5a00e3d00ad9ee353aa6ee71bb865264fb45c | [] | no_license | domysticnom/Hack-Assembly | 314380e30b0d10ab0598f5b0965dfd74ad223087 | 73c11992d8721bc7626f26f6f3ae07bdfdb23e3c | refs/heads/master | 2022-12-11T22:17:00.907707 | 2020-09-08T22:53:00 | 2020-09-08T22:53:00 | 293,945,173 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | tst | mag3.tst | load mag3.hdl,
output-file mag3.out,
compare-to mag3.cmp,
output-list in%B1.3.1 out%B3.1.3;
set in %B000,
eval,
output;
set in %B001,
eval,
output;
set in %B010,
eval,
output;
set in %B011,
eval,
output;
set in %B100,
eval,
output;
set in %B101,
eval,
output;
set in %B110,
eval,
output;
set in %B111,
eval,
outp... |
17e0b4b0feb7c0cdba3ce0db174a4002023f684f | 5e244ee21a463b92f547cd5626e466ab167a3e1b | /Semester 5/OST/10. Digital Filter Design by Bilinear Transformation/ost10.sce | 3495f334e28b6931d5f1f96e5cf7b9f118eab846 | [] | no_license | bumblebee26/Lab-Experiments | 5ab36e3a52fd3348d0d7634a08541e229e55680f | 8408eceabf65489d477c1e62a998c39b0bd0d828 | refs/heads/master | 2020-04-20T12:44:52.375127 | 2020-02-28T15:10:45 | 2020-02-28T15:10:45 | 168,850,941 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sce | ost10.sce | clc;
clear all;
s=%s
h=2/((s+1)*(s+2))
t=0.2
disp(h,'h = ')
z=%z
s=(2/t)*((z-1)/(z+1))
h_z=horner(h,s)
disp(h_z,'h_z = ')
|
f5fd3bb086d97991d28224d5fb65403729ec59f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH6/EX6.15/Ex6_15.sce | 8dc470e3e97d5996a094ae02b9e17063c61550e8 | [] | 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 | 500 | sce | Ex6_15.sce | clc
a=83.56 //moles of nitrogen in product
b=3.7619
y=a/b
mprintf("y=%f\n",y)//ans vary due to roundoff error
c=(9.27+2.31)//moles of carbon in product
d=5
x=c/d
mprintf("x=%f\n",x)//ans vary due to roundoff error
e=(12*x)
z=e/2
mprintf("z=%f\n",z)//ans vary due to roundoff error
t=(y+a)/x
mprintf("Actua... |
3442a7908170b93744b13e4c5b5bb995b7308447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH3/EX3.5/Ex3_5.sce | df5c0f8ba82d3dba260af187998d4ddd1a973197 | [] | 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 | 289 | sce | Ex3_5.sce | //minimum voltage to operate
//given
clc
Vs=3.3d+3//VOLTS//the minimum voltage gradient required to start the diode
l=2.5d-6//meter//the drift length
Vmin=Vs*l//the minimum voltage required to operate
disp(Vmin*1000,'the minimum voltage required to operate in m/V')//mV//millivolts
|
d5c0ae618f1f77cb362b3639b8a32ae266f07f7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH9/EX9.10/ex_10.sce | db2a94dac7889471538a3a5b2f0e5d3ce5e6be9f | [] | 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 | 313 | sce | ex_10.sce | // Chapter 9_The bipolar transistor
//Caption_Ebers Moll model
//Ex_10//page 394
T=300
alpha_f=0.99
alpha_r=0.20
Ic=.001
Ib=50*10^-6
Vt=0.0259
x=Ic*(1-alpha_r)+Ib
y=alpha_f*Ib-((1-alpha_f)*Ic)
z=alpha_f/alpha_r
VCEsat=Vt*log(x*z/y)
printf('The collector emitter saturation voltage is %1.3f V',VCEsat) |
9e1cc6238415584cc54eaf213de34a9c526f228a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.3/Ex4_3.sce | 91ad91e3f867051d67d3934b99dd5e4bcf0ebfdc | [] | 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 | 260 | sce | Ex4_3.sce | //Example 4.3:
clc;
clear;
close;
//given data :
format('v',6)
Vcc=20;// in V
Vbe=0.7;// in V
Rc=2;//in kilo-ohm
Icsat= Vcc/Rc;//in mA
Beta=200;//
Ib=(Icsat/Beta)*10^3;//in micro-A
Rb=((Vcc-Vbe)/(Ib))*10^3;//in kilo-ohm
disp("Rb < "+string(Rb)+" kilo-ohm")
|
40c84a030e51bc04e8c2679e907692d72a0fb948 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH2/EX2.6/Ex2_6.sce | fb23b75dc81c99248076578f732cf05639a5d72a | [] | 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 | 237 | sce | Ex2_6.sce | clc//
//
//
//Variable declaration
a=1;
b=1/2;
c=3;
//Calculation
A=1/a;
B=1/b;
C=1/c;
h=A*c;
k=B*c;
l=C*c; //miller indices of plane
//Result
printf("\n miller indices of plane is ( %0.3f %0.3f %0.3f)",h,k,l)
|
a4efbadee6dce9aa1d40c781863ee3b65173d642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH33/EX33.4/33Ex4.sce | 4af5b8fedb2ed24cfcbb729d007bbec1e0993036 | [] | 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 | 219 | sce | 33Ex4.sce | //Chapter 33 Ex 4
clc;
clear;
close;
BD=120; TD=110; //given
t=8/12; //converted in year
Sum=((BD*TD)/(BD-TD));
rate= ((100*BD)/(Sum*t));
mprintf("The sum is Rs.%d \n The rate is %.2f percent",Sum,rate);
|
bdebbb6509a00837fd43218c4f1fb74660f97cec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH4/EX4.5/Ex4_5.sce | baa9ff7bf2a2f444b23635e63b386ae1576fa8df | [] | 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 | 341 | sce | Ex4_5.sce | // chapter 4 , Example 4.5 , pg 119
m=0.04//mass(in Kg)
v=1000//speed(in m/sec)
h=6.625*10^-34//plancks constant(in J s)
p=m*v//momentum(in kg m/sec)
lam=h/p //wavelength
printf("de Broglie wavelength(in m)\n")
disp(lam)
printf("de Broglie wavelength(in A)\n")
disp(lam*10^10)
//calculation is done assum... |
29d3add3add7ba4352842a995a6954ad27ea376a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH3/EX3.11/EX3_11.sce | 32725d46d3dc945d4f9e5e0243702f0eff8844d5 | [] | 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 | 771 | sce | EX3_11.sce | //Chapter 3, Example 3.11, page 98
clc
//Initialisation
h=12.5*10**-2 //in meter
d1=10*10**3 //in meter
d2=15*10**3 //in meter
d3=12.5*10**3 //in meter
d4=12.5*10**3 //in meter
h=1.25 //in Kilometer
//Calculation
r1=(((d1*d2)/(... |
53df83ed86255b2a068308045c58ca9dc4794b8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH10/EX10.7/10_7.sce | a06b071d8eee6ee593583e1625ea585a49e392d9 | [] | 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 | 317 | sce | 10_7.sce | clc
//initialisation of variables
k1= 6*10^6 //lb in/rad
k2= 3*10^6 //lb in/rad
k3= 2*10^6 //lb in/rad
T= 10000 //lb in
//CALCULATIONS
ke= 1/((1/k1)+(1/k2)+(1/k3))
angle= T*180/(ke*%pi)
//RESULTS
printf ('equivalent spring constant= %.2e lb in/rad',ke)
printf ('\n angle of twist d/a=%.2f degrees',angle)
|
f1ba1400b8bb15ad32e8ed81632f4a7a9c051222 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH8/EX8.8/ex8_8.sce | 964929be86bb25230e803576e5a3b527149d45c4 | [] | 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,618 | sce | ex8_8.sce | clc;
TL=-15; // Source temperature in degree celcius
TH=40; // Sink temperature in degree celcius
// From the table of properties of Freon - 12
h3=74.53; h1=180.85; h4=h3; // specific enthalpy in kJ/kg
s1=0.7046; s2=0.682; // specific entropy in kJ/kg K
// (a)
// (i).Condensor and Evaporator pres... |
a1d8e826bbafe7979b5ecfbfa97df8cb35a1d0c6 | 717ddeb7e700373742c617a95e25a2376565112c | /854/CH12/EX12.5/Example12_5.sce | 78b55712344b271afc0c990d3dc58c6d8fc90741 | [] | 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 | 934 | sce | Example12_5.sce | //clear//
//Caption:Program to find the attenuation constant,propagation constant and intrinsic impedance
//Example12.5
//page412
clc;
f = 2.5e09;//high microwave frequency = 2.5GHz
er1 = 78;//relative permittivity
er2 = 7;
C = 3e08; //free space velocity in m/sec
[uo,eo] = muo_epsilon(); //free space permitti... |
39fc4bceb7975f5478090de5c0c5027f6db15544 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH12/EX12.6/12_6.sce | 00bf91d7e393c5e4af8a78510a94104ab06ce624 | [] | 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 | 137 | sce | 12_6.sce | clc;
// page no 415
// prob no 12_6
B=3*10^3;SNR_dB=30;
SNR_power=10^(30/10);
C=B*log2(1+SNR_power);
disp('b/s',C,'Shannon limit'); |
f34584d85369ee9ddbcd665ab72ff02da2ca1de8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1910/CH6/EX6.1/Chapter61.sce | 2b38764d9ae87bf75b3f51b958a5510ad292b85d | [] | 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,508 | sce | Chapter61.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Introduction to heat transfer by S.K.Som, Chapter 6, Example 1")
//Oil of specific gravity 0.90 and dynamic viscosity (mu=0.1Pa*s) flows between two fixed plates kept 2*b=10mm apart,So b=5mm.
//The average veloci... |
9809778c5eb25df6d6157f50daffb88fdfb3b7dc | d422d2bd9c82ca6a247ec578514ee6d3b5fa48b7 | /local/lctrs/lssn_2/import.sce | 1e7fffd27695432fa00fd5cbb7a2b38deb3ba673 | [] | no_license | kirillin/python_ev3 | bee3d9682f848b188d6c3b967f37dfc5a4aa3080 | 58c34ad11588bdc05e53a8466d6a12fe2c1a6ab2 | refs/heads/master | 2020-08-04T22:52:07.665251 | 2017-01-06T15:17:10 | 2017-01-06T15:17:10 | 67,629,534 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | import.sce | clear;
angle = 10;
importXcosDiagram("/media/data/evo/python_ev3/local/lctrs/lssn_2/test_to_ws.zcos");
xcos_simulate(scs_m, 4);
plot(A.time, A.values);
a = gca();
a.children.children.thickness = 3;
xs2png(0, "/media/data/evo/python_ev3/local/lctrs/lssn_2/text.png");
|
d983f49d03866a67c3ed12ea7ecff18a4b65af2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH8/EX8.5/Ex8_5.sce | 2b0aad6d68531ae9d73eb15ee6b68b870966e989 | [] | 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 | 713 | sce | Ex8_5.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 8.5
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
lambda0=1300e-9;//operating wavelength of single mode fiber in m
omega=5e-6;//spot size of fiber in m
n1=1.45;//refractive index of core
n2=1.... |
01395f27c016adb7f51071e7125b41722490e9d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH18/EX18.4/18_4.sce | 8ecabd9cae15f12d82618340de5b5c9d9f4ee41d | [] | 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 | 532 | sce | 18_4.sce | //chapter 18
//example 18.4
//page 575
clear;
clc ;
//given
PD=360;//power dissipation in mW
RBBmin=4;//kohm
RBBmax=12;//kohm
//to get lowest value of VB1B2,use RBBmin
VB1B2max=sqrt(RBBmin*PD);
printf("\nFor 25 degree,value of VB1B2=%d V",ceil(VB1B2max));
VB2E=30;//maximum emitter reverse voltage
printf("\nAt 25 degree... |
178ccc728a15a765c90cda20078a947eddb1d04d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH3/EX3.7/Ex3_7.sce | e83a902307f656c61ea6fd05407bb07515536ee2 | [] | 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 | 848 | sce | Ex3_7.sce | //chapter-3 page 50 example 3.7
//==============================================================================
clc;
clear;
Z0=50;//Characteristic Impedance in ohms
S=3.2;//Voltage Standing Wave Ratio(VSWR)
//It is possible to measure the load impedance if the line is assumed lossless,by measuring the VSWR,w... |
bf0a5e257d15edd95a1c2d7ced0d7f103041e572 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH3/EX3.8.b/Solved_Ex3_8b.sce | 9b1661b608d34d7cfe5748bf0c007bb2f7642719 | [] | 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 | 383 | sce | Solved_Ex3_8b.sce | //X=L(x(t))->find initial value,x(0) and final value,x(inf) using initial and final value theorem
clc;
clear;
s=poly(0,"s");
X=(s+1)/(s.^2+2*s+2);
X=s*(X);
xinf=horner(X,0);
disp(xinf,'x(inf) by final Value theorem:');
x0=(1+1/%inf^2)/(1+2/%inf+2/%inf^2);//directly putting and dividing Numerator and Denominator... |
b03c73f2ebe88544038883cbed5e1430b25a4ead | bd4a88a5c028a801cbf0e414d2630de1c1e35449 | /scilab/SaveVars2.sce | 580166cc9c4456f103e3277467e0df7a009a11e9 | [] | no_license | edielsonpf/turning-signal-analysis | 625783cea26b029c87925f96af4ac14aa38c8ae8 | 2fd594e79395caa72f5cebc378878367ff0e7f01 | refs/heads/master | 2021-03-13T00:01:23.673430 | 2018-12-24T14:44:39 | 2018-12-24T14:44:39 | 41,508,152 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,423 | sce | SaveVars2.sce | setups = [
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
'vc=186,f=0.15,ap=0.15'
... |
680abffadf706740fa438b00bed45f1382ff789b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.23.b/23_b.sce | 6bc1b9b3b2651ce637dbc6284d900ced369d9220 | [] | 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 | 831 | sce | 23_b.sce | //BCD to decimal conversion//
//Example 23.b//
//subtraction using 2's complement//
clc
//clears the console//
clear
//clears all exisiting variables//
a=100001001111000;//taking the BCD input//
z=0;
d=modulo(a,10000)
for j=1:4
y(j)=modulo(d,10)
z=z+(y(j)*(2^(j-1)))
d=d/10
... |
a3b484bcd429a18929b7e0f7087db37cc0120135 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH7/EX7.2/Ex7_2.sce | c17b48f8dd59b317a440b8bed02bf040b2474415 | [] | 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 | 180 | sce | Ex7_2.sce | clear
//Given
V=230 //v
P=100
t=20*60
V1=115 //V
//Calculation
R=V**2/P
E=(V1**2*t)/R
//Result
printf("\n Heat and light energy is %0.3f J", E)
|
06f19aede76112431e4edabe05e667ddd987e458 | d422d2bd9c82ca6a247ec578514ee6d3b5fa48b7 | /local/lctrs/lssn_3/motor_ind.sce | 3fcbe73a554132a0faae84ac87e75cedf444832d | [] | no_license | kirillin/python_ev3 | bee3d9682f848b188d6c3b967f37dfc5a4aa3080 | 58c34ad11588bdc05e53a8466d6a12fe2c1a6ab2 | refs/heads/master | 2020-08-04T22:52:07.665251 | 2017-01-06T15:17:10 | 2017-01-06T15:17:10 | 67,629,534 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | motor_ind.sce | clear;
function e = G(a, z)
e = z(2) - a(1)*z(1) - a(1)*a(2)*exp(-z(1)/a(2)) + a(1)*a(2);
endfunction
path = "/media/data/evo/python_ev3/local/lctrs/lssn_3/";
data = read(path + "data.txt", -1, 2);
time = data(:,1);
time = time -time(1);
data(:,2) = data(:,2) * %pi / 180;
angle = data(:,2);
a0 = [1; 20];
[aa, e... |
d46078738ef5d55dc22816dbc6d4930e2c4c5d65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH3/EX3.13/Ch03Ex13.sce | 0da6afe641649f0f585be09e93dafd669c55e441 | [] | 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,799 | sce | Ch03Ex13.sce | // Scilab Code Ex3.13: Page-93 (2006)
clc; clear;
k = 1.38e-023; // Boltzmann constant, J/K
h = 6.626e-034; // Planck's constant, Js
A = cell(4,5); // Declare a matrix of 4X5
A(1,1).entries = 300;
A(1,2).entries = 0.878e+010;
A(1,3).entries = 0.483e+010;
A(1,4).entries = 0.448e+010;
A(2,1).entries = 200;
A(... |
d245215e6b4647d4443873ab6525034d142e7699 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH5/EX5.6/Ex5_6.sce | a6d3219e044bbbae36641546c28d9999323ba50c | [] | 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 | 245 | sce | Ex5_6.sce | ////Given
t=10.0**-12 //s
h1=1.054*10**-34
h=6.625*10**-34
//Calculation
E=h1/t
v=E/h
//Result
printf("\n uncertainity in energy is %e J",E)
printf("\n uncertainity in frequency is %e Hz",v)
|
498875d9c55078a906efc512913143336b898f24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH12/EX4.19/Ex12_19.sce | cf3903d667f9e24855443511a0a1831e23743af2 | [] | 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 | 405 | sce | Ex12_19.sce | //Part B Chapter 4 Example 19
clc;
clear;
close;
d=16;//cm
As=%pi/4*d^2;//cm
D1=poly(0,'D1');
D2=poly(0,'D2');
deltaD=As/(%pi/4);//(let deltaD=D1^2-D2^2)
//USS=1.2*USH
//USS=(D1^2+D2^2)/D1^2*USH
D2BYD1=sqrt(0.2);
D1=sqrt(deltaD/(1-D2BYD1^2));//cm
D2=D2BYD1*D1;//cm
disp("Outer diameter of hollow shaft is "... |
b80bc47110b2cf5adc34349348409a772ec6e8a5 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/trainSVMClassifier.sci | a288163986df43d5ff5887db93f5f61676b03955 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 5,494 | sci | trainSVMClassifier.sci | // Copyright (C) 2015 - 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_... |
d2fe9aff1c1012c4f2e8432fbc21dcdd542d79b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH4/EX4.4/Ex4_4.sce | 92cd2c1915b0337b94a1cb90d9e7bff829a9bbb2 | [] | 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,186 | sce | Ex4_4.sce | // Book - Power System: Analysis & Design 5th Edition
// Authors - J. Duncan Glover, Mulukutla S. Sharma, Thomas J. Overbye
// Chapter - 4 : Example 4.4
// Scilab Version 6.0.0 : OS - Windows
clc;
clear;
f = 60; // Frequency of the Three Phase Line in Hz
Q ... |
99f7360222600aeecf8bf28f1578e407a78347b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH11/EX11.2/recursion_ex1.sce | aca7983036849ef7e6dc3ec8972f1c4635ed75cf | [] | 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 | 285 | sce | recursion_ex1.sce | // Recursive computation of Ej and Fj for the system presented in Example 11.2 on page 408.
// 11.2
exec('poladd.sci',-1);
exec('polsize.sci',-1);
exec('recursion.sci',-1);
C = [1 0.5]; dC = 1;
A = [1 -0.6 -0.16]; dA = 2;
j = 2;
[Fj,dFj,Ej,dEj] = recursion(A,dA,C,dC,j)
|
de9b5daa714eb1353aec06f5724d04e4b3ebcf65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH4/EX4.16/Ex_4_16.sce | a8832c8ae679dd94bdc793161fb342c27af8b077 | [] | 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 | 418 | sce | Ex_4_16.sce | //Example 4.16
clc;clear;close;
z=poly(0,'z');
x1=[1 2 3 4];n1=0:length(x1)-1;
X1=x1*(z^-n1)';
x2=[4 3 2 1];n2=0:length(x2)-1;
X2=x2*(z^-n2)';
X2_=x2*(z^n2)';
X3=X1*X2_;
l=coeff(numer(X3));
x3=l(:,$:-1:1);
disp(X1,'x1(n)={4,-2,1} X1(z)=');
disp(X2,'x2(n)={4,-2,1} X2(z)=');
disp(X3,'Z transform of cross c... |
24a794b9ccfe7e9862f0c9846e55cf973280ceed | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_thresh_tozero.sci | b2672ed040e26c97e7030fbe541de647c4e642e9 | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sci | cv_thresh_tozero.sci | function[img_ret]=cv_thresh_tozero(image)
pyImport simple_thresholding
img_ret=simple_thresholding.thresh_tozero(image)
endfunction |
916318a6e6b17dd4744f4bf2edb030256d52c6df | 4ebea1be375a38f07d1b8536e25cd91584882389 | /src/test/example020.tst | 928e4843bd6e5bf4dd828fc3fcfec45f367e2eaa | [
"MIT"
] | permissive | robertsmeets/rjhg-pl | f5c2d850ba7a5e3daa0d4147357d37a275c7100a | 87721b77f92d5180c34123265fac70dcf54c77a9 | refs/heads/master | 2021-05-22T06:46:14.395448 | 2021-02-21T05:54:35 | 2021-02-21T05:54:35 | 32,521,807 | 1 | 1 | MIT | 2020-05-17T16:48:51 | 2015-03-19T13:07:49 | C | UTF-8 | Scilab | false | false | 24 | tst | example020.tst | 11
22
33
44
55
66
77
88
|
0baa244b0755af203b3e4431e74677c39a190731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.8/Chapter7_Example8.sce | 40cae37a6672cce8c0837ca20b553341e17391c3 | [] | 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 | 861 | sce | Chapter7_Example8.sce | //Chapter-7, Example 7.8, Page 296
//=============================================================================
clc
clear
//INPUT DATA
D=0.3;//Diameter of cylinder in m
L=1.7;//Height of cylinder in m
Ts=30;//Surface temperature in degree C
v=10;//Speed of wind in m/s
Ta=10;//Temperature of air in degree ... |
eccc7fa56c76ed234e81032e4c52fa0b6cbe7135 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/4/tests/test2.tst | c5103ac774211a108d615eedbeaf7c20043ac759 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53 | tst | test2.tst | type t1 = int;
main()
{
var a : t1;
a[1] = 1;
} |
43ab36b1a7a8e945ae38f443178cdadff74e5fb9 | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /sci_gateway/cpp/loader.sce | 0c9ab68dcad16650b454811ca58d7d3c2c6c495e | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 906 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
if ~win64() then
warning(_("This module requires a Windows x64 platform."));
return
end
//
scipanda... |
1d883bb89b0e97805cd9eb04a02ee600e392779d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH4/EX4.14.b/4_14b.sce | f02356ac23b005277ee5c35fbcd649d315b7dcd4 | [] | 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 | 275 | sce | 4_14b.sce | clc
clear
//Initialization of variables
de=4 //in
T=1000 //lb
g=32.2 //ft/s^2
vele=8.5 //lb/s
pe=16.5 //psia
pa=14.7 //psia
pa2=1 //psia
//calculations
Ae=%pi/4 *de^2
Ve= (T-(pe-pa)*Ae)*g/vele
T2=vele/g *Ve + (pe-pa2)*Ae
//results
printf("Thrust = %d lb",T2)
|
831ca42009b1cf6e8dfaf157df126e37cfb1729e | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH7/EX7.17/7_17.sce | dd36f6010ca75faff383a72848d5109bf35a94c5 | [] | 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 | 760 | sce | 7_17.sce | //pathname=get_absolute_file_path('7.17.sce')
//filename=pathname+filesep()+'7.17-data.sci'
//exec(filename)
//Initially:
//Pressure(in bar):
p1=1.5
//Temperature(in K):
T1=60+273
//Finally:
//Pressure(in bar):
p2=2.5
//Temperature of the reservoir(in K):
Tres=400+273
//Temperature of surroundings(in K):
... |
cc1229568d057e4014e894e7f49b827c62b73708 | 494b677053e1199325a80808377463794e1003e5 | /experiments/sia-c/results/Ignore-MV.SIA-C.vehicle/result6s0.tst | 7f459728091a9e9c6f4d1341feb108c227b7bbfb | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,858 | tst | result6s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.