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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68c2add9275fac0eee07afc4a5b2cdeef64c10e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.2/2.sce | fded291efd0d12543156c738c3a04d630a1b16a6 | [] | 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 | 523 | sce | 2.sce | clc
// Given that
lambda = 6000 // wavelength of light in angstrom
e = 0.14 // Width of slit in mm
y = 1.6 // Separation between second dark bend and center in cm
d = 2 // Linear distance in mm
// Sample Problem 2 on page no. 137
printf("\n # PROBLEM 2 # \n")
printf(" Standard formula used \n")
printf(" lambd... |
8d10453298f4f5b4b9740e098a18e386bfee9d31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH3/EX3.8/3_8.sce | 639bd96108ab93b3a1c98b961d683f252f5b9cad | [] | 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,443 | sce | 3_8.sce | //to find the velocity and acceleration of the piston along the cylinder, the angular velocity and angular acceleration of the connecting rod cp and the coriolis component of the acceleration of P
clc
//given
OC=3//inches
CP=9//inches
N=1200 //rpm (clockwise)
X=55 //degrees
//from the figure 66
OP=10.35//inches... |
37b3df85845376c7ea70a2d949d04df8a1674222 | 7ef51c5d0a21a0b16fdcf1e2b0ba34941a192b5d | /resultados/get_fourier_transform.sci | e45137786448cc94e4a96a5da6e6d21ff91ba6a8 | [] | no_license | josepedro/TCC | c4ab515fea01859420ba3f5123815430ea2b0e02 | 72622069c60ae6c639d9aa2189f868b6db22c6df | refs/heads/master | 2021-01-21T22:29:10.992789 | 2014-12-26T22:32:02 | 2015-01-02T03:06:25 | 22,113,358 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,554 | sci | get_fourier_transform.sci | function respfreq = get_fourier_transform(som)
//TRANSFORMADA DE FOURIER
fs = 88200;
f = (0:length(som)-1)*fs/length(som); //vetor das frequ�ncias dispon�veis no som
freq = f(1:round(length(f)/2)); //vetor das frequ�ncias propriamente ditas
SOM = abs(fft(som)); //transformada de fourier criando vetor respostas
SOM = S... |
b972a7f8ffbffaedc16ff15f18468eb8631bae67 | 67549df2a087a841e4e04a54509843c18795a981 | /packets/echantillons/aucun/nouveau.sci | 741d4a997a6a4bec40628c1084cff58b54a03ca9 | [] | no_license | scicasoft/CRUD-generator | 60494434091147e1f8aa62c02b7d34339747885e | 037a7dabdf4d84933ffec560c0bd1a85c45deb03 | refs/heads/master | 2020-05-03T11:30:19.887391 | 2011-06-12T10:33:38 | 2011-06-12T10:33:38 | 719,111 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sci | nouveau.sci | <?php
require 'root.php';
include_once ROOT.'mesclasses/classeprincipale.php';
define("TITRE","Nouveau [[NOM_TABLE]]");
define("FOND_TITRE", ROOT.'images/icones/icon-48-user.png');
$sous_menu=array(
1=>array('type'=>'annuler', 'chemin'=>ROOT."appl/[[NOM_TABLE]]/index.php"),
);
include_once ROOT.'appl/layouts/tete.p... |
1cae3c3574bba97ab346fca581b854ca8f99fa2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.12/Ex_2_12.sce | f8ba6fdf7cbe368fcbfe5e649ea39307cffcffc7 | [] | 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 | Ex_2_12.sce | // Example 2.12;Acceptance Angle
clc;
clear;
close;
NA=0.4;// Numerical Aperture
r= 50;// Angle at which angle changes for skew rays in degreee
m=cosd(r);
Oas=asind(NA/m)
disp(Oas," ACCEPTANCE ANGLE FOR SKEW RAYS IN DEGREE")
|
fbdfb63a7f12d000a34910045afbdc4c8ef2efe1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/demos/lmitool/linprog.sci | 638b94891e053429428ed1bf96769caa74c07f89 | [
"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 | 672 | sci | linprog.sci | function [x,cout]=linprog(A,b,C,d,c,x0)
// Copyright INRIA
// Generated by lmitool on Thu Feb 02 16:32:14 MET 1995
Mbound = 1e3;
abstol = 1e-10;
nu = 10;
maxiters = 100;
reltol = 1.e-10;
options=[Mbound,abstol,nu,maxiters,reltol];
/////////////////DO NOT REMOVE THIS LINE
x_init=x0;
[nx,nx]=size(A);
/////////... |
d15f351a89ddb65e362579527af890ff231dd80c | 935d5880888b1ef01c8dddaf85af2be07d7940e2 | /AdaptiveSwarmRobotsSimulation-ASRS/stages/StageBasic.sce | de36dbee51ece8d5cc170e431ea394aafaafba7b | [] | no_license | google-code/asrs | c3b35545bce8ae38c8184de002e93e18a67461ee | c9a828a4eb2fbf076116f3c51c44da45a60f9feb | refs/heads/master | 2016-08-05T13:33:11.103066 | 2015-03-15T15:18:57 | 2015-03-15T15:18:57 | 32,267,209 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | StageBasic.sce | _________
| |
| |
| |
| |
| |
| |
|_________|
|
6fa68fd127cad1932c11d80f8585c4a0a29f96b0 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/cos_generator.sce | 8a22174bfd070395c0619649bfeceac880deffb5 | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43 | sce | cos_generator.sce | n=1:100
x=2*cos(4*%pi*n/20)
figure
plot(x)
|
30cd166db63756c783318b13485a0e7eaeb5d6f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH14/EX14.19/Ex14_19.sce | 95e69f5d85153c17b4063049bda3d4f97ce1ed43 | [] | 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 | 139 | sce | Ex14_19.sce | clc;
Cgd=0.000000000004;
Gm=0.0025;
rD=5600;
CinM=Cgd*(Gm*rD+1);
disp('Farad',CinM,"CinM=")//The answers vary due to round off error
|
192bc8c1b1911e89ce177267450c674f8e574d9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.21/ch8_ex_21.sce | 81ba71e3bf0bc374301de2943f6d27bed549c533 | [] | 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 | 893 | sce | ch8_ex_21.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 21
disp("CHAPTER 8");
disp("EXAMPLE 21");
//VARIABLE INITIALIZATION
p_o=10*1000; //in Watts
P=6; //number of poles
E_g=200; //in Volts
N=1500; //in rpm
A=P; //si... |
b596e849feec0433e02b581e0db6d1fccb2787d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH16/EX16.8/EX16_8.sce | 164b6203ed494cebe0fcd790ede7e34c8106d17e | [] | 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 | 264 | sce | EX16_8.sce | //Example 16.8
clc
Energy=1.2*10^3//in J
c=1.1*10^-4//in f
delta_v=sqrt((2*Energy)/c)
disp("solution a")
disp(delta_v,"Energy stored in volt")
disp("solution b")
Energy_deliverd=600//in j
delta_t=2.5*10^-3//in s
p=(Energy_deliverd)/delta_t
disp(p,"power in watt=") |
9f49cda5d07b7b5823af46ea45a8b41ffbb181d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH2/EX2.12/Ex2_12.sce | 1720a5b0e848f684c8700248e058971b96e40f34 | [] | 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,780 | sce | Ex2_12.sce | //the examples are continuously numbered in textbook. This is the second example in chapter 2 as first example cannot be codded in scilab.
//Example 2_12 page no:146
clc;
//given
weight = 391000;//in kg
no_of_motor = 12;
no_of_motors_parallel = 6;
tot_tractive_effort = 171000;//in N
line_voltage = 600;//in V
... |
de20071450708741e200ce06cc85f78d73f6598e | e3cbbc5e7d85ad8e75f34314755eeb32e59f221f | /TEST/gaia.tst | 49fccb80b5766fed6940dd61a9c5a1566a367252 | [
"Apache-2.0"
] | permissive | ihgazni2/neggen | 25f624b8008728e8f60140559770b4c8bec56a62 | 9bb88606cc8c7a470b1023a5dcad2c9929cd8dfc | refs/heads/master | 2021-06-13T08:11:24.919179 | 2021-04-02T14:10:14 | 2021-04-02T14:10:14 | 166,251,568 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,192 | tst | gaia.tst | > print(layouts[1024])
rm4@8@11@14@15.tem
-------------
| | |
----- -----
| | |
- - -----
| | | |
-------------
undefined
const fs = require("fs")
const clslmat = require("./lmat")
const clsdesc = require("../desc/desc.js")
const clscmmn = require("./cmmn")
const clspt = require("./pt")
... |
30df1c9b6b0393492048c0097c12f5278e6cb160 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH11/EX11.5/11_05.sce | ef0eb6bebddf86fd773456463393e5bf2c6996fc | [] | 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 | 730 | sce | 11_05.sce | //Example No. 11_05
//Differentiation of tabulated data
//Pg No. 358
clear ;close ;clc ;
T = 5:9 ;
s = [10 14.5 19.5 25.5 32 ];
h = T(2)-T(1);
n = length(T)
function V = v(t)
if find(T == t) == 1 then
V = [ -3*s( find(T == t) ) + 4*s( find(T==(t+h)) ) - s( find( T == (t+2*h) ) ) ]/(2*h) //Th... |
897bd0d3c467a0389538c84d182907bfe89e2b32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH1/EX1.28/1_28.sce | daefd5511c0a2f8ce71009d4ccd4cec44000ad52 | [] | 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 | 1_28.sce | clc,clear
printf('Example 1.28\n\n')
I_L=100
P=4 //Poles
A=P //for lap wound armature
W_b=1.4,W_m=0 //Brush width and width of mica insulation
N=1400//armature speed in r.p.m
segments=64 //no of commutator segments
L=0.05*10^-3 //inductance of armature coil in henry
n_s=N/60 //speed in r.p.s
v=n_s*segments... |
f652b29c4faba957fcb1acd17845d6f75e3355a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH3/EX3.5.a/ex_3_5_a.sce | 71c7b69eb1b95543a848f23fd98240b0fc14462e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | ex_3_5_a.sce | //example 3.5(a)//
//3 input to exor//
clc
//refreshes all variables//
clear
//clears the screen//
disp('in the figure output of first gate is exor of A and B. output of second gate is exor output of earlier two gates where A B C are inputs to the system')
//result// |
bf3f0436bc4f4414903991238a06f78a894f90af | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/util/sci2map.sci | 785f81ae61136bff4c64ae0b92fbda412483bf0a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 6,351 | sci | sci2map.sci | function []=sci2map(a,nom)
//!
[lhs,rhs]=argn(0)
if rhs<>2 then error('sci2map: 2 input parameters!');end;
t__=gen_map(nom,a),
// on sauvegarde si ce n'est pas une macro
if type(a) <> 11 then
if type(a) <> 13 then
// unit=file('open',b_2_m,'unknown')
// file('last',unit)
nt=size(t__);for i=1:nt, writ... |
7503af0c81cc194b1b29d3e452d6c649bb3f6c50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH2/EX2.16/Example_2_16.sce | a1256075c6588d9a4962eb0a80f360639adf2e29 | [] | 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 | 319 | sce | Example_2_16.sce | // Example 2.16 A business firm receives on an average
clc;
clear;
m=2.5;
disp(m,"Average call =");
function value = poisson(m, x)
value = (exp(-m)*(m^x))/(factorial(x));
endfunction
X_0=poisson(m,0);
X_4=poisson(m,4);
disp(X_0,"Probability of no call is ");
disp(X_4,"Probability of exactly 4 call is ");
|
511b270212756310848f605f83ba3e3c04f7e166 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/Communication/SerialGateway/loader.sce | 33543b01abbae2b3ae1d549a493884970f5e7ab2 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | loader.sce | // Script to load the serial gateway dynamic library.
// Author: Errico Guidieri, Evidence Srl.
// -------- Modules to be imported ----------
// Link to import the selected modules of the library
serial_gateway_link_num = link(get_absolute_file_path('loader.sce') + 'Release\lib_serial_gateway.dll', 'serial_gate... |
e620a5020878dc375c50d68676ab1f8273f8f78a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/tdcs/systems.sci | 262308f6607206bceeb18b3c50ada157ace3733c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 3,150 | sci | systems.sci | function []=systems()
function [xdot]=bioreact(t,x)
//[xdot]=bioreact(t,x)
// modele de bioreacteur
// x(1): concentration de biomasse
// x(2): '' de sucre
//!
xdot(1)=mu_td(x(2))*x(1)- debit*x(1);
xdot(2)=-k*mu_td(x(2))*x(1)-debit*x(2)+debit*x2in;
function [y]=mu_td(x)
//[y]=mu_td(x)
// mu : taux sp... |
2bdff2ff2cf54d9c44197c47a8d235ddd736753b | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH1/EX1.3/Example1_3.sce | b6b04d331c2888bfc842aa5a81d35dbc7749f7f5 | [] | 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 | 403 | sce | Example1_3.sce | clear;
clc;
// Example 1.3
printf('Example 1.3\n\n');
//Page no. 17
// Solution
//(a)
// Converting all terms to same unit
nm = 10^(-9);//[meters]
m1 = 10;//[decimeters]
dm = (1.8*nm*m1)/(1*1);//[decimeters]
printf('(a) 1.8 nanometers is equal to %.2e dm.\n',dm);
//(b)
m2 = 39.37;//[inches]
in = (1.... |
816040f06b5027e2aa6d304e61445272efd53cf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.16.a/data7_16.sci | e66aee17f34d67971c5662153c32282cbb8e9115 | [] | 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 | 413 | sci | data7_16.sci |
//(Threaded Joints) Example 7.16
//Refer Fig.7.35 on page 256
//Yield tensile strength of 30C8 Syt (N/mm2)
Syt = 380
//Young's modulus of 30C8 E1 (N/mm2)
E1 = 207000
//Young's modulus of aluminium E2 (N/mm2)
E2 = 71000
//Initial pre-load in the bolt Pi (kN)
Pi = 5
//External force acting on the bolted joint... |
2228ef9112c20ba8fe7a3b2b920bc590bb097634 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH3/EX3.13/Ex3_13.sce | 790a63c331ff52c536426768bb6f97225d55ae9d | [] | 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 | 792 | sce | Ex3_13.sce | clear ;
clc;
// Example 3.13
printf('Example 3.13\n\n');
printf('Page No. 73\n\n');
// given
Cash_out = 80000;// Present value of cash outflow for project F in Pound
n = 5;// years
Cash_in= [50000 40000 30000 20000 10000]// Cashn in \flow for project F in Pound
NPV = 0;//At the end of 5 years
//Let the un... |
18a30ffc3d7824f723fa4a0c57937b60f71110c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH9/EX9.13w/9_13w.sce | c2a2bd5c696087b357b981e08e50f93542452193 | [] | 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 | 563 | sce | 9_13w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 9.13w
//calculation of the final velocity of the shuttle
//given data
v1=4000//speed(in km/hr) of shuttle with respect to the earth
v2=100//speed(in km/hr) of the module with respect to the shuttle
//calculation
M... |
ba662d14444b6881f3faebdc373f75697a67fe9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH2/EX2.40/Ex2_40.sce | 2d506d484595507aeca5f81c39f0445e9040a855 | [] | 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 | 542 | sce | Ex2_40.sce | // Scilab Code Ex2.40: Page-96 (2008)
clc; clear;
mu_0 = 4*%pi*1e-007; // Absolute magnetic permeability of free space, N/ampere-square
I1 = 30; // Current through the first wire, A
I2 = 40; // Current through the second wire, A
x = 2; // Separation distance between two wires, m
F = mu_0/(4*%pi)*2*I1*I2/x... |
fdd6d13f0f495d91280428472dc9d6d3fc685860 | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /laba9b.sce | a49d14f42373954e1a9d4782e91c0516f3af0b83 | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59 | sce | laba9b.sce | //9b
clf
champ1(1:10, 1:10, rand(10,10), rand(10,10), 1.0)
|
b0f8dfc80f9442070e3a6e45861e10c103639ce8 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH7/EX7.7/ex7_7.sce | fec9712791a2d46b3aab75daa596905b09ee10b9 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | ex7_7.sce | errcatch(-1,"stop");mode(2);//ex7.6
I_D=6.25*10^-3;
V_GS=-5;
R_G=abs((V_GS/I_D))
disp(R_G,'Gate resistance in Ohms')
exit();
|
57b8c479ef25618897421786f855700e13d37611 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.21.b/21_b.sce | a0dc2d115075f0185d78e2bdc3e3c1f814ac13c7 | [] | 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 | 455 | sce | 21_b.sce | //subtraction using 1's complement//
//Example 21.b//
//subtraction in one's complement using 8 bits//
clc
//clears the window//
clear
//clears all the existing variables//
x='1011'
y=bin2dec('1011')
z=bin2dec('0101')
c=(bitcmp(z,4));//finding 1's complement//
a=y+c+1
a=a-bin2dec('10000');
a=dec2bin(a,4);/... |
730e7b55ed42c4c7d3ee4fd1f21ffd8d92b4508f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH12/EX12.3/Exa12_3.sce | 0cfcac0ae70a20a5c3c9bfb9e4f55bcaf5bbb63d | [] | 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 | Exa12_3.sce | //Exa 12.3
clc;
clear;
close;
//given data :
D=30000;//in units/year
Cc=2;//in Rs./unit/year
Co=100;//in Rs./orde
Cs=12;//in units/year
EOQ=sqrt(2*Co*D*(Cs+Cc)/(Cc*Cs));//in units
Q=round(EOQ);//units
disp(Q,"Ordering quantity in units : ");
Q1=sqrt(2*Co*D*Cs/(Cc*(Cs+Cc)));//in units
disp(round(Q1),"Maximu... |
c31f0cc77d2262a5b233b8b93d1a06c242c7f647 | 468a1ec1a04ab99eb46811103f55ed1a32266ff7 | /Log_Transform.sce | e52bad5ea7915171a2f6fc9b789f6a1841195216 | [] | no_license | sricharraan/Image-Processing | e2c152b3127425c17ecd36548a457b81b4b74466 | 2ea4b68d172359ee2c58f4d2fc7a4f0cb99d4440 | refs/heads/master | 2022-04-16T04:11:31.984041 | 2020-04-22T05:18:47 | 2020-04-22T05:18:47 | 257,531,057 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Log_Transform.sce | clc;
clear all;
a=imread('color.jpg');
subplot(1,3,1);
title('Original image');
imshow(a);
b=rgb2gray(a);
c=im2double(b);
subplot(1,3,2);
title('Grayscale image');
imshow(b);
s=log1p(c);
x=255/(max(max(s)));
s1=x*s;
u=uint8(s1);
subplot(1,3,3);
title('logarithm image');
imshow(u); |
94e1c3dad61b461cb191d4a2ede5d4de0270e868 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH5/EX5.8/Ex5_8.sce | dd98e101e7ae3281d8ff67fe403c6a13484fdbd6 | [] | 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,141 | sce | Ex5_8.sce | //Example 5_8 page no:198
clc
funcprot(0)
function [r,th]=rect2pol(x,y)
//rectangle to polar coordinate conversion
r=sqrt(x^2+y^2);
th=atan(y,x)*180/3.14;
endfunction
function[x,y]=pol2rect(r,theta)
x=r*cosd(theta)
y=r*sind(theta)
endfunction
[Rr,Ri]=pol2rect(50,0)
R=Rr+(%i*Ri)
[Xlr,Xli]=pol2rect(... |
5cb0b5ec7d7a9aa58a51cb1b67a1f0b075668ddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH9/EX9.1/Ex9_1.sce | 09b250600dca0bde4d55a561b3bf9667e2f63f5c | [] | 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,186 | sce | Ex9_1.sce | // scilab Code Exa 9.1 Calculation on multi stage turbine
d=1; // mean diameter of the impeller blade in m
T1=500; // Initial Temperature in degree C
t1=T1+273; // in Kelvin
p1=100; // Initial Pressure in bar
N=3e3; // Speed in RPM
m=100; // in kg/s
alpha2=70; // exit angle of the first stage nozzle blades
... |
2cd51b374c482d0bc1e514849966819f70223db8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH5/EX5.1/chapter5_ex1.sce | 3260a212f65df58b64405629722b3bd74fd561cd | [] | 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 | 514 | sce | chapter5_ex1.sce | clc
clear
//input
r=20;//pure resistance connected in parallel with a pure inductance in ohms
l=0.08;//pure inductance in henry
v=240;//supply voltage in volts
f=50;//supply frequency in hertz
//calculations
i1=v/r;//current in resistive branch in amperes
i2=v/(2*%pi*f*l);//current inductive branch in ampe... |
656e0e1fc6df6941581917d303bef5c2e0217909 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/scicos/get_subobj_path.sci | e733122a8902ce1ecd867b4612152aabf1b112f0 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 518 | sci | get_subobj_path.sci | function full_path=get_subobj_path(path)
// path : vector of integer gives the path of the required block from
// top level (main diagram) to bottom level (required block).
// Each vector entry is a block index in the current level structure.
// full_path : is the path relative to scs_m ... |
57156b3a0d6aef01aa2a193f0c99246a17b7b081 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.24/example6_24.sce | 3c51b182ef823f24ced9da8384ce26e15831b620 | [] | 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 | 270 | sce | example6_24.sce | s=%s
T1=1*3*6*1
T3=1*2*5*1
T2=1*4*7*1
T4=1*2*(1/(s+1))*1*6
T5=1*2*(1/(s+1))*(1/(s+1))*7*1
T6=1*3*(1/(s+1))*7*1
delta=1
del1=1
del2=1
del3=1
del4=1
del5=1
del6=1
TF=(T1*del1 + T2*del2 + T3*del3 + T4*del4 + T5*del5 + T6*del6)/delta
disp(TF,"Y/R = ")
|
2523a322a36c9572b7b695bcb4ce94399c8c1dc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH7/EX7.3/EX7_3.sce | a5ea0d1a6e5d1a37e68e65f842134011d2be0f24 | [] | 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 | EX7_3.sce | clear;
clc;
printf("\nEx7.3\n");
//page no.-218
//given
V=29.7*10^-6;........//potential difference in volt
d=4*10^-2;...........//width of copper strip in m
I=100;...............//current in A
B=2;.................//magnetic field of induction in weber/m^2
e=1.6*10^-19;........//charge in coulumb
A=2*10^-5;.... |
058fa2f2c1c483d945b2e12231cdb26fa05f8a35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH41/EX41.01/41_01.sce | 38aae30ed0372be22d2d3b8687d3c483b545a95a | [] | 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 | 802 | sce | 41_01.sce | //Problem 41.01: The ratio of output power to input power in a system is
//(a)2 (b) 25 (c) 1000 and (d) 0.01
//Determine the power ratio in each case (i) in decibels and (ii) in nepers.
//initializing the variables:
//ratio of output power to input power
rp1 = 2;
rp2 = 25;
rp3 = 1000;
rp4 = 0.01;
//calcul... |
7262146229be7812f7e02f534f2d76c133621dde | 494b677053e1199325a80808377463794e1003e5 | /experiments/irprop-c/irprop-c/results/Ignore-MV.iRProp+-C.vehicle/result0s0.tst | 84cdd9f162e7c0dd2b4d91b2ec338e647d8baef4 | [] | 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,576 | tst | result0s0.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]
@attri... |
2823afe99b4f5a91f02068370d96cdefadb385fd | 984b7f3efe488e09080b96fa45a92e8d3396c86a | /keel/results/xcs/result0s0.tst | 8728c6a88b881b2d81290e48247c88e6423b00b8 | [
"MIT"
] | permissive | zychia/ELF-Miner | c0ee995a17b41e559ac6ff7914c2f26be38ed337 | 438b9dcd65a3d7a79ef830c1a5517891e12cfa7e | refs/heads/master | 2021-02-08T00:26:49.991431 | 2018-12-21T13:50:53 | 2018-12-21T13:50:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,594 | tst | result0s0.tst | @relation .a/actual_final/actual_final
@attribute Identification{'7f_45_4c_46_01_01_01_00_00_00_00_00_00_00_00_00','7f_45_4c_46_02_01_01_00_00_00_00_00_00_00_00_00','7f_45_4c_46_01_01_01_03_00_00_00_00_00_00_00_00','7f_45_4c_46_01_02_01_00_00_00_00_00_00_00_00_00','7f_45_4c_46_02_01_01_03_00_00_00_00_00_00_00_00','7f_... |
80ebbdaf78506d74a45ef5d68ce9b8b0fe869f3d | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/Flex-Sim/loader.sce | 2b087ee6a51e66152da54fcddf5a77edf00df135 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | loader.sce | // generated by [dll_builder]: Please do not edit this file
// ------------------------------------------------------
flexsim_path=get_absolute_file_path('loader.sce');
link(flexsim_path+'libflexsim.dll',['rt_sinus','rt_square','rt_step','rt_randm','rt_adcin','rt_buzzer','rt_gpin','rt_gpout','rt_lcd','rt_led','rt_p... |
286d86ffc8d3eb2ff86dc434b8479a487efae5e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH7/EX7.2/7_2.sce | 7fac1ee5e6e4893e3d3067255d2ff290ed55a00f | [] | 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 | 354 | sce | 7_2.sce | clc
clear
//Initialization of variables
Q=350 //gal/min
D=6 //in
rho=0.84
gam=62.4
g=32.2 //ft/s^2
mu=9.2e-5 //lb-sec/ft^2
L=5280 //ft
//calculations
V=Q/(7.48*60*%pi/4 *(D/12)^2)
Nr=V*D/12 *rho*gam/g /mu
f=0.3164/(Nr)^0.25
hl=f*L*12/D *V^2 /(2*g)
hp=hl*gam*Q*rho/(550*7.48*60)
//resu;ts
printf("Horsepo... |
967cd2bbb1ec26ff7f09f03731897840898bda83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH13/EX13.12/example12.sce | bb195603f2029e459cda83dc4ce95785d50f82f1 | [] | 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 | 703 | sce | example12.sce | // find gate-source cutoff voltage and transconductance
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 13-12, page 447
clear; clc; close;
// Given data
Idss=5*10^-3;// maximum drain current in amperes
gmo=5000*10^-6;// maximum transcon... |
8d28312fdccfcacb69841720a7f08c0a577aa9e5 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_equalizeHist_path.sci | e25dab124a79a6abf955e934944f9e1c467e2f7e | [] | 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 | 144 | sci | cv_equalizeHist_path.sci |
function [img_ret]=cv_equalizeHist_path(path)
pyImport equalizeHist_file
img_ret=equalizeHist_file.equalizeHist_path(path)
endfunction
|
b1085adec5301df38810ec8b23411cb4c89d2f71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH11/EX11.3.2/Example_11_3_2.sce | 250daf7a706d37795d2ece1cc8a720265b2bd0fe | [] | 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 | Example_11_3_2.sce | //Example 11.3.2 Page 407
//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
//Steven H. Strogatz
clear;
clear;
clc;
close;
// m = number of copies.
// r = scale factor.
m=4;
r=3;
d=log(m)/log(r)
//End of Example. |
b5e78aefef3d2d4416e38725be1e3d59ef0cee4b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/mulf.man.tst | 70c40c1d7a0ecc0d4e5bba28068a551d44b16d46 | [
"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 | 67 | tst | mulf.man.tst | clear;lines(0);
mulf('1','a')
mulf('0','a')
'a'+'b' //Caution...
|
b1d35f28acc9da8f29878a0bf1d811489286c4c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH4/EX4.28/4_28.sce | 7faf4c7a3589c7bc498518fc22acd30c8412e07e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 4_28.sce | function [x,y]=polar_to_cart(r,theta)
theta=theta/180*%pi
x=r*cos(theta)
y=r*sin(theta)
endfunction
I=4
w=500
[Ir,Ic]=polar_to_cart(3,40)
Ix=complex(Ir,Ic)
C=1E-3
L=10E-3
Xl=w*L*%i
Xc=1/(w*C*%i)
Il=I-Ix
Ic=Ix
Vc=Ic*Xc
Vl=Il*Xl
Vx=Vl-Vc
disp(Vx) //answer wrong in the book |
2a39b6f453323ca844ca8d9af145c25f3f97f485 | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52_sac_cuda/dev/vac4.52mkg_24_06_2010/scilab/sci_str2mat.sci | 5167256a3c7a93d2919371fef5437e2c51f58277 | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sci | sci_str2mat.sci | function [tree] = sci_str2mat(tree)
// Copyright INRIA (Generated by M2SCI)
// Conversion function for Matlab str2mat()
// Input: tree = Matlab funcall tree
// Ouput: tree = Scilab equivalent for tree
tree.lhs(1).dims=list(-1,-1)
tree.lhs(1).type=Type(String,Real)
endfunction
|
a3b5e6b28fcec04eccc0b2fbcfa6743d8d4310d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH8/EX8.4/8_4.sce | fbab7a785e3b7ac9202cd0bee11447509901037f | [] | 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 | 817 | sce | 8_4.sce | clear;
clc;
V=66;
V=V/sqrt(3);
T=60;
d=2;
r=d/2;
D=5.3;
R=D/2;
V=fix(V*sqrt(2) *10)/10;
a=(R/r)^(1/3);
a=round(a*1e3)/1e3;
r1=a*r;
r2=round(a*r1*1000)/1000;
V1= V *((1/r)-(1/r2)) *r ;
V2= (V-( V1* ((1/r)-(1/r1))) )*r1;
//An error exists in the text book while calculating V1 and V2 and hence Emax a... |
f9316a28338a49fa00036068de4eedf0c5902138 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH3/EX3.9/3_9.sce | 62b474e35ae5188cb3fb992fad9219e746bd68ea | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sce | 3_9.sce | clc;
V1=1;//m^3
VA=1;//m^3
VB=1;//m^3
V2=VA+VB;
p1=20;//BAR
p2=p1*(V1/V2);
disp("final pressure is:");
disp("bar",p2);
|
43c4687422b6b5d1f7c486b41a8ba85b49fba77d | abd7728083df51a785c94e61999237380b32c4f8 | /Presentation/Flanker_agent_lr.sce | af8e902f0bc15b988c4c4f038d37eacc9254c681 | [] | no_license | LCTO-TLCO/UAVpresentation | 93b0c0e0eb123b550218bbae4e0bb1db8c30cb5e | 83e0f22cfdc2b7172bf0b90a9a14ddf77e6ccf2a | refs/heads/master | 2023-07-25T14:03:39.874916 | 2021-09-07T07:19:38 | 2021-09-07T07:19:38 | 301,918,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,858 | sce | Flanker_agent_lr.sce | ###########################################################################
# Header #
###########################################################################
response_matching = simple_matching;
default_font_size = 48;
active_buttons = 3;
button_codes = 1,2,3; #left, r... |
5e222cbd364ccf56aeb070c56f7633f1b993c815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.1a/eg5_1a.sce | b7e3c6cb57c3eb04fae7802d299a0b395537c463 | [] | 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 | eg5_1a.sce | defects= 0.01;
disks = 10;
package = 3;
probdefect0 = ((1-defects)^10);
probdefect1 = factorial(disks)*defects*((1-defects)^9)/factorial(disks-1);
prob = 1 - probdefect0 -probdefect1;
disp(prob, "Probability that a package will be returned is")
newprob = factorial(package)*prob*((1-prob)^2)/factorial(package-1);... |
8ee80497c556d89dd4faa43700892b299cb8999b | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.15/example8_15.sce | 49724c9459951ac16e47b7522ac284b4376859f9 | [] | 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 | 504 | sce | example8_15.sce | //Chapter 8
//Example 8_15
//Page 185
clear;clc;
v=220;
r=1.5;
d=200;
t=40;
b=76;
mo=0.85;
f=50;
delta=3.92*b/(273+t);
go=30/sqrt(2);
vc=mo*go*delta*r*log(d/r);
v_phase=v/sqrt(3);
pc=242.2/delta*(f+25)*sqrt(r/d)*(v_phase-vc)^2*1e-5;
printf("Delta = %.3f \n\n", delta);
printf("Disruptive critical voltage per phase... |
23d8d1530edd038195be692f5c8a46426c3a3655 | 31c6b1437c7dc52b977bf6790b1b24eff7f7b5f5 | /moving_average_matrix.sci | 2c1331b570b222aaa1e818f02218376b3f080b20 | [] | no_license | RobinEccleston/Scilab-Snippets | 4744c071ef891cc4905cbecc000a1f5bf667a8f7 | 7886058a25ec4821cfeba6d8e148a0a2aced330c | refs/heads/master | 2021-01-26T00:48:02.042794 | 2020-02-26T11:35:49 | 2020-02-26T11:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,323 | sci | moving_average_matrix.sci | ModuleName="MovingAverage";
Version="0.01";
DateModified="07-May-2015";
DateOfCreation="07-May-2015";
Author="Rob Eccleston";
Description="Takes a moving average for the data provided in a matrix";
function [ averaged_data ]= moving_average_matrix(data,window_size,direction)
//change the data direction i... |
6548280397fe801b0b38700568935f6902cf2043 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH18/EX18.2/18Q2.sce | 5c953853629801db3aea81ed9edcc2e368d0e349 | [] | 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 | 81 | sce | 18Q2.sce | clc
z=5
To=0.275
Cn=2/(1+To)
N60=8
N160=Cn*N60
printf('(N1)60 = %f',N160)
|
047a556eb3b3ec30b2236198a93899ff1f0fab02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH2/EX2.6/Ex2_6.sce | bd414e5171de584d4169b40011502e673fc7f1e4 | [] | 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 | 438 | sce | Ex2_6.sce |
//Example No.2.6.
// Page No.61.
clc;clear;
T = 300;//Temperature -[K]
K = 1.38*10^(-23);//Boltzman's constant.
w = 500*10^(-9);//wavelength -[m].
h = 6.626*10^(-34);//Planck's constant.
c = (3*10^(8));//velocity of light.
//By Maxwell's and Boltzman's law.
N = exp((h*c)/(w*K*T)); //Relative population.
pri... |
aa052d5ce17d077172a268f95b7cc5f508b0f340 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/193.ted.sci | d7090bfc58bf919012eef42ac0b0263e607a8964 | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 15,471 | sci | 193.ted.sci | what is bioenergy bioenergy is not ethanol bioenergy is n t global warming bioenergy is something which seems counterintuitive bioenergy is oil it s gas it s coal and part of building that bridge to the future to the point where we can actually see the oceans in a rational way or put up these geo spatial orbits that wi... |
dc1793273d4ba550fd178ead42f2ed5cb5fc915e | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH8/EX8.12/Ex8_12.sce | 0c45ac658fb67c08609928d697573cc95342deeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex8_12.sce | //Caption:Find efficiency of motor
//Exa:8.12
clc;
clear;
close;
V=500//Voltage of shunt motor(in volts)
I=10//Current taken by motor on no load(inA)
I_f=3//Field Current(inA)
r_a=0.1//Armature resistance(in ohms)
P_i=100000//Input power to motor(in watt)
P_nl=V*I
I_ao=I-I_f
P_acn=(I_ao^2)*r_a
P_fcn=I_f*V
... |
01aaf53d6eb4aef16e99d4f1ca68d7002ecb3e91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.24.a/24_a.sce | be89267e523e6c49714dc6d77e4e9a79bdc1ab02 | [] | 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 | 517 | sce | 24_a.sce | //binary to gray code//
//Example 24.a//
//binary to gray code//
clc
//clears the console//
clear
//clears all existing variables//
a=110100
for i=1:6
x(i)=modulo(a,10)
a=a/10
a=floor(a)
end
y(6)=x(6)
k=5
while(k>0)
if (bitand(x(k+1),x(k))==1) then
a=bitand(x(k+1),x(k))
y(k)=bi... |
562b0c66a42657c8624bc2cea2d5d2d35030bf5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH10/EX10.08/10_08.sce | 30e6d3aacdfbdd942c0647f0814546184cb26da6 | [] | 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,622 | sce | 10_08.sce | //NPSHA and NPSHR//
pathname=get_absolute_file_path('10.08.sce')
filename=pathname+filesep()+'10.08-data.sci'
exec(filename)
//Diameter of pipe (in feet):
Df= Di/12
//Area of crossection of pipe(in ft^2):
A=%pi/4*Df^2
//Velocity of flow(in ft/sec):
V=Q/7.48/A/60
//For water at T=80F,viscosity=0.927e-5 ft^2/s... |
e992d4bc8718fc267f81ffec0a3dbf2b4ccdaa55 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/examples/addinter-examples/ex5c.sce | 7e806a6171a2f56bc182ca0825702d00327913c0 | [
"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 | 517 | sce | ex5c.sce | // Copyright INRIA
if ~c_link('cfunc') then
files=G_make(['/tmp/ex5cI.o','/tmp/ex5c.o'],'ex5c.dll');
addinter(strcat(files,' '),'cfunc','FuncEx');
end
deff('[z]=f(x,y)','z=x+y');
res=FuncEx(1:3,4:6,f);
if norm(res -feval(1:3,4:6,f)) > %eps then pause,end
res1=FuncEx(1:3,4:6,'fp1');
if norm(res - res1 ) > %eps... |
48648a90609f16d615cba26f8970812819d280e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH3/EX3.13/EX3_13.sce | 1cc2d0a9b40fa91e55b96f35d8cd218cb0f8bddc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | EX3_13.sce | //page 75
clc;funcprot(0);//EXAMPLE 3.13
// Initialisation of Variables
r=1;............//Radius of each atom in units
n=8;.........//No. of atoms present in Diamond cubic Silicon per cell
//CALCULATIONS
v=(4/3)*%pi*r^3;..........// Volume of each atom in Diamond cubic Silicon
a0=(8*r)/sqrt(3);..........//Vol... |
cebb05e7cdd65dd9b4ec4dbb68d2cc03f3e823b5 | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/logc.tst | f9fed298f4e78d6c861b1cae3d687db1bbc1ed74 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | tst | logc.tst | /* Demonstrates nesting of auton transactions. */
DROP table emp2;
CREATE TABLE emp2 as select * from emp;
CREATE OR REPLACE PROCEDURE test_auton
IS
PROCEDURE auton
IS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
DELETE
FROM emp2;
DBMS_OUTPUT.PUT_LINE ('emp2 ' || tabcount ('emp2'));
l... |
bc9b28c29db3517db28dd41d82339809eab42d63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /196/CH4/EX4.5/example_4_5.sce | 7503497b5a7babb3b9fb78bf0067dccefa6a9b37 | [] | 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 | 542 | sce | example_4_5.sce | //Chapter 4
//Example 4-5
//designInvertingVoltageDetector
//Page 97
clear;clc;
//Given
Vsatp = 15 ; Vsatm = -15 ;// Saturation Voltages
Vh = 4 ; //Hysteresis Voltage
Vctr = 10 ; //Center voltage
n = ((Vsatp - Vsatm)/Vh)-1 ;
R = 10*10^3 ;//Input Resistance
Vref = ((n + 1)*(Vctr))/n ; // Reference Voltage
R... |
9c71af5ef7db19c691d530697717012331d4cc34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.27/ch8_ex_27.sce | 1c74876c64ec85f1ab7faa30d48b36d1ddf1cc19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | ch8_ex_27.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 27
disp("CHAPTER 8");
disp("EXAMPLE 27");
//VARIABLE INITIALIZATION
v_t=200; //in volts
r_a=0.06; //in Ohms
r_se=0.04; //in Ohms
p_i=20*1000; //in Watts
//SOLUTION
//solution (a)
I_a=p_i/v_t;
E_b=v... |
91a687c24d1e9769a86af2ffc074a812bbb1a81f | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH14/EX14.10/Example14_10.sce | a7b77e99a34df45a4408f3fb70aebdc56d5a532a | [] | 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 | 800 | sce | Example14_10.sce | //computation of equilibrium concentration
clear;
clc;
printf("\t Example 14.10\n");
Kc=54.3;
HIo=0.0224;
H2o=0.00623;
I2o=0.00414;
//let us assume that x moles have reacted, so, HI=HIo+2x, H2=0.00623-x, I2=0.00414-x, when we substitute in Kc=(HI)^2/(H2)*(I2) we get 54.3=(2x+0.0224)^2/((0.00623-x)*(0.0041... |
a17597feedf2aa80339980773e4cc9618b7843b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH5/EX5.20/Ex5_20.sce | 964e5e847934d08302920246cc0780987650fa3b | [] | 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 | 422 | sce | Ex5_20.sce |
// Ex5_20
clc;
// Given:
E1=1.4;// MeV
mBi=208.980417;
mn=1.008665;
mBI=209.984110;
// Solution:part(a)
KE1=0;// in MeV
BE1=(mBi+mn-mBI)*931;// in MeV
Ex1=KE1+BE1;
printf("\n The excitation energy of compound nucleus is = %f MeV",Ex1)
// Solution:part(b)
KE2=E1*(209/210);// in MeV
BE2=(mBi+mn-mBI)... |
c58937ca8b340cc329f998a9172f0a59e1f4a26b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH18/EX18.1/Ex18_1.sce | e64a26f308a47a7bc12249eac499fb09e6ef9ab7 | [] | 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 | 322 | sce | Ex18_1.sce | Pu=3000//in kN
fck=20//in MPa
fy=415//in MPa
l=3//unsupported length, in m
//assume 1% steel
Ag=Pu*10^3/(0.4*fck*0.99+0.67*fy*0.01)//in sq mm
L=sqrt(Ag)//assuming a square column
L=530//in mm
Asc=0.01*L^2//in sq mm
emin=l*10^3/500+L/30//in mm
ep=0.05*L//>emin, hence OK
mprintf("Column size - %d x %d mm",L,L)... |
ce48d52731e74e63a1ae4b58594c5a3feb4c62c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH11/EX11.5/RJ_5.sce | 2acfbc4b406768fd9ba69cc1ea31efbae1fed843 | [] | 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 | 235 | sce | RJ_5.sce | // sum 11-5
clc;
clear;
a=50;
b=75;
P=36*10^3;
d=24;
Ta=60;
n=9;
A=%pi*d^2/4;
Td=P/(n*A);
theta=atan(b/a);
Ts=54.64;
r2=90.184;
e=A*29575.7/P;
// printing data in scilab o/p window
printf(" e is %0.1f mm ",e); |
6ecb0962882d08a98ea1a6b724f90668e1055cc8 | 717ddeb7e700373742c617a95e25a2376565112c | /3165/CH6/EX6.5/Ex6_5.sce | 00db60f8da8cd5e42f39be1b48f700c1299b49b0 | [] | 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 | 235 | sce | Ex6_5.sce | //Example 6.5
//Program to f i n d the DFT o f a Sequenc e x [ n]=[ 1 , 2 , 3 , 4 , 4 , 3 , 2 , 1 ]
// u s i n g DIF Algor i thm .
clc ;
x = [1 ,2 ,3 ,4 ,4 ,3 ,2 ,1];
//FFT Computation
X = fft (x , -1);
disp (X, 'X( z ) = ' );
|
5444887260d4f76b752fede30d4f5b80ded6223e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH5/EX5.3/Ex_5_3.sce | 2fe6ac70caec751b94d0968bf1e2b9a0620968be | [] | 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 | 439 | sce | Ex_5_3.sce |
// Example 5.3 //threshold density and threshold current
clc;
clear;
close;
B=21*10^-3;//Gain factor in ampere per centimeter cube
alpha=10;// in per cm
L=250*10^-4;//length in meter
w=100;//in micro meter
r=0.32;
Jth=(1/B)*(alpha+(1/L)*log(1/r));//Threshold current in ampere per centimeter cube
ith=Jth*L*w... |
1a7a63e1a230d03aa1383182e50aec456cecd51d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.45.1/Ex3_45.sce | d4d764c2fd10a84fb0ec3b3410b4fa73c89b9af7 | [] | 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 | 661 | sce | Ex3_45.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
m=1;
Cp=1.005;
P1=100;
T1=17+273;
T2=T1;
P2=2500;
printf('Final Temperature... |
b4db139b72b0bfb8b24a4294aa5a044af3c6389e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.17/Example5_17.sce | cc7f0ff193739699f108cafbe7743df55e68ec2b | [] | 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 | 349 | sce | Example5_17.sce | //Example 5.17
clc
disp(" D0 D1 D2 D3")
disp("w''x'' 0 1 2 3")
disp("w''x 4 5 6 7")
disp("wx'' 8 9 10 11")
disp("wx 12 13 14 15")
disp("")
disp("D0 = w''x + wx'' = w XOR x")
disp("D1 = w''x'' + wx'' = x''")
disp("D2 = w''x + wx'' = w XOR x")
disp("D3 = w''x + wx'... |
c6aaac6d82fdc8a7ca56bc9a37384fb9cfb3043a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH5/EX5.4/Ex5_4.sce | 110f2eac3f0f088feb6523f1179afe73a8062ab9 | [] | 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 | Ex5_4.sce | clear all; clc;
disp("Scilab Code Ex 5.4 : ")
//Given:
di = 80; //mm
ri = 40/1000; //m
d0 = 100; //mm
ro = d0/2000; //m
F = 80; //N
l1 = 0.2; //m
l2 = 0.3; //m
//Internal Torque:
T = F*(l1+l2);
//Section Property:
J = (%pi/2)*((ro^4)-(ri^4));
//Shear Stress:
c_o = 0.05;//m
tou_o = (T*c_o)/(J*1... |
a65ce47204a8f977d1a0b06094399e1203a9f12e | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/Morisita_RP-003.tst | 344f95600a11aa0836ea481c7f4a1bc627f5e9fd | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32 | tst | Morisita_RP-003.tst | ../inputs/pops-4x2-1212-2121.ssv |
742794aa18d9fec22a750d7d99ee9b53ae895b24 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/wisselgeld/edit-me.sce | ad924885dbe8c1063874820961d263e114f7d3f4 | [] | 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 | 1,922 | sce | edit-me.sce | function [aantal_muntstukken] = solve(te_betalen,betaald)
// Reken uit hoeveel munten je minimaal moet teruggeven.
// Dummy toekenningen aan outputvariabelen
aantal_muntstukken = 0
terugbetalen = betaald - te_betalen
if te_betalen > betaald then
error("You didn`t pay enough.")
end... |
7a0b5f51b9df6c5811ca2c8c45bf7f8e45728202 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.17/Ex4_17.sce | babda515cee422cf670fb7c76b1556083344f87c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Ex4_17.sce | //Example 4.17:
clc;
clear;
close;
//given data :
format('v',5)
A=200;//gain without feedback
Beta=0.05;//feed back ratio
Af=(A/(1+(Beta*A)));//gain with feedback
disp(Af," gain with negative feedback is ,=")
Dn=10;//percentage distortion
format('v',6)
Dn1=(Dn/(1+A*Beta));//percentage Distortion with negative feedback... |
25389f49eb370afcfce0efc5f9c433e6b00b91ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH7/EX7.3/Ex7_3.sce | 466140c770e3d87a26f177e702c6970fb94c8ccd | [] | 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,341 | sce | Ex7_3.sce | clc
NE=5*10^17
disp("NE = "+string(NE)+" /cm^3") //initializiation of doping concentration in the emitter.
NB=10^16
disp("NB = "+string(NB)+" /cm^3") //initializiation of doping concentration in the base.
NC=10^15
disp("NC = "+string(NC)+" /cm^3") //initializiation of doping concentration in the collector.
WB... |
bdba0c4d27058e63dae7b50040c1113e8ab701cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH27/EX27.5/Ex27_5.sce | f1df1d157534ebfae264e9690380d1577135846a | [] | 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 | 710 | sce | Ex27_5.sce | //Calculations on unsupercharged SI engine
clc,clear
//Given:
Py=640 //Brake power at test in kW
py=98 //Test ambient pressure in kPa
Ty=303 //Test ambient temperature in K
phiy=0.8 //Relative humidity at test
//Solution:
//Refer table 27.1, 27.3
psy=4.2 //Saturation vapour pressure at test in kPa
psr=3.2 //Standard sa... |
78ef3cac44146fc0bc49b63da2d736aa807be302 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.4/Ex4_4.sce | 2af9a55941a530d6e9d5bd80b3b5ba7a5e24648c | [] | 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,369 | sce | Ex4_4.sce | clear;
clc;
disp('Example 4.4');
// aim : To determine
// the specific enthalpy of steam
// Given values
P = 2.5;// pressure, [MN/m^2]
t = 320; // temperature, [C]
// solution
// from steam table at given condition the saturation temperature of steam is 223.9 C, therefore steam is superheated
tf ... |
ed6c43bff19c318d1275d76adc956c276559c198 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH27/EX27.4/27_4.sce | 626a31480aa97b6e175f991ca74cf9188b0220b3 | [] | 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 | 27_4.sce | clc;
clear;
m1=40;//kg
m2=40;//kg
k=200;//N/m
sqw=poly(0,"s");
p=sqw^2-20*sqw+75;
r=roots(p);
f1=(r(1))^0.5;
f2=(r(2))^0.5;
Tp1=(2*%pi)/f1;
Tp2=(2*%pi)/f2;
//for first mode
disp("For first mode:")
disp(Tp1,"Period of oscillation:")
disp("A1=-A2")
disp("--------------------------------------------------"... |
587dfd02670554dc1088560b2e2a2b8b364226b1 | 1553f49678b55a6283e04ec177d0c4174457e834 | /códigos/lista2.sci | bc40c74ff2a8004d4143bb957e224c2576e9d4b2 | [
"MIT"
] | permissive | reneroliveira/Monitoria-ALN-2021 | c16a26c208610e7450def04c775e5550886e3ce8 | 7c746dfe07cdc08921678bf65505389f274416ce | refs/heads/main | 2023-05-13T13:01:35.401001 | 2021-06-09T17:20:06 | 2021-06-09T17:20:06 | 344,234,191 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,732 | sci | lista2.sci | disp("Exercício 1 - Item A")
A = [10 -1 0;-1 10 -2;0 -2 10]
b = [9;7;6]
x0 = [0;0;0]
L=tril(A,-1);D=diag(diag(A));U=triu(A,1);
invD = diag(1./diag(D))
MJ = -invD*(L+U)
cj = invD*b
disp("||MJ||_inf = ",norm(MJ,%inf))
x1 = MJ*x0+cj
x2 = MJ*x1+cj
disp("x2=",x2)
d... |
0dfcc8c1f458630b0a6142ec1f7cded24206ecda | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH3/EX3.15.3/ex_3_15_3.sce | ffed40b7feea3a263ce355e5dd4d1c606e86cb36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | ex_3_15_3.sce | //Example 3.15.3: shunt resistance
clc;
clear;
close;
//given data :
Im=1;// in mA
P=100;// in kilo-watt
I=100;// in mA
Rm=(P)/(Im)^2;
Rsh=((Im*10^-3*Rm*10^3)/((I-Im)*10^-3))*10^-3;
disp(Rsh,"shunt resistance,Rsh(kilo-ohm) = ")
|
d2c5dcecd9c0d5308a2db1b46d9050c9cfff8907 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkbpc2bpc/test_1.sce | 72df19b98fc5bb40710d2749f4099d69ccb8429b | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | test_1.sce | // Test # 1 : No Input Arguments
exec('./zpkbpc2bpc.sci',-1);
[z,p,k,n,d]=zpkbpc2bpc();
//!--error 10000
//Number of input arguments should be 5
//at line 37 of function zpkbpc2bpc called by :
//[z,p,k,n,d]=zpkbpc2bpc();
|
62a1b0f73d884463d73dd97a4a96b1b7084f449e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH6/EX6.5/Ex6_5.sce | d58c3db577e958b96815a100507e6992c3f0cab4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | Ex6_5.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear;
clc
//initialisation of variables
v=4//in
w=20//tonf
d=10//ft
m=13400//tonf/in^2
q=2//in
l=120//in
//CALCULATIONS
Fmax=q*(w)/(%pi/v*v^2)//tonf/in^2
M=Fmax*l/m//in
P=w*M//in tonf
//RESULTS
printf('The maximum instantneous stress=% f tonf/in^2',Fmax)
printf... |
7ce8ef9febee90c928b04077733f83f7c2727499 | 4a4cb8dfd5c59f97eb1767aaf152a57f07eadddf | /Science/D-1/funcs-2.sci | 2997b56dc29866a3e1958fa91d064518c56c65b1 | [] | no_license | iwabuchiken/WS_Research | 6ca90c56e498523d07c88c09f49b69d1f64c6d21 | d7b5669b27cb216bc550cecfc8f4b07b34e664d2 | refs/heads/master | 2021-01-22T10:13:59.448881 | 2017-01-11T05:23:29 | 2017-01-11T05:23:29 | 35,454,064 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13 | sci | funcs-2.sci | abc = 'abc'
|
2618bf084713d5aed9758f87c079c8baef7aa07e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH5/EX5.3/Example_5_3.sce | d1d63915878cfdeaf7c64ddd63ebd497d82e2588 | [] | 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 | 543 | sce | Example_5_3.sce | //Example 5.3
clear;
clc;
//Given
n=2;//number of electrons transferred
E=1.01463;//cell potential in V
F=96500;//Farady charge in C
T=298;//temperature in K
p=-5*(10^(-5));//p=(delE/delT)p in V K^-1
//To determine the free energy change delG
delG=-n*F*E;//the free energy change in J
mprintf('delG for We... |
f778bab54f09f82a1ac1d0053c90d19600f20936 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ell1mag.man.tst | e741c954187435e11cf0d8ea641879e8102d0af4 | [
"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 | 544 | tst | ell1mag.man.tst | clear;lines(0);
deff('[alpha,beta]=alpha_beta(n,m,m1)',...
'if 2*int(n/2)=n then, beta=K1; else, beta=0;end;...
alpha=%k(1-m1)/%k(1-m);')
epsilon=0.1;A=10; //ripple parameters
m1=(epsilon*epsilon)/(A*A-1);n=5;omegac=6;
m=find_freq(epsilon,A,n);omegar = omegac/sqrt(m)
%k(1-m1)*%k(m)/(%k(m1)*%k(1-m))-n //Check...
[alp... |
707688ff68307a4d27b5cbbd6a1685191db37225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH13/EX13.5/Exa13_5.sci | 51b03a4d72f75085a8e721b8f9bb466607c3ef5b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sci | Exa13_5.sci | //Determine mean path loss by two models
Lr = 31.7;
gamma1 = 5.22;
gamma2 = 3.27;
R = 30;
R0 = 1;
FAF = 24.4;
Ls1 = Lr + 10*gamma1*log10(R/R0) ;
Ls2 = Lr + 10*gamma1*log10(R/R0) + FAF ;
disp(Ls1, 'Mean path loss by 1st model (in dB)')
disp(Ls2, 'Mean path loss by 2nd model (in dB)') |
ebd96ebe99656a4c59fb96ebec24be004eecdc16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH7/EX7.5/exa7_5.sce | ab9e7a2e989abc8e6e87ddacc8cf7c7d38114bde | [] | 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 | 473 | sce | exa7_5.sce | clc;
//Example 7.5
//Page No 260
//Solution
df=75;
fm=15;
//(a)
disp("(a)The deviation ratio is found by substituting into equation 7-35(refer pgno), ");
DR=df/fm;
disp(DR,"DR = ");
disp("From Table 7.3");
B=2*(8*fm);
disp('kHz',B,"B = ");
//(b)
disp("(b)For an 37.5kHz frequency deviation and modulating ... |
b5d609266fc606d8ca6813b6315cf04f80bb74bc | 002b6230874dea6e4d76defafc1ae293b5744918 | /library/Demos/StdRegions/Tests/StdProject_Diff2D_Tri_Mod_P6_Q7.tst | 110edf42605a16a5145b55a96a90151001acb767 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | tst | StdProject_Diff2D_Tri_Mod_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject_Diff2D Triangle Modified basis P=6 Q=7</description>
<executable>StdProject_Diff2D</executable>
<parameters>3 4 5 6 6 7 7</parameters>
<metrics>
<metric type="L2" id="1">
<value tolerance="1e-12">2.0808e-13</value>... |
9bad3132c3ed55d22d696114ac7d7daaf2321fb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH4/EX4.5/Example4_5.sce | b8856e64d38cd1d2d4b7f9c87b4fddbf4e514fb1 | [] | 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 | 443 | sce | Example4_5.sce | //Caption: 2D DFT of 4x4 grayscale image
//Example4.5
//page 171
clc;
F = [16,0,0,0;0,0,0,0;0,0,0,0;0,0,0,0];
N =4; //4-point DFT
kernel = dft_mtx(N);
f = (kernel*(F*kernel'))/(N^2);
f = real(f);
disp(f,'Inverse 2D DFT of the transformed image f =')
//Result
//Inverse 2D DFT of the transformed image f =
... |
dc59db13c269a150d2580a65eb351153f3815878 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH10/EX10.2/Ex10_2.sce | 17b1fa97d6f1991a574877fd12537187ad556aef | [] | 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 | 308 | sce | Ex10_2.sce | // Example 10.2
clc;
clear;
close;
// Given data
format('v',6);
VR= 12;// in V
IL= 0.5;// in A
RL= 25;// in Ω
// Resistanc required,
R= VR/IL;// in Ω
VL= IL*RL;// in V
Vout= VR+VL;//output voltage in V
Vin= Vout+2;// input voltage in V
disp(Vin,"The input voltage in volts is : ")
|
2ce02f345fa88f5491de1867c54a984f424789b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH10/EX10.11/Example10_11.sce | 7fc2e2713b6782d6f22f7cbfff4c3c2cec6ff077 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | Example10_11.sce | //chapter10,Example10_11,pg 275
e=1.6*10^-19
v=5*10^5
B=0.3
N=6.025*10^26
M72=72/N
R72=(M72*v)/(B*e)
M74=74
R74=(R72/72)*M74
S=2*(R74-R72)//linear separation of two line
printf("linear separation of two line\n")
printf("S=%.2f m",S) |
7d483d7524d8231250c5d3e7aff3d4b599e5295c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.7/ex8_7.sce | fb776400967b3841197ee62e91fc2608218f0d7d | [] | 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 | 491 | sce | ex8_7.sce | // Exa 8.7
clc;
clear;
close;
// Given data
V1 = 745;// in µV
V1 = V1 * 10^-6;// in V
V2 = 740;// in µV
V2 = V2 * 10^-6;// in V
Av = 5*10^5;
CMRR = 80;// in dB
// Formula CMRR in dB= 20*log(Av/Ac)
Ac= Av/(10^(CMRR/20));
disp(Ac,"The common mode gain is");
V_o = Av*(V1-V2)+Ac*((V1+V2)/2);// in V
disp(V_o,... |
f79db22008585d6b18c1e7ffec2d09bb8e38a393 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH3/EX3.3/Example3_3.sce | 68ce3d3588fe2b4a8af2abc577942a4390dc8009 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Example3_3.sce | //clear//
//Example3.3:Continuous Time Fourier Series Coefficients of
//a periodic signal x(t) = sin(Wot)
clear;
close;
clc;
t = 0:0.01:1;
T = 1;
Wo = 2*%pi/T;
xt = sin(Wo*t);
for k =0:5
C(k+1,:) = exp(-sqrt(-1)*Wo*t.*k);
a(k+1) = xt*C(k+1,:)'/length(t);
if(abs(a(k+1))<=0.01)
a(k+1)=0;
end
... |
38d3274932f5c5de41f8bd0f2ebba052b2435d13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH13/EX13.7/Ex13_7.sce | a493cc1eafaa985f93460b1331538d29414b3c51 | [] | 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,117 | sce | Ex13_7.sce | // Initilization of variables
P=1000 // N // Force acting at the hinge of the 1st square
Q=1000 // N // Force acting at the hinge of the 2nd square
// Calculations
// Chosing the co-ordinate system with originat A, we can write,
theta=45 // degree
// Forces that do work are P,Q & X_B. Applying the principle of vi... |
f83db96fb22a30bce1355887335e3e592c700a1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH9/EX9.2.19/Ex9_2_19.sce | 1e47bccbf3a7016919f596ba6273bdc0b33db54b | [] | 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 | 919 | sce | Ex9_2_19.sce | // Scilab Code Ex9.2.19: Page-421(2008)
clc; clear;
d = 1; // For simplicity assume interplanar spacing to be unity, m
theta = 15; // Glancing angle for first order, degree
n = 1; // Order of reflection
// From Bragg's law, 2*d*sind(theta) = n*lambda, solving for lambda
lambda = 2*d*sind(theta)/n; // Wavele... |
20bea2b4a7e3e8385618ea3bd35b155643052588 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH4/EX4.6/exp_4_6.sce | 8b71ee1e79ac5047153279e8efae006b2facedaf | [] | 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 | 719 | sce | exp_4_6.sce | clear;
clc;
l=60;
v=66;
load1=25;
pf=.8;
r=.08;
l=1.25;
f=50;
Z=complex(.08,(2*%pi*f*1.25*(10^-3)))*60;
Vr=(v/sqrt(3));
I=((25*1000)/(sqrt(3)*66*0.8))*complex(.8,-.6);
A=1;
D=1;
C=0;
B=Z;
M=[A Z;C D]*[Vr*1000;I];
Vs=M(1,:)*(10^-3);
Vs1=Vs*sqrt(3);
mprintf("Vs=%f+j%f Kv\n",real(Vs1),imag(Vs1));
Is=M(... |
86d61b0e06757e5fd6c715e26a28280bafa48781 | 35071fb08cee13f4a9e79c396f7c8c028f69db0e | /Tests/Syntaxe/OK/BOOL_OK.tst | fa6baff6369dff2deb178606c7d46a14d8ad78ea | [] | no_license | V1nc3ntL/Compilation | 2cd9d4fa728055cebd44659cba517e49298142bc | e2008449ddb509021f6ddcfd0a92226807bec9ab | refs/heads/master | 2023-06-01T09:42:01.069684 | 2021-06-02T19:15:13 | 2021-06-02T19:15:13 | 357,205,127 | 0 | 0 | null | 2021-05-31T12:13:32 | 2021-04-12T13:30:46 | C | UTF-8 | Scilab | false | false | 57 | tst | BOOL_OK.tst | void main()
{
bool a = false, b = true, c = a;
c = d;
} |
ef34ad94e3296c5d93127c433c3919146fe8b9a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH9/EX9.5/9_5.sce | bf210e723d27af13e59ed20625c2019399ffd036 | [] | 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 | 805 | sce | 9_5.sce | clc
//Initialization of variables
P1=50 //psia
T1=540 //K
g=32.2
R=1715
k=1.4
P3=13.5 //psia
A2=0.0218 //ft^2
cp=6000
//calculations
Pc=0.528*P1
V32=R*T1/g *k/(k-1) *(1- (P3/P1)^((k-1)/k))
V3=sqrt(V32*2*g)
G3=g*A2*P1*144/sqrt(T1) *sqrt(k/R *(2/(k+1))^((k+1)/(k-1)))
T3= T1 - V3^2 /(2*cp)
gam3= g*P3*144/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.