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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9df1dc10fc74cb51774cb1b4cc5d9d7f34003774 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH20/EX20.3/ex20_3.sce | 60737d93622e898c8cba3c5a698dd19668a779a5 | [] | 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 | 198 | sce | ex20_3.sce | // Example 20.3, page no-569
clear
clc
t1=4.2
t2=7.18
h0=6.5*10^4//A/m
he=h0*(1-((t1^2)/t2^2))
r=0.5*10^-3
I=2*%pi*he*r
printf("The critical current through a wire of lead is %.2f A",I)
|
bc681e8e648b1d81fe16f0adcfffd11e0fd141ec | b3a9b289e5f7ef0e6a266cfb5f070b2bcd360fc2 | /CartCyl.sci | 66b7c9550afa83c665a4ba2b8ee06dd5e198c777 | [] | no_license | nicoinsatoulouse/Projet | 7cc0c49e8c8d760a3a804fdc91e549240a6439b3 | 6817a37657ebbf9f74d4d24dbde199bb25fb7597 | refs/heads/main | 2023-05-05T18:59:31.953083 | 2021-05-25T08:18:56 | 2021-05-25T08:18:56 | 345,955,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sci | CartCyl.sci | function rtheta=CartToCyl(xy)
// Cartésiennes à polaires
theta = atan(xy(2), xy(1))
r = norm(xy)
rtheta = [r, theta]
endfunction
function xy=CylToCart(rtheta)
// Polaires à cartésiennes
x = rtheta(1)*cos(rtheta(2))
y = rtheta(1)*sin(rtheta(2))
xy = [x, y]
endfunction
|
8ea5094ac882756524a18017f14edcbe9145ecfd | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kSetEncoders.sci | eaca9e65c775c8b6e6be2a39f2893ff0ba31afcc | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sci | kSetEncoders.sci | function [r] = kSetEncoders(ref,left,right)
// Ouput variables initialisation (not found in input variables)
r=[];
// Number of arguments in function call
[%nargout,%nargin] = argn(0)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//KSETENCODERS Set the encoder values of Kheper... |
c515da4177a09d56706efd01503fb6f78192be09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH2/EX2.12/ex2_12.sce | 97cded441b32c86a2adc09c9149e484383cb70ac | [] | 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 | 378 | sce | ex2_12.sce | // Example 2.12, page no-43
clear
clc
e=0.6 // eccentricity of elliptical orbit
a=0.97 // area of shaded region
b=2.17 //Area of non-shaded region
t=3 // time taken by satellite to move from pt B to A
x=b/a
y=x*t
printf("Time t... |
2cb88f5853b933138184b82f4d2a717e8379c2cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH7/EX7.7/Ex7_7.sce | ad718ea2b66094625ab5760a32de0357540ea416 | [] | 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 | 940 | sce | Ex7_7.sce | //Ex7_7
clc
AV=50000
disp("AV="+string(AV)) // Voltage gain
Ri=50*10^(6)
disp("Ri= "+string(Ri)+ " ohm") //Input resistance of OP-AMP
R0=1*10^(3)
disp("R0= "+string(R0)+ " ohm") //Output resistance
AVf=10
disp("AVf="+string(AVf)) // Overall Voltage gain
RSf=50*10^(3)
disp("RSf= "+string(RSf)+ " ohm") //... |
8f27fb83cb476f900d8834888dac919013bf4752 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH6/EX6.1/1.sce | 54a125519680a20757d50640649c446fb7961521 | [] | 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 | 193 | sce | 1.sce | clc;
Q=5000/3600/24; // m^3 per second
C_d=0.6;
r=0.01/2; // m
g=9.8; // m/s^2
H=0.2; // m
a_o=%pi*r^2;
n=Q/C_d/a_o/sqrt(2*g*H);
disp("The number of orifices required are")
disp(n); |
adabf6dc71ce406b73db6084b8d9d7469c0f2f84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.22/11_22.sci | 6ead11ff4a3dd656c73844fbfb5286bf223e307e | [] | 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 | 311 | sci | 11_22.sci | //value//
s=%s;
num=real(poly([1],'s',"coeff"))
den=real(poly([-1,-2+%i,-2-%i],'s'))
H=num/den
evans(H,100)
k=1.5;
disp(k,"K(design)=")
//Kpure calculates the value of k at imaginary crossover
[K,Y]=kpure(H)
GM=K/k;
disp(GM,"value of k at imaginary crossover/k(design)=")
disp(GM,"gain margin=")
|
ee04fc2e6fa278900f0bae547b15ba26ad412d9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH19/EX19.1/ch19_1.sce | ebcea34d78f155f0400119d2aa2ad04a361f2a54 | [] | 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 | ch19_1.sce | // To Determine the economic operating schedule and the corresponding cost of generation.(b)Determine the savings obtained by loading the units.
clear
clc;
//dF1/dP1=.4*P1+40 per MWhr
//dF2/dP2=.5*P1+30 per MWhr
mprintf("two equations are :\n");
mprintf("%.1f P1 %.1f P2 = %.1f\n",.4,-.5,-10);
mprintf("%.1f P1+ ... |
ba066c327f066308e3b5015b57e81c538bb7e863 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.2/Ex1_2.sci | 815f589c5c5cd4e47fde89472a55dbd460a83919 | [] | 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 | 262 | sci | Ex1_2.sci | //Chapter 1,Example 1.2,Pg 1.10
clc;
l=2000*10^3 //length of the cable in metres
d=0.7*10^-2 //diameter of the cable in metres
p=(1/58)*10^-6 //ohms per m for 1sq mm cross sectional area
A=(%pi*d^2)/4
R=(p*l)/A
printf("\n Resistance = %.2f ohms \n",R)
|
4c0801cc575957d0d0713999dd6397478029913e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH8/EX8.a.14/Example_a_8_14.sce | e1c4ead7dc7d5c42319bd9b327c1b5e31563d580 | [] | 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 | 423 | sce | Example_a_8_14.sce | //Example_a_8_14 page no:334
clc;
fr=120*10^3;
BW=50*10^3;
Q=2;
f1f2=sqrt(fr);
f=poly([-14.4*10^9,50000,1],'f1','c');
fre=roots(f);
f1=fre(2);
f1=f1/1000;//converting to killo Hz
f2=BW+f1;
f2=f2/1000;//converting to killo Hz
disp(f1,"the lower cutoff frequency is (in kHz)");
disp(f2,"the upper cutoff frequ... |
a3826a7a0ac519f35d42f83049c5aa12f87972a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH5/EX5.4/Example5_4.sce | 7e4395265564ac493576d0bb3392d95eb76f7403 | [] | 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 | 983 | sce | Example5_4.sce | //Polynomial Interpolation: Divided Differnce form
clc;
clear;
close();
format('v',8);
x = [1 1.5 1.75 2];
fx = [0 0.40547 0.55962 0.69315];
fab(1) = (fx(2)-fx(1))/(x(2)-x(1));
fab(2) = (fx(3)-fx(2))/(x(3)-x(2));
fab(3) = (fx(4)-fx(3))/(x(4)-x(3));
fabc(1)= (fab(2)-fab(1))/(x(3)-x(1));
fabc(2)= (fab(3)-fab(2... |
622bfe088f5ea2a29041361c86dd13582d25c162 | 8965236683cecafded4c307c22f5b917ce36263f | /java-src/simulation/Greenfoot/users/User1/thursday.tst | 21874467384884e53177c2130d1e1c7f187ab796 | [] | no_license | artagesw/FROIDZ | 67f484f6938fd16cb9e2e0aa7770b67dbfba2041 | 9498ba04651cc30053274f622d43ae20b03524f6 | refs/heads/master | 2016-09-06T13:50:26.181686 | 2012-05-21T22:59:49 | 2012-05-21T22:59:49 | 3,656,428 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | tst | thursday.tst | 0100 0011 0000 0000 0001 0001 0110 0100
0100 0110 0000 0000 1001 1100 0001 0001
0100 0011 0000 0000 0001 0000 1100 1000
0100 0001 0000 0000 0000 1100 0001 0000
0101 0011 0000 0000 0000 0000 0000 0000 |
631c363b8b426cdf2b2040240420771fc1258608 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.11/example5_11.sce | 4bee916197e62b91a40e7b72ecbe53f62b8ce814 | [] | 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 | example5_11.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.11
// Page 225
printf("Example 5.11, Page 225 \n \n");
// solution
// (a)
Pc = 61.37 // bar
Tc = 514 //K
Tb = 351.4
P = 1 // atm
TBr = Tb/Tc
// Riedel eq
lambdav1 = 8.314472*Tb*1.092*(log(6137)-5.6182)/(.930-TBr)
// NI... |
122378650e3fe9c0d818a2d223c9733b41cf66ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH1/EX1.6/Ex1_6.sce | 910aa0cb9c3d766506bf1c5be15b9168515a0101 | [] | 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 | 417 | sce | Ex1_6.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 1.6
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
v0=1.1e15;//threshold frequency of light in Hz
e=1.6e-19;//charge of electrons in C
h=6.62e-34;//Planck's constant in SI Units
phi=h*v0/e;//work func... |
99378c17e565ac095141769e3b01b4e337d29ce7 | b602f16275ae13b51d284e411b450ffad2d9a6fb | /Sean-init.sci | b4c7284f91e124704c232497b0c95596cb763af1 | [] | no_license | panchuanbo/Ecology-Simulations | abedc8388d6111902e34ef3e6aa852f2f36f0bd1 | fb26667424d2b3fef4b99d7e316e6032064c8bf2 | refs/heads/master | 2020-04-28T10:24:28.749386 | 2013-06-23T23:48:56 | 2013-06-23T23:48:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sci | Sean-init.sci | function A = init(n)
for i=1:n
for j=1:n
//changes 4's to 5's to incorporate red color
if modulo(i+j,4)+1 == 4 then
A(i, j) = 5;
else
A(i,j)= modulo(i+j,4)+1
end
end
end
endfunction
|
e76fec377e033d3e3d54e20e70b2862b8642c38d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH3/EX3.4/ex3_4.sce | eaec31ef373ce91a06971e66f71970071fd41d28 | [] | 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 | 296 | sce | ex3_4.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w1=8//lbf
s=3//ft
m=35//lbf
g=32.2//ft/s
//CALCULATIONS
U=sqrt(g*s)//ft/s
T=w1+w1//lbf
P=m-w1//lbf
Umax=sqrt(P*g*s/w1)//ft/s
//RESULTS
printf('the centrifugal force=% f ft/s',Umax)
|
d641e267a200d26749f4617c6cb72b36d68d57ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH6/EX6.7/Ex6_7.sce | a66165f05028bf4575c99b1029e5ecd965c78793 | [] | 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 | 525 | sce | Ex6_7.sce | // Ex6_7 Page:105 (2014)
clc;clear;
l = 1; // Orbital angular momentum quantum number
m = [1, 0, -1]; // The possible z-components of l
printf("\nThe possible orientations of vector L with respect to the z-axis are:");
for i = 1:3
theta = acosd(m(i)/sqrt(l*(l+1)));
printf("\ntheta = %d degree (m = ... |
f4d1d80e4861354d5b15015d291966d00e726b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH9/EX9.9/Ex9_9.sce | 1909cc4316c51dbf374140bde8f7145a0045dff1 | [] | 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 | 433 | sce | Ex9_9.sce | //Ex9_9
clc
Vp = -4//pinch off voltage
VGS = -1.5//gate source voltage
VDS_minimum = VGS - Vp//minimum VDS for Pinch Off voltage
disp("Vp = "+string(Vp)+"V")
disp("VGS = "+string(VGS)+"V")
disp("VDS_minimum = VGS - Vp = "+string(VDS_minimum)+"V")
IDSS = 6*10^-3//maximum drain current
ID = IDSS*(1-(VGS/Vp))^2//... |
c1c91af950ff64fa7cf3c9012abb3e8cbed94188 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/Chi-RW-C/results/Chi-RW-C.vowel-10-1tra/result3.tst | c11c31aaee9a88271cbcd27d427c562d170b7ee3 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 968 | tst | result3.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
863cf0a00bfbc2faaf88744755afec72d43d199f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.6/Ex7_6.sce | fc66236e49881f46512ca6537f7fb43d60718a98 | [] | 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 | 836 | sce | Ex7_6.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 6")
To=(30+273);//temperature of surrounding in K
W=1050;//work done in engine in KJ/kg
Cp=1.1;//specific heat at constant pressure in KJ/kg K
T=(800+... |
d6eaf1335370c4de945983345d2530e32e0a55e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH6/EX6.8/6_8.sce | e37a6e123ff862523281a7911a4af2ffd336fdfa | [] | 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 | 644 | sce | 6_8.sce | clc;
clear;
//Example 6.8
mf_dot=6000 //Feed rate in [kg/h]
//Taking the given values from previous example(6.6)
Hf=125.79 //[kJ/kg]
ms_dot=3187.56 //[kg/h]
lambda_s=2230.2 //[kJ/kg]
Hdash=419.04 //[kJ/kg]
Hv=2676.1 //[kJ/kg]
mv_dot=(mf_dot*Hf+ms_dot*lambda_s-60... |
b30da55718c94b6035bd8e32f9a8e4402a8b186a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.3/ex_2_3.SCE | 3f19ad3190c96ab52ae737502c2c9e671934cbc4 | [] | 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 | 282 | sce | ex_2_3.SCE | // Example 2.3: Calculate base current and collector current
alfa= 0.967;// Common base D.C. Current Gain
Ie= 10;//in Milli Ampere
Ic= alfa*Ie ; // Collector Current
Ib=Ie-Ic;// Base Current in Mili Ampere
disp(Ic,"collector current (in mA)")
disp(Ib,"base current (in mA)")
|
305f290e96f830c91c7ae199e25d0b95648995da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH13/EX13.11/13_11.sce | 2f35907df49067badfba13590e88e1a3941ca8cd | [] | 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 | 225 | sce | 13_11.sce | clear
clc
G1=50
H1=8
G2=100
H2=4
Gb=100
Ha=(H1*G1/Gb) + (H2*G2/Gb)
mprintf("\n(a)Ha= %d MJ/MVA", Ha)
Hb=Ha*2
mprintf("\n(b)Hb= %d MJ/MVA", Hb)
He= (Ha*Hb)/(Ha+Hb)
mprintf("\n(c)He= %.3f MJ/MVA", He)
|
1577f6359b20358ecc5ecd51683dfd024b275b1e | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0023.tst | 101afb0401c30e1ab1de9b561720bb70c53482be | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 189 | tst | 0023.tst | sPLITTER h {}
filTEr w { not iN s }
FIlteR c {Z }
z -> adP
gRoUper Y {MoDULE z{ } agGrEGatE min(O.Z) As Mw ,YUU.G }
UNGroUpEr Z { }
GRoUPfilTeR rBL {}
MERGER Cbw { EXporT Km } |
fe3797af317529fd9a65282deb79430311289340 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH4/EX4.10/Ex4_10.sce | 0f517e804040de9e3666112c7b0872e39bee4242 | [] | 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 | 336 | sce | Ex4_10.sce | //Example 4_10
clc();
clear;
//To calculate the percentage of volume
r1=1.258 //units in meters
r2=1.292 //units in meters
v1=((4*r1)/sqrt(3))^3/2
v2=(2*sqrt(2)*1.292)^3/4
v=(v1-v2)/v2*100
printf("The percentage of volume changed during this structural chan... |
f4baa1bfe8400845cfa365f1c6e60b2e6dc36855 | 81a5c9fb4452c596031b1d529ea71e53e423de8d | /func1.sce | 28fd07ff9a32f4b65d2aec85da744849c302b734 | [] | no_license | thevinitgupta/scilab | b9d6b31b27bd3192d3713470c4a51da080d6a572 | c0aa61b0463c3501d43b73fdec07b9dc7fc27b21 | refs/heads/main | 2023-03-22T07:49:10.980286 | 2021-03-12T13:32:10 | 2021-03-12T13:32:10 | 346,394,901 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | func1.sce | // Name - Vinit Gupta
//
// Date of creation: 10 Mar, 2021
//
function y = fn(x)
y = x+1
end
|
1f99cbe423e40e76b616aba385ffb11b1221b5a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH15/EX15.4/Ex15_4.sce | 2046a1c3e893cda69b8efb30d1b220afc0cbfef4 | [] | 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 | 321 | sce | Ex15_4.sce | clear
//
//Initialisation
Ic=2 //sinusoidal Current
C=10*10**-3 //Capacitance
w=25 //Angular Frequency
//Calculation
Xc=1/(w*C) //Reactance
Vc= Ic*Xc //Voltage
//Result
printf("\n Voltage appear across the capacitor, V = %d V r.m.s",Vc)
... |
7bcd351af6eb87f2c98ca71943afd2edc60084ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH16/EX16.2/CH16Exa2.sce | 3d957caed288cf093229a5c7870eb1ce2471dc13 | [] | 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 | CH16Exa2.sce | // Scilab code Exa16.2 : : Page-673 (2011)
clc; clear;
BC_conv = 100*1e+009/3.7e+10; // Becquerel curie conversion, milli curie
printf("\n100 mega becquerel = %3.1f milli curie ", BC_conv)
// Results
// 100 mega becquerel = 2.7 milli curie |
6dfc08ae9112fd7219cd6714a0fa76a07033e151 | b7a19323e17ceac9d22a1559fbb3e7d61795fd21 | /Systemy Inteligentne 2/Projekt 4/proj_dane_1.tst | 801e66c88019ff98c869ac1e62db73e740e4970d | [] | no_license | kameshi/STUDIA | 61f53f5722b108a70c862ce6b889a3e890bd8a7f | 11dfad719ed6d409c1e40033e65727f20a0f0a52 | refs/heads/master | 2021-05-11T15:36:57.854563 | 2018-01-16T00:21:56 | 2018-01-16T00:21:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,392 | tst | proj_dane_1.tst | we we wy
x1 x2 #d
-9,822 9,322 Klasa1
-8,678 8,094 Klasa1
-7,2 6,669 Klasa1
-6,118 5,343 Klasa1
-4,89 4,409 Klasa1
-4,058 3,107 Klasa1
-3,101 2,493 Klasa1
-2,185 1,658 Klasa1
-1,373 0,528 Klasa1
-1,831 -0,405 Klasa1
-3,205 -1,977 Klasa1
-4,079 -2,739 Klasa1
-5,452 -3,009 Klasa1
-7,949 -3,058 Klasa1
-9,469 -3,034 Klasa1... |
24732564806c77eb858f95357ed8882797e03ce7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH2/EX2.6/2_6.sce | d5f17b40532f609218ebab882564dac4b35f4bca | [] | 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 | 721 | sce | 2_6.sce | clear;
clc;
Zoc=286*exp(%i*(-%pi/(180/40)));Zsc=1520*exp(%i*(%pi/(180/16)));l=50;f=700;
w=2*%pi*f;
Zo=sqrt(Zoc*Zsc);
S=real(Zo);
T=imag(Zo);
printf("-Characteristic impedance of transmission line is Zo = %f /_ %f ohms\n",round(abs(Zo)*100)/100,atan(T,S)*180/%pi);
A=atanh(sqrt(Zsc/Zoc));
P=A/l;
U=real(P);
V=i... |
7cdb2344326ae9b3b5662568fa6bb6a928e17566 | 9302f49be6fdfde3637ce743435bd9ce524c165f | /squelette/src/diff/my_cholesky.sce | 74696a1ec42d9ffe2161043dec19232e6e27f6dd | [] | no_license | OmarBenchekroun99/simu_ecoulement_fluide | 8eaf0ff7798c929c2eaf5c0c544664f4d80069aa | c5566d4f87428c10f4bf27037b4a28eaed8eb00c | refs/heads/master | 2020-08-07T01:03:10.012702 | 2019-10-06T19:38:54 | 2019-10-06T19:38:54 | 213,231,718 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,356 | sce | my_cholesky.sce |
function [A]=cholesky_fact(A)
// retourne la matrice triangulaire inférieure L tel que A = L.tr(L)
n = size(A)(1)
L = zeros(n,n)
L(1,1) = sqrt(A(1,1))
for j = 2:n
L(j,1) = A(1,j)/L(1,1)
end
for i = 2:n
somme1 = A(i,i);
for k = 1:i-1
somme1 = somme1 - L(i,... |
6440d16dc660b72ecb7579077c79b549c04e0404 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.abalone-10-1tra/result9s0.tst | 624f9b07db045a18f03ded129b5df9d185b5bdb0 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,402 | tst | result9s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
06ee8bb5c325dd29d69d2af246c7f88af98cb14e | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.5/exa7_5.sce | 307f1d35612f4f8417c4589f8a67d4aa0a272a51 | [] | 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 | 650 | sce | exa7_5.sce | // Example 7-5
// Bode Plot in rad/s
clear; clc;
xdel(winsid()); //close all windows
s = %s;
num = 25;
den = s^2 + 4*s + 25;
G = syslin('c',num,den);
bode(G);
xtitle('Bode plot of G(s) = 25 / s^2 + 4*s + 25');
// Note, bode plots in Sci-Lab use the frequency in Hz and not in
// rad/s . If we wish to get the plot w... |
ddf948f1eaaf94805b3e7f4afbcce15a85018399 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH1/EX1.14.6/Example1_14_6.sce | 627ff59e633fc9a56a77fa406a840969f44a00bb | [] | 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 | 570 | sce | Example1_14_6.sce | //Example 1.14.6 page 1.46
// To find Numerical Aperture, solid acceptance angle, and number of modes.
clc;
clear;
V= 26.6; // Normalised frequency..
lamda= 1300*10^-9; //wavelength of operation..
a= 25*10^-6; // radius of core..
NA = V*lamda/(2*%pi*a); //Numerical Aperture..
printf('The ... |
3dfb77b282c0e6be09addef5f375cb0192b1d3cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH2/EX2.5/Ch02Ex5.sci | ce30913d2aee92e2cebaececabcb870fd33210a7 | [] | 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,058 | sci | Ch02Ex5.sci | // Scilab Code Ex2.5 : Page-47 (2010)
E_peak = 6; // Peak value of electric field intensity, V/m
c = 3e+08; // Speed of electromagnetic wave in free space, m/s
mu_0 = 4*%pi*1e-07; // Absolute permeability of free space, tesla metre per ampere
epsilon_0 = 8.854e-012; // Absolute permittivity of free spac... |
6dc5d1129f07072329e195d1c10005481f09dd2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.17/Ex12_17.sce | 22bb31989398ee17b7789c1d66cef6f967853897 | [] | 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,020 | sce | Ex12_17.sce | //EX12_17 Pg-12.33
clc
clear
disp(" equation of the Am sine wave =Vc(1+m*sinwm*t)*sinwc*t")
Vc=12;//amplitude of carrier voltage
m=0.5;//modulation index
fc=10e6;//carrier frequency
fm=1e3;//modulated frequency
wc=2*%pi*fc;
wm=2*%pi*fm;
t=0:2.3148e-7:8e-4;
Vam=Vc*(1+m*sin(wm*t).*sin(wc*t))
fusb=fc+fm;//upp... |
2ea16afd507b3db592691aefea00c4151ab3c269 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH12/EX12.3/Ex12_3.sce | 37084b47a8702525283ef633fe9d186b8845a315 | [] | 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,387 | sce | Ex12_3.sce | clear;
clc;
disp('Example 12.3');
// aim : To determine the
// (a) throat and exit areas
// (b) degree of undercooling at exit
// Given values
P1 = 2;// inlet pressure of air, [MN/m^2]
T1 = 273+325;// inlet temperature of air, [MN/m^2]
P2 = .36;// exit pressure, [MN/m^2]
m_dot = 7.5;// flow rate of air,... |
4109f80e8cb62f9adb33b26e7b224c7f1a2a2ba7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.9/exa_4_9.sce | 1410f9128bb35d359b2b371a6d317d686fe6065e | [] | 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 | 262 | sce | exa_4_9.sce | // Exa 4.9
clc;
clear;
close;
// Given data
V=4;// in V
Vr1= 0.7;// in V
Vr2= 0.3;// in V
R1= 4;// in kΩ
R2= 4;// in kΩ
I1= (V-Vr1)/R1;// in mA
I2= (V-Vr2)/R2;// in mA
disp(I1,"The value of I1 in mA is : ")
disp(I2,"The value of I2 in mA is : ")
|
312cde033a42816d210caf21466dea126cf5da0c | dd1ecbd8dc9f2817544517bd6d33ef7c0fffccde | /projects/pp3/Nand1.tst | 36acb59ba8a6b6f8483133e4113cc409f625786a | [] | no_license | cujun/Nand2Tetris | b32254a2756e548832edfe6af535d24ac683226e | f745b58858328dc407e6770704a6ee9601079f0a | refs/heads/master | 2021-01-22T00:09:30.350789 | 2017-12-20T07:27:53 | 2017-12-20T07:27:53 | 102,185,045 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | tst | Nand1.tst | load Nand1.hdl,
output-file Nand1.out,
compare-to Nand1.cmp,
output-list a%B3.1.3 b%B3.1.3 out%B3.1.3 ;
set a 0,
set b 0,
eval,
output;
set a 1,
set b 0,
eval,
output;
set a 0,
set b 1,
eval,
output;
set a 1,
set b 1,
eval,
output;
|
cd871cbbd951f033efa111d92b229494f532cf88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH10/EX10.1/Ex10_1.sce | dcc72e4c6a6c67bddabe98815f25601057fce0a6 | [] | 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 | 966 | sce | Ex10_1.sce | clc
// Given that
//three metal piece being cast have the same volume but different shapes
//shapes are sphere,cube,cylinder(height=diameter)
// Sample Problem on page no. 252
printf("\n #solidification time for various shapes# \n")
//solidification time is inversely proportional to the square of surface a... |
bdddf78acfbe69f648ef2ca9b7b7bfc1a81919bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH9/EX9.2/Ex9_2.sce | 8a0691b88a24e6a9d1ecba26e6bc09ad210bf713 | [] | 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 | 577 | sce | Ex9_2.sce |
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 9.2
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
L1=1.5;//length of optical fiber in Km
L2=0.002;//length of fiber cutback in Km
Pn=50.1;//output power in microwatts for the full li... |
52af05563281b56b5d7b38e3ee0e98f499ad73c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH1/EX1.5.1/Ex1_4.sce | a9383af80f2805e5f94142203d09f0b219b65a89 | [] | 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 | 680 | sce | Ex1_4.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 1.5.1\n')
//given data
//x1=a*sin(W1*t)
//x2=b*sin(W2*t)
//calculations
a=1.90//amplitude of first wave in cm
b=2.00//amplitude of second wave in cm
W1=9.5//frequency of first wave in rad/sec
W2=10.0//frequency of second wave in rad/sec
xmax=b+... |
d22d8e8d667c643d002f321da4518e417dcc969f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH5/EX5.2/Ex5_2.sce | 3412da960782d567470280453397c619256af085 | [] | 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 | 3,716 | sce | Ex5_2.sce | clear; clc;
disp("a)")
disp("Convert: 1) Q=5 m^3/s=10595 cfm")
disp("2) rhoa=0.0761lbm/ft^3")
disp("3) SP=deltap/(rhow*g)")
delta_ps=500
rho_w=1000
g=9.8
SP=delta_ps/(rho_w*g)
printf("Hence SP = %0.3f m",SP)
disp("Thus SP= 2.01 in.wg.")
disp("b)")
disp("Calculating the specific speed:Ns")
N_s=1500*((10575)^0.5)/(2.0... |
7c7fab12d31dce21469af344125738b11da7e291 | 978b15852ad0d9219e0cd69e9da3a9140b84aa97 | /TPs_CN/exo5.sce | 6c7ea7c0f8970e509a2751b77de825b4ce7b55f9 | [] | no_license | nadine867/TP_CN | cd2acc700471c7f595ada5f2b799b43ca44590ce | fcf09074e27723ca3e9b1eec870386c848b190f9 | refs/heads/master | 2023-02-03T04:07:38.525606 | 2020-12-18T20:23:55 | 2020-12-18T20:23:55 | 316,060,516 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | exo5.sce | function [x]= gausssolve(A,b)
n=size(A,1);
mik=0;
for k=1:n-1;
for i=k+1:n;
mik=(A(i,k)/A(k,k));
b(i)=b(i)-mik*b(k);
A(i,(k+1):n)=A(i,(k+1):n)-mik*A(k,(k+1):n);
end;
end;
x(n)=b(n)/A(n,n);
for i=n-1:-1:1
x(i)=(b(i)-A(i,(i+1):n)*x((i+1):n))./A(i,i);
end
endfunction
|
fbb3a6e4db9c73b747b337d28faada6e529a9944 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.7.b/8_7b.sce | b36018c0bbf6b0e5450f23e1ba22664acf45d194 | [] | 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 | 496 | sce | 8_7b.sce | clc
clear
//Initialization of variables
k=1.4
R=53.3 //lb-ft/lb R
pe=14.7 //psia
p0=114.7 //psia
T0=524.6 //R
g=32.2 //ft/s^2
d=0.5 //in
Nm1=1
//calculations
pr=pe/p0
Nme=sqrt(2/(k-1) *((1/pr)^((k-1)/k) -1))
Te=T0/(1+ (k-1)/2 *Nme^2)
Ve=Nme*sqrt(k*g*R*Te)
At=%pi/4 *(d)^2
Ae=Nm1/Nme *((1+ (k-1)/2 *Nme^2... |
41cfbe9d78cfa7c6ac99f2898ee6a737bc5b0246 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH23/EX23.1/23Ex1.sce | e18d40e28a8e6da15169b1c1ab12161a68bc301b | [] | 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 | 351 | sce | 23Ex1.sce | // Chapter 23 Ex1
clc;
clear;
close;
//(i)
n1=27; n2=3;
ans1=log(n1)/log(n2);
mprintf("log 27 to the base 3 is %d",ans1);
//(ii)
n3=(1/343); n4=7;
ans2=log(n3)/log(n4);
mprintf("\nlog (1/343) to the base 7 is %d",ans2);
//(iii)
n5=0.01; n6=100;
ans3=log(n5)/log(n6);
mprintf("\nlog 0.01 to t... |
ad6f9898fb82ce4deeeed84b06d99dd9492e35e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH17/EX17.13/Ex17_13.sce | d8282c9a8e05a5021c8dc3ff77aa546ab71d8742 | [] | 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 | 516 | sce | Ex17_13.sce | // Exa 17.13
// To calculate average SINR of HSDPA.
clc;
clear all;
Ptmax=5.5;//Maximum transmit power of DSCH in watts
Pbs=18;// Total base station power in watts
alpha=0.2;//downlink orthogonality factor
G=0.363;// geometry factor
SF=16; //Spreading Factor for DSCH;fixed at value of 16
//solution
// ... |
6044ca2b98b7d621cffcbc5fa659ef09ec150b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.1/example1_sce.sce | 8b5cb1f754e29758e2adcac909a036c67ddc7b98 | [] | 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 | 242 | sce | example1_sce.sce | //chapter 13
//example 13.1
//page 547
printf("\n")
printf("given")
Av=100000;B=1/100;
disp("when Av=100000")
Acl=Av/(1+Av*B)
disp("when Av is 150000")
Av=150000;
Acl=Av/(1+Av*B)
disp("when Av is 50000")
Av=50000;
Acl=Av/(1+Av*B) |
509a215d6c6f87da427861116f90fc73bbba4613 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH12/EX12.6/example12_6.sce | e2fcf7869174a0c082bfa56117697e902522e144 | [] | 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,325 | sce | example12_6.sce |
//example 12.6
//calculate floor thickness at mid length and at junction with u/s and d/s cut-off walls
clc;funcprot(0);
//given
b=13; //length of floor
d=2; //depth of downstream wall
D=1.5; //depth of upstream cut-off
rho=2.24; //relative density
H=1.5;
//at junction of d/s c... |
f3b18bd0b1af88110498f27e2c186070a1ca6466 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH4/EX4.2/Ex4_2.sce | 240800e10f81c5fff468b5da54746aaeaec78510 | [] | 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 | 471 | sce | Ex4_2.sce | //===========================================================================
//chapter 4 example 2
clc;
clear all;
//variable decalartion
W = 0.005; //controlling weight in Kg
L = 0.024; //length in m
Td = 1.05*10**-4; //deflecting Torque in kg-m
//calculatio... |
ff2bd8d9510c6ce775abcbcbf619c9f3195bd0b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH10/EX10.2/Exa10_2.sce | a516e3f1fed181f9984b00e080a6639ad443ccc5 | [] | 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 | 461 | sce | Exa10_2.sce | //Exa 10.2
clc;
clear;
close;
//Given Data :
format('v',7);
Eta=85;//in %
P=30;//in HP
P1=P*0.7355*Eta/100;//in KW
cosfi_1=0.8;//powerfactor
tanfi_1=tand(acosd(cosfi_1));//unitless
Pr=P1*tanfi_1;//in KVAR
//Let active power P2 : Total Active power = P1+P2
cosfi=0.9;//overall powerfactor
tanfi=tand(acosd(c... |
fd20b478d6106f139d2732721ace738ff52b3642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH4/EX4.11/Example4_11.sce | a6a018575ce3521fa286a3ddc1dc8cbbb72698fe | [] | 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 | 404 | sce | Example4_11.sce | exec("degree_rad.sci",-1)
//Given that
v_WG = [65 * sin(dtor(20)),65 * cos(dtor(20))] //in km/h
v_PG_y = 0
v_PW_mag = 215 //in km/h
//Sample Problem 4-11
printf("**Sample Problem 4-11**\n")
//therefore in direction
v_PW_y = v_PG_y - v_WG(2)
v_PW_x = sqrt(v_PW_mag^2 - v_PW_y^2)
v_PG_x = v_PW_x + v_WG(1)... |
2f92eb4c091da827d8ba7c9af86c7c87f0e042bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH3/EX3.7/3_07.sce | 872c1d69249be230e50ca34283625b0556a7e9ca | [] | 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 | 409 | sce | 3_07.sce | //Chapter 3, Problem 7
clc;
L=1200; //Length of copper cable in meter
D=12*10^-3; //Diameter of cable in meter
p=1.7*10^-8; //Resistivity of cable in ohm.meter
r=D/2; //Calculating radius
A=%pi*r^2; //Caculating area
R=(p*L)... |
5731c5b96b0c8448e8d573940af8c700dbfe58f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH4/EX4.6/example4_6.sce | c38335698826e4e29788bbd6f4c7a0bab10f6b43 | [] | 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 | 625 | sce | example4_6.sce | // Calculate alpha reverse and beta reverse
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 4-6 in page 210
clear; clc; close;
// Given Data
Ie=10*10^-3; // Emitter Current in mA
Ib=5*10^-3; // Base Current in mu-A
// Calculations
Ic=Ie-Ib;... |
dabb1c01e9e9147ac7e0a4509876bb81f13eebbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH8/EX8.9/Ex8_9.sce | 4415a0c0534f70217ee4f9eef67c93f21a2ee6e1 | [] | 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 | 711 | sce | Ex8_9.sce |
clc
// Given that
m_0 = 9.1e-31 // Mass of electron in kg
mu_0 = 1.256e-6// SI
e = 1.6e-19 // Charge on electron in coulomb
eta_s = 1e28 // superelectron density in no. per cube
T_1 = 0 // First temp in kelvin
T_2 = 1 // Second temp in kelvin
T_c = 3 // Critical temp in kelvin
printf("Example 8.9\n")
p... |
a9c2ce35eff12f2e3b850f6558074dfb28807ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.23/Ex7_23.sce | 46ea919c865e8ab4d90cc1abcf533fbfd51304e9 | [] | 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,031 | sce | Ex7_23.sce |
clc
clear
//Input data
p1=20//Pressure in bar
T=400//Temperature in degree C
p2=0.1//Pressure in bar
n=4//Number of stages
ns=75//Stage efficiency in percent
//Calculations
h16s=(3250-2282)//Change in enthalpy in kJ/kg
h12s=(h16s/n)//Change in enthalpy in kJ/kg
p=[8,2.6,0.6]//pressures in bar from Mollier... |
98a963c81764c7f639a52fbbac2e16264cb8c992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH13/EX13.4/EX13_4.sce | a51cdb5c288a2de27a2264b37f88c3451d85d0d8 | [] | 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 | 544 | sce | EX13_4.sce | //Example13.4 // to design the wien bridge oscillator for the oscillation frequency f = 1 KHz
clc;
clear;
close;
f = 1 ; // K ohm
C = 0.01 ; // uF
// the frequency f is define as
// f = 1/(2*%pi*R*C);
// the resistor R is
R = 1/(2*%pi*f*C);
disp('the resistor R is = '+string(R)+ ' K ohm ');
// the ... |
bf2ca286c8732273791bb6b8f78924442780e2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.6/ex_1_6.sce | 9c8a218dafa806d5a395c6ad656471a6b79f44c3 | [] | 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 | 292 | sce | ex_1_6.sce | //ex_6 even and odd signal of e^jt
clear;
clc;
close;
t = 0:1/100:5;
x=exp(%i.*t);
y=exp(-%i.*t);
even=x./2+y./2;
odd=x./2-y./2;
figure
a=gca();
plot2d(t,even)
a.x_location='origin'
xtitle('even','t')
figure
a=gca();
plot2d(t,odd./%i)
a.x_location='origin'
xtitle('odd','t') |
667b6b71d977bf645c26f29b3c9d050aa2538005 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH9/EX9.3/ex9_3.sce | e442c997af16f919b3572c4cfdd06cb9313acde8 | [] | 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 | ex9_3.sce | //Exam:9.3
clc;
clear;
close;
P=4;//Number of phases exhibit by a material
F=0;//Minimum degrees of freedom
//modified form of the phase rule F=C-P+1
C=F+P-1;//minimum number of components in the system
disp(C,'the minimum number of components in the system=') |
6bdcedfa6ab82274ac087b40f5dbc86ea71e7a45 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/PCIE Clocks/JitterCalculation.sce | 1c0946fa197f9d60de1ca79775299ea743315a29 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,087 | sce | JitterCalculation.sce | //Process PCI Express clock and report eye closure
//
stacksize(32*1024*1024);
clear;
xbasc();
load("PXPClocks.dat", "Intervals");
N=2*(floor(size(Intervals,2)/2)); //To reduce calculation discrepancies, must be even number
idealper = 10*10^(-9);
Res=round(100e6 / N);
n=... |
f95f71816a6d174354b369c35984e9e5918fd70a | fec7f3b107ceec13edf1fc16cad48dddc274a41e | /ServoLab.sce | 3b105a2e87842dbf7495b876d629135a3c7d1e5a | [] | no_license | JarrodOlivier/ControlsScilab | 0b1c197a6a6c36e276848f060d974a349a3affb7 | 49bc695d0d3839a1f88211ce0ba4a3d045911fe7 | refs/heads/master | 2020-03-29T10:25:02.975988 | 2018-09-21T18:47:40 | 2018-09-21T18:47:40 | 149,804,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | ServoLab.sce | ////ServoLab
//clc()
s = %s
//
//// A
//// ------
//// 1+sT
//A = 1
//T = 1
//num = 1+s*T
//
//g = A/num
//gs = syslin("c",g)
//
//gsCL = 1/(1+gs)
//
//Position Control
j = 1
for (T = 0:0.2:1)
gs2 = syslin("c", 1/(s*(1+s*T)))
gs2CL = 1/(1+gs2)
subplot(3,2,j)
// evans(gs2CL... |
4b908de4869b6cf3f69ff3bbca8cf6163bb23cf8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH15/EX15.6/15_6.sce | 7ab71bf96ca8d1d7cc106884c2b39c232ca551fd | [] | 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 | 169 | sce | 15_6.sce | clc
//Intitalisation of variables
clear
c1= 0.1 //M
cs= 0.05 //M
Ka= 1.75*10^-5
//CALCULATIONS
ch= Ka*c1/cs
//RESULTS
printf ('CH+ = %.1e g ion per litre',ch)
|
5a854b4034f09a53bec4c40a1063bce993dc9e84 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP7/mcnorm.sci | d49262fa80c7c3e944dfd78aca3eaa98517a7c71 | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 106 | sci | mcnorm.sci | function[z] = mcnorm(A, y)
exec('resolChol.sci', -1);
z = resolChol(A' * A, A' * y);
endfunction
|
4116d58e9b3af360231fd368580e2100cc77a368 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH12/EX12.4/Ex12_4.sce | 626108ed0eb27972d4d7793bd9c7d4dd6124c0fb | [] | 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 | 269 | sce | Ex12_4.sce | clc;
clear;
L=0.5*10^-9 //width in m
m=9.1*10^-31 //mass in kg
V_0=15*1.6*10^-19 //height of the potential well in J
h=6.63*10^-34 //Plancks constant in J-s
//calculation
n_max=(4*L*sqrt(m*V_0))/h
mprintf("The maximum quantum number possible is %d",n_max)
|
8ee959b7b6e111048ad3896751206b42d2e23b38 | 0b933bd2623c74cae8a4da69fc33f0828c27ca65 | /progs/scilab/test.sce | ec12fdf812e90d6ea98d30a0942baef094351b55 | [] | no_license | gaetanbahl/IRL_MongeAmpere_OptimalTransport | dcc694cc2471c20b68958c9fd0d72065acb5271a | abf56fa34c36d9440e0ec8b25bd0bce41c0480b4 | refs/heads/master | 2021-01-01T03:48:20.062779 | 2016-05-27T09:32:06 | 2016-05-27T09:32:54 | 59,815,804 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | sce | test.sce | function z = rhoX(x,y)
//z = 1
z = (Npoints^2)/66.051535 * exp(- norm([x,y]) ^2 / 0.1) +1;
endfunction
function z = rhoY(x,y)
z = 9 * rhoX(x^3,y^3) * x^2 * y^2
endfunction
function z = u(x,y)
z = (x^4 + y^4)/4
endfunction
function z = graduX(x)
z = x^3
endfunction
Npoints = 30
x = linspace(... |
517c8b3f79996307a2af14063564286d26350fbe | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_fsed_2_c.tst | e180b681d3f8e65467b891c9dce30fd7ab5b5277 | [
"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,465 | tst | test_ods_fsed_2_c.tst | file_link aaa zzz
file_link bbb yyy
file_link ccc xxx
branch objects
aaa* (3.1 kB)
bbb* (5.7 kB)
ccc* (6.7 kB)
xxx (6.7 kB)
yyy (5.7 kB)
zzz (3.1 kB)
file_link ddd zzz
file_link eee yyy
file_link fff xxx
branch objects
aaa* (3.1 kB)
bbb* (5.7 kB)
ccc* (6.7 kB)
ddd* (3.1 kB)
eee* (5.7 kB)
fff* (6.7 kB)
xxx (6.7 kB)
yyy ... |
19a3e21c6dbc03e500ee0fd60b6984db4822651b | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/sneaky1_runme.sci | 919e4536de2a4d574b037001cd3d31d0eaad5ced | [] | 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 | 447 | sci | sneaky1_runme.sci | exec("alaqiltest.start", -1);
try
x = add(3, 4);
catch
alaqiltesterror();
end
if x <> 7 then alaqiltesterror(); end
try
y = subtract(3,4);
catch
alaqiltesterror();
end
if y <> -1 then alaqiltesterror(); end
try
z = mul(3,4);
catch
alaqiltesterror();
end
if z <> 12 then alaqiltesterror(); end
... |
e4a9372248511d2c0bb2ddc313d0210baf09cbc6 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem04/lab03/l03q01.sce | 0951b13b1ba911d0b12bf2bbb5291391fecfadce | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | l03q01.sce | clc;
clear;
g=[1,-1,%i,-(%i)];
h=[1,-1];
eg=1;
a=0;
for i=1:4
ig(i)=eg/g(i);
end
mprintf("Inverse elements of G are\n");
disp(ig);
for i=1:1
for j=1:4
if g(j)*h(i)*ig(j)==h(1) | g(j)*h(i)*ig(j)==h(2) then
a=1;
else
a=0;
abort;
end
end
end
if a==1 then
mprintf("H is a normal subgroup\n");
else
mprint... |
d2e762380785e8d31b64f43654dee2965aa1e2ac | 2aa67e44390dbf7796e6dca372bf8b94a5b6e7ad | /SciLab/StartAnalysisEPPredictor.sce | 402b0dd9414950efc8cd302605565a6e7068024e | [] | no_license | marrao/EPPredictor | 1c599618c1a88c0bce72306fc250d46f395b5a98 | cbcc14937e4b681a3887602f1afca545f336190e | refs/heads/master | 2020-05-05T04:18:20.192453 | 2011-09-06T15:02:33 | 2011-09-06T15:02:33 | 2,293,791 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,594 | sce | StartAnalysisEPPredictor.sce | // UI utility for selecting the working directory example: /SomePath/EPPredictor/
WorkingDirectory=uigetdir();
chdir(WorkingDirectory);
datafile=uigetfile();//select the file to be used
tic();//start timer
M = read_csv(datafile,';');//Reads the data from csv file and remember result is a string matrix
M = strtod(M);//T... |
e34e7c4376a1bfb8fd3eb261e64ad889bca8a400 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH3/EX3.19c/Exa_3_19c.sce | 0a7d32a0bb1b115dbf1669f546524d9405d31869 | [] | 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 | 581 | sce | Exa_3_19c.sce | //Analytical Evaluation of Discrete convolution
clear;close;clc;
max_limit=5;
h(1)=0;
for n=2:max_limit
h(n)=0.8^n;
end
n2=0:length(h)-1;
x=[0 ones(1:max_limit)]
n1=-length(x)+1:0;
y=convol(x,h);
n=-length(x)+1:length(h)-1;
a=gca();
subplot(211);
plot2d3('gnn',n2,h)
xtitle('impulse Response','n','h[n]');
a.thicknes... |
91d12cfebf0abaada1a94eedd8cd91ff36394e47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH4/EX4.3/Ex4_3.sce | eb809b94315ef2c873c2a5b0d234383ac1a2e36d | [] | 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,303 | sce | Ex4_3.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear;
//example 4.3
//calculation of the dimensions of electrodes in coaxial cylindrical capacitor
//given data
epsilon0=(36*%pi*10^9)^-1//electrical permittivity(in F/m) of free space
//consider high density polyethylene as the dielectric... |
e6ac2079033528b73f931b654af4f667af75e161 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/vpcGuiConectar.sci | 3b1096249d9b38b5610d01d699e866bd213d0adb | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sci | vpcGuiConectar.sci | function vpcGuiConectar()
set('BConectar','Enable','off');
set('BDesconectar','Enable','on');
set('porta','Enable','off');
set('baudRate','Enable','off');
set('dataBits','Enable','off');
set('paridade','Enable','off');
set('stopBits','Enable','off');
vpcGuiAquisicao(uint8(strtod(bdVpcGet... |
b345a76a4e33462bb334cb03192facbcd17fd699 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.29/Ex1_29.sce | 7b57aeed9c50a0d7d556a5874e9165a85da803b1 | [] | 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 | 940 | sce | Ex1_29.sce | //Example 1_29
clc;
clear;
close;
format('v',5);
//given data :
V1=12;//V
V2=24;//V
R1=4;//ohm
R2=4;//ohm
R3=4;//ohm
RL=5;//ohm
//solution by Norton Theorem
//Short Circuit AB
I=V1/(R1*R3/(R1+R3));//A
ISC1=I*R3/(R1+R3);//A
ISC2=V2/R3;//A
ISC=ISC1+ISC2;//A
Req=R1*R3/(R1+R3);//ohm
//Norton equivalent c... |
6486b2e301fc1f40c230834855639d812421fff4 | 11de9974cf643be38294b14c930c16425e401632 | /shuttle.tst | dcb402142ed996d0fc15cf95dbc2d0f0bdace153 | [] | no_license | ljewett/one-hot-and-ready | d30a5a5a820f82b09501dcf5c976b580c0d327f3 | f3ce7e2f615122991fa75068ecd45dd07f44e8f7 | refs/heads/master | 2020-03-22T06:38:30.685838 | 2018-07-06T17:21:56 | 2018-07-06T17:21:56 | 139,647,772 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 475,661 | tst | shuttle.tst | 55,0,81,0,-6,11,25,88,64,High
56,0,96,0,52,-4,40,44,4,High
50,-1,89,-7,50,0,39,40,2,Rad Flow
53,9,79,0,42,-2,25,37,12,High
55,2,82,0,54,-6,26,28,2,Rad Flow
41,0,84,3,38,-4,43,45,2,Rad Flow
37,0,100,0,36,-8,63,64,2,Rad Flow
46,0,83,0,46,0,37,36,0,Rad Flow
44,0,79,0,42,-17,35,37,2,Rad Flow
44,-1,78,0,44,0,34,34,0,Rad Flo... |
d62ec722e499324b4610a4f4f237c183d7dc032c | f7e981eeadbb0bba2edc23eccc7168670c099d2d | /bsp18.sce | 1abf0acb8bfe340e934dc2ef5c69a02a438801e2 | [] | no_license | mr-georgebaker/Scilab-Exercises | bf1e79d68b856f92e2be86b6b002f4eb657ff0ef | fc63d68aeaf495da81a0c557a4f07192aacbd1c6 | refs/heads/master | 2016-08-05T01:37:09.841260 | 2015-05-22T18:24:17 | 2015-05-22T18:24:17 | 32,216,608 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,199 | sce | bsp18.sce | // Creates two plots: The first contains the solution for the differential equation
// y''(t) = -w^2*y(t) (harmonic oscillator) for w = 5
// The second contains the total amount of energy (potential + kinetic) for each step
clear
function y = f(w,t)
// Returns the value for y = -25*t
// Input: t = number or vector
//... |
2a032cd439f58c1cd6068262c24b5ec8bca8a884 | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /3a Program for Newton’s forward interpolation..sce | 16ca152f83e659a93675acdc69aecd49422eafa1 | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | 3a Program for Newton’s forward interpolation..sce | clc;clear;close
x=[1 3 5 7];
y=[24 120 336 720];
h=2
c=1;
for i=1:3
d1(c)=y(i+1)-y(i);
c=c+1;
end
c=1;
for i=1:2
d2(c)=d1(i+1)-d1(i);
c=c+1;
end
c=1;
for i=1:1
d3(c)=d2(i+1)-d2(i);
c=c+1;
end
d=[d1(1) d2(1) d3(1)];
x0=8;
pp=1;
y_x=y(1);
p=(x0-1)/2;
for i... |
74809449cecd9a3914ac5fde82983808fb1a6680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH5/EX5.12/Exa_5_12.sce | 35c6ca8fa510bac16b900fca2123ec6fc766a41b | [] | 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,019 | sce | Exa_5_12.sce | //Exa 5.12
clc;
clear;
close;
format('v',7);
//Given Data :
Tg1=1127+273;//Kelvin
Tg2=527+273;//Kelvin
T2=250+273;//Kelvin
T0=27+273;//Kelvin
Cpg=1;//KJ/KgK
mw=5;//Kg/s
hfg=1716.2;//KJ/Kg
//mg*Cpg*(Tg1-Tg2)=mw*hfg
mg=mw*hfg/Cpg/(Tg1-Tg2);//Kg/s
disp(mg,"Mass flow rate of gases in Kg/s : ");
deltaSg=mg... |
60852b458fca8f6d26c2501cf7588f50353c2ae9 | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Calculo_do_Erro.sci | d0c1a47b25bedc1aa1159e58e3f604a40f5dcea2 | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,692 | sci | Calculo_do_Erro.sci | clear
close
clc
X = [1; 2; 3; 4; 5]
Y = [15; 28.4; 45.3; 58.6; 77.4]
function [s] = minimo_quadrado(x, y)
X = [size(x,1) sum(x); sum(x) sum(x^2)]
Y = [sum(y); sum(x.*y)]
s = X\Y
endfunction
function [s] = logaritmico(x, y)
A = minimo_quadrado(log(x), y)
a = A(2,1)
b = exp(A(1,1)/A(2,1))
s... |
fc1232eca81607960f8af697e267bd0ba5faaf7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH13/EX13.15/Ex13_15.sce | 699333d679b0c7b1c57caf660f4c99b9fd25f298 | [] | 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 | 372 | sce | Ex13_15.sce | clc
clear
//Initialization of variables
dFf=110.5 //ft-lbf/lbm
Vd=1028 //ft/s
gc=32.2 //ft/s^2
p0=100 //psia
k=1.4
v0=2.08
p1=55 //psia
p2=99.2 //psia
//calculations
dFe=0.01*Vd^2 /(2*gc)
dF=dFf+dFe
V2ig=(p0*144)^(1/k) *v0/(1-1/k) *((p1*144)^(1-1/k) -(p2*144)^(1-1/k))
C2=(V2ig+dF)/V2ig
C=sqrt(C2)
//res... |
385dd97f315fce5f779110f17c948682cbbd3c83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH2/EX2.20/exa_2_20.sce | bf6c5e3d751234535dad1464dc1892480306aafb | [] | 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 | 340 | sce | exa_2_20.sce | // Example 2.20
clc;
clear;
close;
// Given data
m=2;// molecular mass
UGC= 8.3143;// universal gas constant in kJ/kg-mole-K
Cp= 14.41;// in kJ/kg-K
R= UGC/m;// in kJ/kgK
Cv= Cp-R;// in kJ/kgK
gama= Cp/Cv;
disp(R,"The value of R in kJ/kgK is :")
disp(Cv,"The value of Cv in kJ/kgK is : ")
disp(gama,"The val... |
8afab51811009df431b33c04994141c7ffe4611b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH23/EX23.18/EX23_18.sce | 045b063e6966671758787d5e02d3e9f63a426b3b | [] | 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 | EX23_18.sce | //Chapter 23, Example 23.18
//Conversion of decimal to binary//
clc
//clears the console//
clear
//clears all existing variables//
q=0
b=0
s=0
//initialising//
//a=input(enter the decimal number to be converted to its binary form)
//taking input from the user//
a=34.6875
d=modulo(a,1)
//separating the decimal part fro... |
8c7f7c454081150fffa532614bc47fdf038162c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH4/EX4.15/4_15.sce | b48362ef2de1508dd12c4d55e8e111812ce553ff | [] | 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,685 | sce | 4_15.sce | clear//
//Variables
V = 6.0 //Applied voltage (in volts)
R0 = 0.2 //Resistance (in ohm)
R1 = 2.0 //Resistance (in ohm)
R2 = 3.0 //Resistance (in ohm)
R3 = 6.0 ... |
b942a4c8233d7be89ef7457bb0dd1ceda4af5e79 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/monosubst/edit-me.sce | 9cf3938cd03268c31a095134f2be93a09283b37b | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | edit-me.sce | function [titel] = solve(x)
// Decodeer monoalfabetische substitutie. Zie wiki.
//
if x == 0 then titel = "dummy"
else
titel = "the raven"
end
// Dummy toekenningen aan outputvariabelen
endfunction
|
4996c04abac509487c411e1b9109425c6e9bc802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH13/EX13.16/13_16.sce | 23da481da4e7df57a20da7dee516454e6c403314 | [] | 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,031 | sce | 13_16.sce | //Eg-13.16
//pg-562
clear
clc
deff('out = func(in1,in2)','out = sin(in1)-in2')
//To get the answers in the text book we shouldn't take sint=Vs to be unity!
x(1) = 0;
y(1) = 0;
h = 0.1;
for(i = 1:10)
x(i+1) = x(i) + h;
end
a = (2^0.5-1)/2;
b = (2-2^0.5)/2;
c = -(2^0.5)/2;
d = 1 + (2^0.5)... |
9ef1fc52076d2f798aa2625744b29150a759af6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH5/EX5.8/Ex5_8.sce | 4bb57f0cfb65dccf38140ffdc1c753be9ca75971 | [] | 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 | 411 | sce | Ex5_8.sce | //problem 8 pagenumber 5.99
//given
r1=9e3;//ohm
k1=1.38*10^-23;format(6);
t1=298;//k
//determine voltage current spectraldensities rmsnoise
r1=r1;
er=sqrt(4*k1*t1*r1);
i1=er/r1;
er12=1/er;
w=20e3-20;
er1=nthroot(er,w);
disp('voltage = '+string(er*10^9)+' nanovolt/√(Hz)');format(5);
disp('current = '+strin... |
1fbc7ec233a7c2ba7e4dbef46f477922c4009df6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH16/EX16.3/Example16_3.sci | debdd5976b598e71c74db9b71c889615469c5ee0 | [] | 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 | 899 | sci | Example16_3.sci | //Chapter 16_Bipolar and MOS Digital Gate Circuits
//Caption : Fanouts
//Example 16.3: A TTL gate is guartnteed to sink 10mA without exceeding ann output voltage Vol=0.4V and to source 5mA without dropping below Voh=2.4V. If Tih=100uA at 2.4V and Iil=1mA at 0.4V,calculate the low-state and high-state fan-outs.
// So... |
7654aa03b679d1bccfbc1a0b7d6501dced104330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH2/EX2.11/ex2_11.sce | 285b959f393da43283d3d2807bda379216149f66 | [] | 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,075 | sce | ex2_11.sce | //Ex2.11
//let input wave be V_in=V_p_in*sin(2*%pi*f*t)
f=1; //Frequency is 1Hz
T=1/f;
V_p_in=10; //Peak input voltage
V_th=0.7; //knee voltage of diode
clf();
//let n be double the number of cycles of output shown in graph
for n=0:1:8
t=T.*n/2:0.0005:T.*(n+1)/2 //time for each half cycle
... |
dc50fa8ff5576e1cab5e459b12804e25cbd85ea2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH4/EX4.41/ex_4_41.sce | 1ce2864ac00693162337a06228eb5762761ef102 | [] | 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 | ex_4_41.sce | // example 4.41
// using chebyshev polinomials obtain least squares approximation of second degree;
// the chebeshev polinomials;
x=poly(0,"x");
T0=1;
T1=x;
T2=2*x^2-1;
// I=integrate ('1/(1-x^2)^(1/2)*(x^4-c0*T0-c1*T1-c2*T2)^2','x',-1,1)
// since;
c0=integrate('(1/3.14)*(x^4)/(1-x^2)^(1/2)','x',-1,1)
... |
d9ad1d9ded90df4baea07d0d96e3afa260f2c36b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH4/EX4.18/Ex4_18.sce | 420110ebd084d2b2cc9b10203bee1a78d155e3fd | [] | 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 | Ex4_18.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 4 - Pelton Turbine (Impulse Turbine)
//Example 4.18
clc
clear
//Given Data:-
Ns=15; //Specific Speed
P=1200; //Shaft Power, kW
Ht=500; //Total Head at reservoir, m
Loss_per=5; //Percentage of Head loss in Pipe... |
52492a5b9a389b3248517528506f577d48fcdc36 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Valorant peek operator.sce | daebde3f359df8bcb51e614d1178bde9ce4e321d | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 48,433 | sce | Valorant peek operator.sce | Name=Valorant peek operator
PlayerCharacters=PP Challenger
BotCharacters=PP Target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=PP Challenger
AddedBots=PP Target.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=pole_field.map
MapScale=1.0
BlockProjectilePredictors=true
BlockCheats=true
Invincible... |
063581a817daf2108bc78fbb3d632b7e761ab5d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH11/EX11.5/5.sce | 81b83e1dfed665b8f113b1ed8c689a5df1284e5e | [] | 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,056 | sce | 5.sce | clc
clear
//INPUT DATA
ni=1.5*10^16//intrinsic charge carriers in m^-3
r1=10*10^-2//resistivity of p-type silicon in ohm m
r2=10*10^-2//resistivity of n-type silicon in ohm m
me=1350*10^-4//The mobility of the charge carrier in m^2 V^-1 s^-1
mh=480*10^-4//The hole charge carrier in m^2 V^-1 s^-1
e=1.6*10^-19//c... |
ebd3b9bf7f74f122d7e4e47d5ed7fa37443fb599 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH10/EX10.12/10_12.sce | c764153242034fc530de6194d89090e6bc5df9ac | [] | 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 | 250 | sce | 10_12.sce | //Eg-10.12
//pg-458
clear
clc
close()
x = [1.04 1.11 1.19 1.32 1.47 1.6 1.79 1.97 2.15 2.34 2.48 2.64 2.76 2.86 2.96];
y = [3.7 3.87 4 4.14 4.26 4.32 4.37 4.39 4.38 4.33 4.26 4.14 4.01 3.86 3.70];
exec cubicspline.sci
cubicspline(x,y) |
89fe26757ce1e034e1d6aaaefbb9feb552f19378 | 7e1e4a48669269c24f7f72b2fd417244582adada | /testData/4-10-3-IRIS/100-50/tt.tst | 472b7aeacca6db15e32fbfd0a610cda17d487914 | [] | no_license | leonfg/epiphanyANN | c57f9bbaba7a6a735c67155176fae7c001611036 | 3655952491b5bc7ee63f902135c7d967ac6433c4 | refs/heads/master | 2016-09-14T22:47:59.263536 | 2016-04-05T12:00:37 | 2016-04-05T12:00:37 | 55,205,571 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,127 | tst | tt.tst | networkTopology(3;4,10,3)
inputOutputVector(5.900000,3.200000,4.800000,1.800000;0,1,0)
inputOutputVector(4.300000,3.000000,1.100000,0.100000;1,0,0)
inputOutputVector(5.200000,3.400000,1.400000,0.200000;1,0,0)
inputOutputVector(5.800000,4.000000,1.200000,0.200000;1,0,0)
inputOutputVector(6.000000,2.900000,4.500000,... |
22e06a85ade96943240d61fc0676349ef001572a | e99ad337c3c1b8da940c198031365b86317e9ace | /04/divide/Divide4.tst | 2ad184f00174d735c15f0e9b9e98a9819d0ff406 | [] | no_license | dayamg/nand2tetris | fc40560dff5dff40e86c8de4e1c2b4b2f4f7c1a4 | 93627bbe7a66f6ecacc64885f7dee6e83d39c04b | refs/heads/main | 2023-08-18T21:51:12.820795 | 2021-10-03T12:57:29 | 2021-10-03T12:57:29 | 307,087,397 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | tst | Divide4.tst | load Divide.asm,
output-file Divide4.out,
compare-to Divide4.cmp,
output-list RAM[13]%D2.6.2 RAM[14]%D2.6.2 RAM[15]%D2.6.2;
set PC 0,
set RAM[13] 25,
set RAM[14] 5,
repeat 3000 {
ticktock;
}
output; |
3f9d5a3ec9e1202750f0931efed1543591589a22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH14/EX14.6/Example14_6.sce | a361c1a421813115588fc96769bd6e6e042bb2cf | [] | 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 | 350 | sce | Example14_6.sce | //computation of Kp and Kc
clear;
clc;
printf("\t Example 14.6\n");
//(a)
CO2=0.236;//pressure of CO2 gas, atm
Kp=CO2;
//(b)
T=273+800;
delta_n=1;
Kc=Kp*(0.0821*T)^-delta_n;
printf("\t(a) the value of Kp of the reaction is : %4.3f\n",Kp);
printf("\t(b) the value of Kc of the reaction is : %4.2f ... |
2a3ba2b5a1946157c2a665ef68f417fff26c677e | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.9.a/3_9_data.sci | e55faa0569b7b5e6e0c00563125455caffbb7491 | [] | 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 | 297 | sci | 3_9_data.sci | // Aim:Refer Example 3-9 for Problem Description.
// Given:
// Time period of operations:
t=10; //s
// Stroke of hydraulic cylinder:
S=10; //ft
// Load required to compress car:
F_load=8000; //lb
// Pump pressure:
p=1000; //psi
// Frictional Force:
F_fric=100; //lb
// Leakage:
Q_leak=0.2; //gpm
|
d53617826b2ca3cea951794ebcea9d2b27e16a20 | 449f0d9106e35fc361bdb53d55d9563796f0d2c3 | /week9/scilab.sce | 073d22aa85abe19fa4a4c35661d7304c0acadf2e | [] | no_license | aleksey-sinos/OpenEdu | 72eefffcc4ddbb45345a9bee61e534f9bf540390 | 6c3b4943a669b9398ad75e0fae44937cc6b04dc0 | refs/heads/master | 2020-06-30T13:29:27.839046 | 2019-12-04T07:47:12 | 2019-12-04T07:47:12 | 74,368,213 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,376 | sce | scilab.sce | /////////////////////////////////////////////////////////////////////////////////////////////
//// Неделя 9.
//// Фильтрация случайных последовательностей.
//// Дискретный фильтр Калмана.
/////////////////////////////////////////////////////////////////////////////////////////////
clear; xdel(winsid())
deff('[numd] = r... |
a4ac2ec6513c56652211e89db30b0a18a0052636 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH18/EX18.6/Ex18_6.sce | d8340ef3e24e186eb2320adf7ae5fa3a8404597c | [] | 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 | 536 | sce | Ex18_6.sce | //chapter18
//example18.6
//page405
L=50.7d-6 // H
C=500d-12 // F
R=10 // ohm
Rl=1d6 // ohm
fr=1/(2*%pi*(L*C)^0.5)
R_dc=R
Xl=2*%pi*fr*L
Q=Xl/R
Rp=Q*Xl
R_ac=Rp*Rl/(Rp+Rl)
printf("resonant frequency = %.3f Hz or %.3f kHz \n",fr,fr/1000) // amswer in book is incorrect
printf("dc load = %.3f ohm \n",R_dc)
printf("ac loa... |
883203d6336a0a5d0fe7f1480a9c70aea1396f83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH12/EX12.20/Ex20.sce | 9f016011c6650a3a04a6f164b8b70e4908d260f8 | [] | 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 | 809 | sce | Ex20.sce | // Additional solved examples , Example 20 , pg 339
rho=1.8*10^-8 //resistivity (in ohm*m)
Ef=4.8 //Fermi energy (in eV)
E=100 //electric field intensity (in V/m)
n=6.2*10^28 //concentration of electrons (in atoms/m^3)
e=1.6*10^-19 //charge in electron (in C)
Me=9.11*10^-31 //mass ... |
5fe76ef1f467aa3f35ed8dd2cddeabe2e3103cb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH7/EX7.1/Ex7_1.sce | d65b2e7a855033c6f5dd9aca71ab6b225cffd510 | [] | 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,029 | sce | Ex7_1.sce | // Example 7_1
clc;funcprot(0);
// Given data
D=6;// The diameter of a steel pipe in inch
Q=2000;// Volume flow rate in gpm
L=1.0;// Length in km
nu=1.0*10^-6;// Kinematic viscosity in m^2/s
rho=1*10^3;// The density of water in kg/m^3
// Calculation
// (a)
D=D*2.54*10^-2;// m
Q=(Q*3.782*10^-3)/60;// m^3/s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.